summaryrefslogtreecommitdiff
path: root/misc
diff options
context:
space:
mode:
authorhubertf <hubertf@pkgsrc.org>1998-01-24 20:52:00 +0000
committerhubertf <hubertf@pkgsrc.org>1998-01-24 20:52:00 +0000
commit8d3a8b73f6d1d3264f67ac32bf9853cf82876b93 (patch)
tree5853287d11db7f0ea7763afa96f5fe14ef120cca /misc
parentdbca390b19d4090187815432ad1657294ca518dd (diff)
downloadpkgsrc-8d3a8b73f6d1d3264f67ac32bf9853cf82876b93.tar.gz
portlint: fix RCS ID, strip extra spaces at EOL, use command macros, fix CFLAGS parsing
Diffstat (limited to 'misc')
-rw-r--r--misc/amanda/Makefile16
1 files changed, 8 insertions, 8 deletions
diff --git a/misc/amanda/Makefile b/misc/amanda/Makefile
index 2d26fbc871d..933b3fa6b7a 100644
--- a/misc/amanda/Makefile
+++ b/misc/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 <bsd.port.mk>