From 9536ad1edf25d6b7951e405ad28100b23d0d8592 Mon Sep 17 00:00:00 2001 From: agc Date: Thu, 9 Oct 1997 09:25:19 +0000 Subject: Add a (build) dependency on gtexinfo for NetBSD. Remove previous OS-dependent hack whereby we had no info files on NetBSD. Install the info files by default. --- devel/m4/Makefile | 9 +++++---- 1 file changed, 5 insertions(+), 4 deletions(-) (limited to 'devel/m4') diff --git a/devel/m4/Makefile b/devel/m4/Makefile index 4e1580f8f4f..fc157ce45a3 100644 --- a/devel/m4/Makefile +++ b/devel/m4/Makefile @@ -1,4 +1,4 @@ -# $NetBSD: Makefile,v 1.2 1997/10/06 14:31:03 agc Exp $ +# $NetBSD: Makefile,v 1.3 1997/10/09 09:25:19 agc Exp $ # New ports collection makefile for: m4 # Version required: 1.4 # Date created: 25 October 1994 @@ -16,15 +16,16 @@ CONFIGURE_ARGS= --program-prefix=g OPSYS!= uname -s +.if (${OPSYS} == "NetBSD") +BUILD_DEPENDS= install-info:${PORTSDIR}/devel/gtexinfo +.endif + post-install: @${MKDIR} ${PREFIX}/share/examples/gm4 ${INSTALL_DATA} ${WRKSRC}/examples/*.m4 ${PREFIX}/share/examples/gm4 -.if (${OPSYS} != "NetBSD") -# agc - this assumes /usr/share/info/dir and install-info @if [ ! -f ${PREFIX}/info/dir ]; then \ ${SED} -ne '1,/Menu:/p' /usr/share/info/dir > ${PREFIX}/info/dir; \ fi @install-info ${PREFIX}/info/m4.info ${PREFIX}/info/dir -.endif .include -- cgit v1.2.3