summaryrefslogtreecommitdiff
path: root/devel/gmake381
diff options
context:
space:
mode:
authorMasafumi Max NAKANE <max@FreeBSD.org>1997-06-12 12:31:01 +0000
committerMasafumi Max NAKANE <max@FreeBSD.org>1997-06-12 12:31:01 +0000
commitce9bab7bc4fc89fd72b776bed873ffed1b065dee (patch)
treef559e219843f689abda252c0f6c3fc9dd52e347c /devel/gmake381
parentComment out all commands related to info-install in Makefile.in. (diff)
Use info-install to add entry into info/dir.
Notes
Notes: svn path=/head/; revision=6886
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 359017f60ffc..f7432f875825 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 ae5acd455ca6..b941b1337ee3 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