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