aboutsummaryrefslogtreecommitdiffstats
path: root/net-mgmt
diff options
context:
space:
mode:
authorehaupt <ehaupt@FreeBSD.org>2014-02-24 20:43:24 +0800
committerehaupt <ehaupt@FreeBSD.org>2014-02-24 20:43:24 +0800
commit9ff38c8c326b5bbea3ed4726e76bbb892212dd3b (patch)
tree4d433483ab5c175b7951c9a448558e626ae3870b /net-mgmt
parentd77a51aad1489c2553b0596f0fd4d39f3beb61ba (diff)
downloadfreebsd-ports-gnome-9ff38c8c326b5bbea3ed4726e76bbb892212dd3b.tar.gz
freebsd-ports-gnome-9ff38c8c326b5bbea3ed4726e76bbb892212dd3b.tar.zst
freebsd-ports-gnome-9ff38c8c326b5bbea3ed4726e76bbb892212dd3b.zip
Support staging
Diffstat (limited to 'net-mgmt')
-rw-r--r--net-mgmt/portmon/Makefile25
1 files changed, 8 insertions, 17 deletions
diff --git a/net-mgmt/portmon/Makefile b/net-mgmt/portmon/Makefile
index 8fb44e079ce8..7ee0293c14b1 100644
--- a/net-mgmt/portmon/Makefile
+++ b/net-mgmt/portmon/Makefile
@@ -13,34 +13,25 @@ COMMENT= Daemon that monitor network services
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>