diff options
author | Achim Gottinger <achim@gentoo.org> | 2001-06-09 00:48:46 +0000 |
---|---|---|
committer | Achim Gottinger <achim@gentoo.org> | 2001-06-09 00:48:46 +0000 |
commit | bfad77754658bbbb366b10a782df84cb98692d74 (patch) | |
tree | 2b2aa7d891b49e4e568cd7ed6f33cc668dcc7553 /app-misc/twin | |
parent | *** empty log message *** (diff) | |
download | historical-bfad77754658bbbb366b10a782df84cb98692d74.tar.gz historical-bfad77754658bbbb366b10a782df84cb98692d74.tar.bz2 historical-bfad77754658bbbb366b10a782df84cb98692d74.zip |
Some cleanup
Diffstat (limited to 'app-misc/twin')
-rw-r--r-- | app-misc/twin/files/digest-twin-0.3.8 | 1 | ||||
-rw-r--r-- | app-misc/twin/files/twin-0.3.8-gentoo.diff | 29 | ||||
-rw-r--r-- | app-misc/twin/twin-0.3.8.ebuild | 67 |
3 files changed, 0 insertions, 97 deletions
diff --git a/app-misc/twin/files/digest-twin-0.3.8 b/app-misc/twin/files/digest-twin-0.3.8 deleted file mode 100644 index bebf9d3eddd0..000000000000 --- a/app-misc/twin/files/digest-twin-0.3.8 +++ /dev/null @@ -1 +0,0 @@ -MD5 e1fd3579eb8647fce80fc80a44210526 twin-0.3.8.tar.gz diff --git a/app-misc/twin/files/twin-0.3.8-gentoo.diff b/app-misc/twin/files/twin-0.3.8-gentoo.diff deleted file mode 100644 index eeb978e1f4a5..000000000000 --- a/app-misc/twin/files/twin-0.3.8-gentoo.diff +++ /dev/null @@ -1,29 +0,0 @@ -diff -Naur twin-0.3.8/MakePaths twin-0.3.8-new/MakePaths ---- twin-0.3.8/MakePaths Mon Feb 26 04:40:45 2001 -+++ twin-0.3.8-new/MakePaths Tue Apr 24 23:03:24 2001 -@@ -2,10 +2,11 @@ - # set installation directories - - sysconfdir = /etc --prefix = /usr/local -+prefix = /usr - bindir = $(prefix)/bin - libdir = $(prefix)/lib - datadir = $(prefix)/share -+docdir = $(datadir)/doc - mandir = $(datadir)/man - includedir = $(prefix)/include - -diff -Naur twin-0.3.8/docs/Makefile twin-0.3.8-new/docs/Makefile ---- twin-0.3.8/docs/Makefile Fri Feb 23 04:32:14 2001 -+++ twin-0.3.8-new/docs/Makefile Tue Apr 24 23:04:21 2001 -@@ -42,6 +42,6 @@ - install: - $(INSTALL) -d $(DESTDIR)$(mandir)/man1 - $(INSTALL) twin.1 $(DESTDIR)$(mandir)/man1 -- $(INSTALL) -d $(DESTDIR)$(datadir)/twin/docs -- $(INSTALL) $(DOCS) $(DESTDIR)$(datadir)/twin/docs -- cd $(TOPDIR) && $(INSTALL) $(TOPDOCS) $(DESTDIR)$(datadir)/twin -+ $(INSTALL) -d $(DESTDIR)$(docdir)/twin-0.3.8/docs -+ $(INSTALL) $(DOCS) $(DESTDIR)$(docdir)/twin-0.3.8/docs -+ cd $(TOPDIR) && $(INSTALL) $(TOPDOCS) $(DESTDIR)$(docdir)/twin-0.3.8 diff --git a/app-misc/twin/twin-0.3.8.ebuild b/app-misc/twin/twin-0.3.8.ebuild deleted file mode 100644 index aa7574759ecd..000000000000 --- a/app-misc/twin/twin-0.3.8.ebuild +++ /dev/null @@ -1,67 +0,0 @@ -# Copyright 1999-2000 Gentoo Technologies, Inc. -# Distributed under the terms of the GNU General Public License, v2 or later -# Author AJ Lewis <aj@gentoo.org> - -A=${P}.tar.gz -S=${WORKDIR}/${P} -DESCRIPTION="A text-mode window environment" -SRC_URI="http://ftp1.sourceforge.net/twin/${A} - http://linuz.sns.it/~max/twin/${A}" -HOMEPAGE="http://linuz.sns.it/~max/twin/" -DEPEND="virtual/glibc - X? ( virtual/x11 ) - >=sys-libs/ncurses-5.2" - -src_unpack() { - unpack ${A} - cd ${S} - try patch -p1 < ${FILESDIR}/${PF}-gentoo.diff -} - -src_compile() { - local conf - conf="\n\n\n\n\n""\n\n\n\n\n""\n\ny\n\n\n""\n\n\n\n" - if [ "`use X`" ] - then - conf=${conf}"y\n" - else - conf=${conf}"n\n" - fi - conf=${conf}"\n\n\n\n\n""\n\n\n\nn\n" - echo -e "${conf}" > test - try cat test | make config - rm test - try make clean - try make -} - -src_install() { - - dodir /usr/lib /usr/bin /usr/lib/ /usr/include /usr/include/Tw \ - /usr/lib/twin/modules /usr/X11R6/lib/X11/fonts/misc - - DESTDIR=${D} make install - - if [ "`use X`" ] - then - insinto /usr/X11R6/lib/X11/fonts/misc - doins fonts/vga.pcf.gz - fi - -} - -pkg_postinst() { - if [ "`use X`" ] - then - /usr/X11R6/bin/mkfontdir /usr/X11R6/lib/X11/fonts/misc - /usr/X11R6/bin/xset fp rehash - fi -} - -pkg_postrm() { - if [ "`use X`" ] - then - /usr/X11R6/bin/mkfontdir /usr/X11R6/lib/X11/fonts/misc - /usr/X11R6/bin/xset fp rehash - fi -} |