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/automake19 | |
parent | Patch up Makefile.in so that automake.info gets regenerated appropriately. (diff) |
Use install-info to add the entry for automake.info to the dir file.
Diffstat (limited to 'devel/automake19')
-rw-r--r-- | devel/automake19/Makefile | 8 | ||||
-rw-r--r-- | devel/automake19/pkg-plist | 3 |
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 |