aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authortabthorpe <tabthorpe@FreeBSD.org>2013-11-05 12:28:02 +0800
committertabthorpe <tabthorpe@FreeBSD.org>2013-11-05 12:28:02 +0800
commit20041ae531919ff6be9486e7d4e9553847ce5daa (patch)
treebba27fac312427ef5a7c0cdf8c3d079345db9ef9
parentb48bc44ea6b76184d448a2229865104165c3494a (diff)
downloadfreebsd-ports-gnome-20041ae531919ff6be9486e7d4e9553847ce5daa.tar.gz
freebsd-ports-gnome-20041ae531919ff6be9486e7d4e9553847ce5daa.tar.zst
freebsd-ports-gnome-20041ae531919ff6be9486e7d4e9553847ce5daa.zip
- Add stage support
- Reassign to the heap
-rw-r--r--net-mgmt/arpwatch/Makefile21
1 files changed, 10 insertions, 11 deletions
diff --git a/net-mgmt/arpwatch/Makefile b/net-mgmt/arpwatch/Makefile
index ee1ab8ca6378..f6f626044172 100644
--- a/net-mgmt/arpwatch/Makefile
+++ b/net-mgmt/arpwatch/Makefile
@@ -10,7 +10,7 @@ MASTER_SITES= ftp://ftp.ee.lbl.gov/ \
MASTER_SITE_SUBDIR= distfiles
DISTNAME= ${PORTNAME}-${PORTVERSION:C/\.([^\.]*)$/\1/}
-MAINTAINER= tabthorpe@FreeBSD.org
+MAINTAINER= ports@FreeBSD.org
COMMENT= Monitor arp & rarp requests
@@ -27,20 +27,19 @@ USE_RC_SUBR= arpwatch
MAKE_ARGS= ARPDIR=${ARPDIR}
.endif
-NO_STAGE= yes
post-install:
- if [ ! -d ${PREFIX}/arpwatch ]; then \
- ${MKDIR} ${PREFIX}/arpwatch; \
- ${CHMOD} 755 ${PREFIX}/arpwatch; \
- ${CHOWN} root:operator ${PREFIX}/arpwatch; \
+ if [ ! -d ${STAGEDIR}${PREFIX}/arpwatch ]; then \
+ ${MKDIR} ${STAGEDIR}${PREFIX}/arpwatch; \
+ ${CHMOD} 755 ${STAGEDIR}${PREFIX}/arpwatch; \
+ ${CHOWN} root:operator ${STAGEDIR}${PREFIX}/arpwatch; \
fi
- ${TOUCH} ${PREFIX}/arpwatch/arp.dat
- ${CHMOD} 644 ${PREFIX}/arpwatch/arp.dat
+ ${TOUCH} ${STAGEDIR}${PREFIX}/arpwatch/arp.dat
+ ${CHMOD} 644 ${STAGEDIR}${PREFIX}/arpwatch/arp.dat
for files in ethercodes.dat d.awk duplicates.awk euppertolower.awk e.awk p.awk; do \
- ${INSTALL_DATA} ${WRKSRC}/$$files ${PREFIX}/arpwatch; \
+ ${INSTALL_DATA} ${WRKSRC}/$$files ${STAGEDIR}${PREFIX}/arpwatch; \
done
- ${INSTALL_SCRIPT} ${WRKSRC}/arp2ethers ${PREFIX}/arpwatch
- ${INSTALL_SCRIPT} ${WRKSRC}/massagevendor ${PREFIX}/arpwatch
+ ${INSTALL_SCRIPT} ${WRKSRC}/arp2ethers ${STAGEDIR}${PREFIX}/arpwatch
+ ${INSTALL_SCRIPT} ${WRKSRC}/massagevendor ${STAGEDIR}${PREFIX}/arpwatch
@${CAT} ${PKGMESSAGE}