aboutsummaryrefslogtreecommitdiff
path: root/devel/automake19
diff options
context:
space:
mode:
authorMasafumi Max NAKANE <max@FreeBSD.org>1997-06-13 06:49:49 +0000
committerMasafumi Max NAKANE <max@FreeBSD.org>1997-06-13 06:49:49 +0000
commit60f3c41d2feecd1aa4db814dc24f677d74824696 (patch)
treed88a063c9dfab2ae5475b50fcd970997c577bdf6 /devel/automake19
parent9ec2121eed1ac189f2266b9f27a81d2672f0a0aa (diff)
downloadports-60f3c41d2feecd1aa4db814dc24f677d74824696.tar.gz
ports-60f3c41d2feecd1aa4db814dc24f677d74824696.zip
Use install-info to add the entry for automake.info to the dir file.
Notes
Notes: svn path=/head/; revision=6902
Diffstat (limited to 'devel/automake19')
-rw-r--r--devel/automake19/Makefile8
-rw-r--r--devel/automake19/pkg-plist3
2 files changed, 10 insertions, 1 deletions
diff --git a/devel/automake19/Makefile b/devel/automake19/Makefile
index 73207715d15e..dde155d6866f 100644
--- a/devel/automake19/Makefile
+++ b/devel/automake19/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/automake19/pkg-plist b/devel/automake19/pkg-plist
index e02c4076cf83..789ab5307560 100644
--- a/devel/automake19/pkg-plist
+++ b/devel/automake19/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