summaryrefslogtreecommitdiffstats
path: root/devel/gmake381
diff options
context:
space:
mode:
authormax <max@FreeBSD.org>1997-06-12 12:31:01 +0000
committermax <max@FreeBSD.org>1997-06-12 12:31:01 +0000
commit1241d5da15a7bfdb36acfcc4230487bc9943b3ea (patch)
tree75da29b426ed708be0f8cb200c8aee9bb7dccfe6 /devel/gmake381
parent965e68fb05e099d407eff5c5654efa4fdc1c5439 (diff)
downloadFreeBSD-ports-1241d5da15a7bfdb36acfcc4230487bc9943b3ea.zip
FreeBSD-ports-1241d5da15a7bfdb36acfcc4230487bc9943b3ea.tar.gz
Use info-install to add entry into info/dir.
Diffstat (limited to 'devel/gmake381')
-rw-r--r--devel/gmake381/Makefile6
-rw-r--r--devel/gmake381/pkg-plist11
2 files changed, 8 insertions, 9 deletions
diff --git a/devel/gmake381/Makefile b/devel/gmake381/Makefile
index 359017f..f7432f8 100644
--- a/devel/gmake381/Makefile
+++ b/devel/gmake381/Makefile
@@ -3,7 +3,7 @@
# Date created: 11 September 1994
# Whom: jkh
#
-# $Id: Makefile,v 1.13 1996/11/18 13:57:23 asami Exp $
+# $Id: Makefile,v 1.14 1997/01/09 09:19:17 asami Exp $
#
DISTNAME= make-3.75
@@ -18,5 +18,9 @@ MAN1= gmake.1
post-install:
/bin/chmod g-s ${PREFIX}/bin/gmake
/usr/bin/chgrp ${BINGRP} ${PREFIX}/bin/gmake
+ if [ ! -f ${PREFIX}/info/dir ]; then \
+ sed -ne '1,/Menu:/p' /usr/share/info/dir > ${PREFIX}/info/dir; \
+ fi
+ install-info ${PREFIX}/info/make.info ${PREFIX}/info/dir
.include <bsd.port.mk>
diff --git a/devel/gmake381/pkg-plist b/devel/gmake381/pkg-plist
index ae5acd4..b941b13 100644
--- a/devel/gmake381/pkg-plist
+++ b/devel/gmake381/pkg-plist
@@ -1,11 +1,6 @@
bin/gmake
man/man1/gmake.1.gz
+@unexec install-info --delete %D/info/make.info %D/info/dir
info/make.info
-info/make.info-1
-info/make.info-2
-info/make.info-3
-info/make.info-4
-info/make.info-5
-info/make.info-6
-info/make.info-7
-info/make.info-8
+@exec [ -f %D/info/dir ] || sed -ne '1,/Menu:/p' /usr/share/info/dir > %D/info/dir
+@exec install-info %D/info/make.info %D/info/dir
OpenPOWER on IntegriCloud