svn commit: r345823 - head/net-mgmt/portmon
Emanuel Haupt
ehaupt at FreeBSD.org
Mon Feb 24 12:43:24 UTC 2014
Author: ehaupt
Date: Mon Feb 24 12:43:24 2014
New Revision: 345823
URL: http://svnweb.freebsd.org/changeset/ports/345823
QAT: https://qat.redports.org/buildarchive/r345823/
Log:
Support staging
Modified:
head/net-mgmt/portmon/Makefile
Modified: head/net-mgmt/portmon/Makefile
==============================================================================
--- head/net-mgmt/portmon/Makefile Mon Feb 24 12:41:07 2014 (r345822)
+++ head/net-mgmt/portmon/Makefile Mon Feb 24 12:43:24 2014 (r345823)
@@ -13,34 +13,25 @@ COMMENT= Daemon that monitor network ser
GNU_CONFIGURE= yes
-MAN8= portmon.8
-
PORTDOCS= README
-PLIST_FILES= bin/portmon etc/portmon.hosts.sample
+PLIST_FILES= bin/portmon etc/portmon.hosts.sample man/man8/portmon.8.gz
+
+OPTIONS_DEFINE= DOCS
-NO_STAGE= yes
post-patch:
@${REINPLACE_CMD} -e 's|/etc|${PREFIX}/etc|g' \
${WRKSRC}/extras/${PORTNAME}.8
do-install:
${INSTALL_PROGRAM} ${WRKSRC}/src/${PORTNAME} \
- ${PREFIX}/bin
+ ${STAGEDIR}${PREFIX}/bin
${INSTALL_MAN} ${WRKSRC}/extras/portmon.8 \
- ${PREFIX}/man/man8
+ ${STAGEDIR}${PREFIX}/man/man8
${INSTALL_DATA} ${WRKSRC}/extras/portmon.hosts.sample \
- ${PREFIX}/etc
- @${ECHO} "------------------------------------------------------------"
- @${ECHO} "Sample of configuration file placed at"
- @${ECHO} "${PREFIX}/etc/portmon.hosts.sample"
- @${ECHO} "------------------------------------------------------------"
-
-post-install:
-.if !defined(NOPORTDOCS)
- ${MKDIR} ${DOCSDIR}
+ ${STAGEDIR}${PREFIX}/etc
+ ${MKDIR} ${STAGEDIR}${DOCSDIR}
.for i in README
- ${INSTALL_DATA} ${WRKSRC}/${i} ${DOCSDIR}
+ ${INSTALL_DATA} ${WRKSRC}/${i} ${STAGEDIR}${DOCSDIR}
.endfor
-.endif
.include <bsd.port.mk>
More information about the svn-ports-all
mailing list