diff options
author | max <max@FreeBSD.org> | 1997-06-13 15:33:36 +0800 |
---|---|---|
committer | max <max@FreeBSD.org> | 1997-06-13 15:33:36 +0800 |
commit | 0e6037197af7605ca201b7c2bcadb66b1c0cc46a (patch) | |
tree | caf1143b66ad62a0645113b390c347057c8e06da /devel/autoconf261 | |
parent | e0782f986ef54361b43279eba4469c6c16e85811 (diff) | |
download | freebsd-ports-gnome-0e6037197af7605ca201b7c2bcadb66b1c0cc46a.tar.gz freebsd-ports-gnome-0e6037197af7605ca201b7c2bcadb66b1c0cc46a.tar.zst freebsd-ports-gnome-0e6037197af7605ca201b7c2bcadb66b1c0cc46a.zip |
Use install-info to add info dir entry.
Diffstat (limited to 'devel/autoconf261')
-rw-r--r-- | devel/autoconf261/Makefile | 9 | ||||
-rw-r--r-- | devel/autoconf261/pkg-plist | 5 |
2 files changed, 13 insertions, 1 deletions
diff --git a/devel/autoconf261/Makefile b/devel/autoconf261/Makefile index b1bee508ccb7..93f44407c203 100644 --- a/devel/autoconf261/Makefile +++ b/devel/autoconf261/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/autoconf261/pkg-plist b/devel/autoconf261/pkg-plist index f35b76459561..6a45eab16772 100644 --- a/devel/autoconf261/pkg-plist +++ b/devel/autoconf261/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 |