diff options
author | Masafumi Max NAKANE <max@FreeBSD.org> | 1997-06-16 06:39:51 +0000 |
---|---|---|
committer | Masafumi Max NAKANE <max@FreeBSD.org> | 1997-06-16 06:39:51 +0000 |
commit | 68f4a46e040f0f2ae4ddcb16e0905dcaaf9dc57b (patch) | |
tree | e66592895a0a2177ff2ed36ea1d999d17c1b5279 /sysutils/screen | |
parent | Patch up screen.texinfo and added @direntry. (diff) |
Properly edit ${PREFIX}/info/dir.
Notes
Notes:
svn path=/head/; revision=6954
Diffstat (limited to 'sysutils/screen')
-rw-r--r-- | sysutils/screen/Makefile | 8 | ||||
-rw-r--r-- | sysutils/screen/pkg-plist | 7 |
2 files changed, 10 insertions, 5 deletions
diff --git a/sysutils/screen/Makefile b/sysutils/screen/Makefile index 2416da75536a..d7fb160a1ea1 100644 --- a/sysutils/screen/Makefile +++ b/sysutils/screen/Makefile @@ -3,7 +3,7 @@ # Date created: 25 Nov 1994 # Whom: ache # -# $Id: Makefile,v 1.15 1996/12/08 16:19:38 ache Exp $ +# $Id: Makefile,v 1.16 1996/12/26 10:01:04 max Exp $ # DISTNAME= screen-3.7.2 @@ -16,4 +16,10 @@ MAINTAINER= ache@FreeBSD.ORG 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/sysutils/screen/pkg-plist b/sysutils/screen/pkg-plist index 3249df1198b5..0cfa8d018924 100644 --- a/sysutils/screen/pkg-plist +++ b/sysutils/screen/pkg-plist @@ -1,8 +1,7 @@ bin/screen bin/screen-3.7.2 man/man1/screen.1.gz +@unexec install-info --delete %D/info/screen.info %D/info/dir info/screen.info -info/screen.info-1 -info/screen.info-2 -info/screen.info-3 -info/screen.info-4 +@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 |