diff options
author | hubertf <hubertf@pkgsrc.org> | 1997-10-11 22:14:42 +0000 |
---|---|---|
committer | hubertf <hubertf@pkgsrc.org> | 1997-10-11 22:14:42 +0000 |
commit | 697607f6e91dc172d87e5d0cd037756e2a8cab59 (patch) | |
tree | 5d105838320c3bb9b8ab65556e99be3ff48c4045 /misc | |
parent | cff4a849f47e46b14f0bb5c3bfe3f863311fd350 (diff) | |
download | pkgsrc-697607f6e91dc172d87e5d0cd037756e2a8cab59.tar.gz |
- require gtexinfo for info-pages, thus don't try to create info/dir
- rm screen.old if presend (on pkg_delete)
Diffstat (limited to 'misc')
-rw-r--r-- | misc/screen/Makefile | 10 | ||||
-rw-r--r-- | misc/screen/pkg/PLIST | 2 |
2 files changed, 6 insertions, 6 deletions
diff --git a/misc/screen/Makefile b/misc/screen/Makefile index 038a1bbe361..fb087385d33 100644 --- a/misc/screen/Makefile +++ b/misc/screen/Makefile @@ -3,7 +3,8 @@ # Date created: 25 Nov 1994 # Whom: ache # -# $Id: Makefile,v 1.1.1.1 1997/10/11 21:47:45 hubertf Exp $ +# $NetBSD: Makefile,v 1.2 1997/10/11 22:14:42 hubertf Exp $ +# FreeBSD Id: Makefile,v 1.17 1997/06/16 06:39:51 max Exp # DISTNAME= screen-3.7.2 @@ -11,15 +12,14 @@ CATEGORIES= misc MASTER_SITES= ftp://ftp.uni-erlangen.de/pub/utilities/screen/ \ ${MASTER_SITE_GNU} -MAINTAINER= ache@FreeBSD.ORG +MAINTAINER= hubertf@netbsd.org +BUILD_DEPENDS= ${PREFIX}/bin/install-info:${PORTSDIR}/devel/gtexinfo +RUN_DEPENDS= ${PREFIX}/bin/install-info:${PORTSDIR}/devel/gtexinfo GNU_CONFIGURE= yes MAN1= screen.1 post-install: - @if [ ! -f ${PREFIX}/info/dir ]; then \ - ${SED} -ne '1,/Menu:/p' /usr/share/info/dir > ${PREFIX}/info/dir; \ - fi @install-info ${PREFIX}/info/screen.info ${PREFIX}/info/dir .include <bsd.port.mk> diff --git a/misc/screen/pkg/PLIST b/misc/screen/pkg/PLIST index 0cfa8d01892..5084419fbd1 100644 --- a/misc/screen/pkg/PLIST +++ b/misc/screen/pkg/PLIST @@ -3,5 +3,5 @@ bin/screen-3.7.2 man/man1/screen.1.gz @unexec install-info --delete %D/info/screen.info %D/info/dir info/screen.info -@exec [ -f %D/info/dir ] || sed -ne '1,/Menu:/p' /usr/share/info/dir > %D/info/dir @exec install-info %D/info/screen.info %D/info/dir +@unexec if [ -f %D/bin/screen.old ]; then rm -f %D/bin/screen.old ; fi |