diff options
author | max <max@FreeBSD.org> | 1997-06-13 14:49:49 +0800 |
---|---|---|
committer | max <max@FreeBSD.org> | 1997-06-13 14:49:49 +0800 |
commit | 5a7f08d1110bbc2c421b71836680dcccf0bef6e5 (patch) | |
tree | 0da51b6b75f2eeb5a178e9028ba1cdd38e37e020 /devel/automake | |
parent | cd49f3be946a99e6387967b600d343f775c3b1b4 (diff) | |
download | freebsd-ports-gnome-5a7f08d1110bbc2c421b71836680dcccf0bef6e5.tar.gz freebsd-ports-gnome-5a7f08d1110bbc2c421b71836680dcccf0bef6e5.tar.zst freebsd-ports-gnome-5a7f08d1110bbc2c421b71836680dcccf0bef6e5.zip |
Use install-info to add the entry for automake.info to the dir file.
Diffstat (limited to 'devel/automake')
-rw-r--r-- | devel/automake/Makefile | 8 | ||||
-rw-r--r-- | devel/automake/pkg-plist | 3 |
2 files changed, 10 insertions, 1 deletions
diff --git a/devel/automake/Makefile b/devel/automake/Makefile index 73207715d15e..dde155d6866f 100644 --- a/devel/automake/Makefile +++ b/devel/automake/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/automake/pkg-plist b/devel/automake/pkg-plist index e02c4076cf83..789ab5307560 100644 --- a/devel/automake/pkg-plist +++ b/devel/automake/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 |