svn commit: r332807 - head/net-mgmt/arpwatch

Thomas Abthorpe tabthorpe at FreeBSD.org
Tue Nov 5 04:28:03 UTC 2013


Author: tabthorpe
Date: Tue Nov  5 04:28:02 2013
New Revision: 332807
URL: http://svnweb.freebsd.org/changeset/ports/332807

Log:
  - Add stage support
  - Reassign to the heap

Modified:
  head/net-mgmt/arpwatch/Makefile

Modified: head/net-mgmt/arpwatch/Makefile
==============================================================================
--- head/net-mgmt/arpwatch/Makefile	Tue Nov  5 04:26:15 2013	(r332806)
+++ head/net-mgmt/arpwatch/Makefile	Tue Nov  5 04:28:02 2013	(r332807)
@@ -10,7 +10,7 @@ MASTER_SITES=	ftp://ftp.ee.lbl.gov/ \
 MASTER_SITE_SUBDIR=	distfiles
 DISTNAME=	${PORTNAME}-${PORTVERSION:C/\.([^\.]*)$/\1/}
 
-MAINTAINER=	tabthorpe at FreeBSD.org
+MAINTAINER=	ports at 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}
 


More information about the svn-ports-head mailing list