From fd24d407c03b219d74088e0720e9c97fc344e6d8 Mon Sep 17 00:00:00 2001 From: agc Date: Mon, 6 Oct 1997 14:30:49 +0000 Subject: Add NetBSD RCS Ids. Use uname -s to work out the Operating System. FreeBSD has install-info and /usr/share/info/dir by default. NetBSD doesn't, so, for now, don't try to do this on NetBSD. --- devel/automake/Makefile | 9 ++++++++- 1 file changed, 8 insertions(+), 1 deletion(-) (limited to 'devel/automake') diff --git a/devel/automake/Makefile b/devel/automake/Makefile index bf2123907b8..f6bbcf6bb34 100644 --- a/devel/automake/Makefile +++ b/devel/automake/Makefile @@ -1,3 +1,4 @@ +# $NetBSD: Makefile,v 1.2 1997/10/06 14:30:54 agc Exp $ # New ports collection makefile for: automake # Version required: 1.2 # Date created: 15 March 1997 @@ -13,11 +14,17 @@ MASTER_SITES= ${MASTER_SITE_GNU} MAINTAINER= fujimoto@oscar.elec.waseda.ac.jp GNU_CONFIGURE= yes -CONFIGURE_ENV= PERL=/usr/bin/perl +CONFIGURE_ENV= PERL=${PREFIX}/bin/perl STRIP= # none + +OPSYS!= uname -s + +.if (${OPSYS} != "NetBSD") +# agc - this assumes /usr/share/info/dir and install-info pre-install: @if [ ! -f ${PREFIX}/info/dir ]; then \ ${SED} -ne '1,/Menu:/p' /usr/share/info/dir > ${PREFIX}/info/dir; \ fi +.endif .include -- cgit v1.2.3