summaryrefslogtreecommitdiffstats
path: root/devel/automake18
diff options
context:
space:
mode:
authormax <max@FreeBSD.org>1997-06-13 06:49:49 +0000
committermax <max@FreeBSD.org>1997-06-13 06:49:49 +0000
commit5a7f08d1110bbc2c421b71836680dcccf0bef6e5 (patch)
tree0da51b6b75f2eeb5a178e9028ba1cdd38e37e020 /devel/automake18
parentcd49f3be946a99e6387967b600d343f775c3b1b4 (diff)
downloadFreeBSD-ports-5a7f08d1110bbc2c421b71836680dcccf0bef6e5.zip
FreeBSD-ports-5a7f08d1110bbc2c421b71836680dcccf0bef6e5.tar.gz
Use install-info to add the entry for automake.info to the dir file.
Diffstat (limited to 'devel/automake18')
-rw-r--r--devel/automake18/Makefile8
-rw-r--r--devel/automake18/pkg-plist3
2 files changed, 10 insertions, 1 deletions
diff --git a/devel/automake18/Makefile b/devel/automake18/Makefile
index 7320771..dde155d 100644
--- a/devel/automake18/Makefile
+++ b/devel/automake18/Makefile
@@ -3,7 +3,7 @@
# Date created: 15 March 1997
# Whom: FUJIMOTO Kensaku <fujimoto@oscar.elec.waseda.ac.jp>
#
-# $Id$
+# $Id: Makefile,v 1.1.1.1 1997/05/27 16:40:49 max Exp $
#
DISTNAME= automake-1.0
@@ -15,4 +15,10 @@ MAINTAINER= fujimoto@oscar.elec.waseda.ac.jp
GNU_CONFIGURE= yes
CONFIGURE_ENV= PERL=/usr/bin/perl
+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/automake.info ${PREFIX}/info/dir
+
.include <bsd.port.mk>
diff --git a/devel/automake18/pkg-plist b/devel/automake18/pkg-plist
index e02c407..789ab53 100644
--- a/devel/automake18/pkg-plist
+++ b/devel/automake18/pkg-plist
@@ -1,5 +1,8 @@
bin/automake
+@unexec install-info --delete %D/info/automake.info %D/info/dir
info/automake.info
+@exec [ -f %D/info/dir ] || sed -ne '1,/Menu:/p' /usr/share/info/dir > %D/info/dir
+@exec install-info %D/info/automake.info %D/info/dir
share/automake/config.guess
share/automake/config.sub
share/automake/install-sh
OpenPOWER on IntegriCloud