diff options
author | Masafumi Max NAKANE <max@FreeBSD.org> | 1997-06-13 06:49:49 +0000 |
---|---|---|
committer | Masafumi Max NAKANE <max@FreeBSD.org> | 1997-06-13 06:49:49 +0000 |
commit | 60f3c41d2feecd1aa4db814dc24f677d74824696 (patch) | |
tree | d88a063c9dfab2ae5475b50fcd970997c577bdf6 /devel/automake110 | |
parent | 9ec2121eed1ac189f2266b9f27a81d2672f0a0aa (diff) | |
download | ports-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/automake110')
-rw-r--r-- | devel/automake110/Makefile | 8 | ||||
-rw-r--r-- | devel/automake110/pkg-plist | 3 |
2 files changed, 10 insertions, 1 deletions
diff --git a/devel/automake110/Makefile b/devel/automake110/Makefile index 73207715d15e..dde155d6866f 100644 --- a/devel/automake110/Makefile +++ b/devel/automake110/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/automake110/pkg-plist b/devel/automake110/pkg-plist index e02c4076cf83..789ab5307560 100644 --- a/devel/automake110/pkg-plist +++ b/devel/automake110/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 |