diff options
author | max <max@FreeBSD.org> | 1997-06-13 07:33:36 +0000 |
---|---|---|
committer | max <max@FreeBSD.org> | 1997-06-13 07:33:36 +0000 |
commit | 0e6037197af7605ca201b7c2bcadb66b1c0cc46a (patch) | |
tree | caf1143b66ad62a0645113b390c347057c8e06da /devel/autoconf254 | |
parent | e0782f986ef54361b43279eba4469c6c16e85811 (diff) | |
download | FreeBSD-ports-0e6037197af7605ca201b7c2bcadb66b1c0cc46a.zip FreeBSD-ports-0e6037197af7605ca201b7c2bcadb66b1c0cc46a.tar.gz |
Use install-info to add info dir entry.
Diffstat (limited to 'devel/autoconf254')
-rw-r--r-- | devel/autoconf254/Makefile | 9 | ||||
-rw-r--r-- | devel/autoconf254/pkg-plist | 5 |
2 files changed, 13 insertions, 1 deletions
diff --git a/devel/autoconf254/Makefile b/devel/autoconf254/Makefile index b1bee50..93f4440 100644 --- a/devel/autoconf254/Makefile +++ b/devel/autoconf254/Makefile @@ -3,7 +3,7 @@ # Date created: 7 October 1995 # Whom: torstenb@FreeBSD.ORG # -# $Id: Makefile,v 1.9 1996/11/18 10:22:14 asami Exp $ +# $Id: Makefile,v 1.10 1997/01/16 10:11:37 torstenb Exp $ # DISTNAME= autoconf-2.12 @@ -17,4 +17,11 @@ MAINTAINER= torstenb@FreeBSD.ORG GNU_CONFIGURE= yes CONFIGURE_ENV= M4=${PREFIX}/bin/gm4 +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/autoconf.info ${PREFIX}/info/dir + install-info ${PREFIX}/info/standards.info ${PREFIX}/info/dir + .include <bsd.port.mk> diff --git a/devel/autoconf254/pkg-plist b/devel/autoconf254/pkg-plist index f35b764..6a45eab 100644 --- a/devel/autoconf254/pkg-plist +++ b/devel/autoconf254/pkg-plist @@ -4,8 +4,13 @@ bin/autoreconf bin/autoscan bin/autoupdate bin/ifnames +@unexec install-info --delete %D/info/autoconf.info %D/info/dir +@unexec install-info --delete %D/info/standards.info %D/info/dir info/autoconf.info info/standards.info +@exec [ -f %D/info/dir ] || sed -ne '1,/Menu:/p' /usr/share/info/dir > %D/info/dir +@exec install-info %D/info/autoconf.info %D/info/dir +@exec install-info %D/info/standards.info %D/info/dir share/autoconf/acconfig.h share/autoconf/acfunctions share/autoconf/acgeneral.m4 |