diff options
author | agc <agc@pkgsrc.org> | 1997-10-09 09:25:19 +0000 |
---|---|---|
committer | agc <agc@pkgsrc.org> | 1997-10-09 09:25:19 +0000 |
commit | 9536ad1edf25d6b7951e405ad28100b23d0d8592 (patch) | |
tree | 478e876b0e3e897f747b7603a0bf74c5611af317 | |
parent | e2dbbda69eb4d8835994d6553e6c0f1c13a9c8e0 (diff) | |
download | pkgsrc-9536ad1edf25d6b7951e405ad28100b23d0d8592.tar.gz |
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.
-rw-r--r-- | devel/m4/Makefile | 9 |
1 files changed, 5 insertions, 4 deletions
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 <bsd.port.mk> |