From 0e6037197af7605ca201b7c2bcadb66b1c0cc46a Mon Sep 17 00:00:00 2001 From: max Date: Fri, 13 Jun 1997 07:33:36 +0000 Subject: Use install-info to add info dir entry. --- devel/autoconf/Makefile | 9 ++++++++- devel/autoconf/pkg-plist | 5 +++++ 2 files changed, 13 insertions(+), 1 deletion(-) (limited to 'devel/autoconf') diff --git a/devel/autoconf/Makefile b/devel/autoconf/Makefile index b1bee508ccb7..93f44407c203 100644 --- a/devel/autoconf/Makefile +++ b/devel/autoconf/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 diff --git a/devel/autoconf/pkg-plist b/devel/autoconf/pkg-plist index f35b76459561..6a45eab16772 100644 --- a/devel/autoconf/pkg-plist +++ b/devel/autoconf/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 -- cgit