From 8d3a8b73f6d1d3264f67ac32bf9853cf82876b93 Mon Sep 17 00:00:00 2001 From: hubertf Date: Sat, 24 Jan 1998 20:52:00 +0000 Subject: portlint: fix RCS ID, strip extra spaces at EOL, use command macros, fix CFLAGS parsing --- sysutils/amanda/Makefile | 16 ++++++++-------- 1 file changed, 8 insertions(+), 8 deletions(-) (limited to 'sysutils/amanda') diff --git a/sysutils/amanda/Makefile b/sysutils/amanda/Makefile index 2d26fbc871d..933b3fa6b7a 100644 --- a/sysutils/amanda/Makefile +++ b/sysutils/amanda/Makefile @@ -1,9 +1,9 @@ -# $NetBSD: Makefile,v 1.4 1997/10/15 16:54:39 agc Exp $ # New ports collection makefile for: amanda # Version required: 2.3.0 # Date created: 28th Feb 1995 # Whom: gpalmer # +# $NetBSD: Makefile,v 1.5 1998/01/24 20:52:00 hubertf Exp $ # FreeBSD Id: Makefile,v 1.9 1997/03/08 05:00:11 gpalmer Exp # @@ -13,20 +13,20 @@ MASTER_SITES= ftp://ftp.cs.umd.edu/pub/amanda/ MAINTAINER= gpalmer@FreeBSD.ORG -PATCH_STRIP= +PATCH_STRIP= +SCRIPTS_ENV+= CFLAGS="${CFLAGS}" MAN8= amanda.8 amadmin.8 amcheck.8 amcleanup.8 amdump.8 \ amflush.8 amlabel.8 amrestore.8 amtape.8 pre-configure: - echo "${CFLAGS}" > /tmp/build-ports-misc-amanda-cflags - find ${WRKDIR} -type f -print|xargs grep -l '/usr/local' > ${WRKDIR}/prefix-list + find ${WRKDIR} -type f -print|xargs ${GREP} -l '/usr/local' > ${WRKDIR}/prefix-list for f in `cat ${WRKDIR}/prefix-list`; do \ - ${SED} -e 's:/usr/local:'${PREFIX}':g' < $$f > $$f.pdone && mv $$f.pdone $$f; \ + ${SED} -e 's:/usr/local:'${PREFIX}':g' < $$f > $$f.pdone && ${MV} $$f.pdone $$f; \ done - rm ${WRKDIR}/prefix-list + ${RM} ${WRKDIR}/prefix-list post-install: - mkdir -p ${PREFIX}/share/examples/amanda - cp -R ${WRKSRC}/example/* ${PREFIX}/share/examples/amanda + ${MKDIR} ${PREFIX}/share/examples/amanda + ${CP} -R ${WRKSRC}/example/* ${PREFIX}/share/examples/amanda .include -- cgit v1.2.3