aboutsummaryrefslogtreecommitdiffstats
path: root/net/icmpinfo
diff options
context:
space:
mode:
authormiwi <miwi@FreeBSD.org>2014-02-21 22:02:09 +0800
committermiwi <miwi@FreeBSD.org>2014-02-21 22:02:09 +0800
commitff876f6525e9b4a39e0bc8f108c5baede324375f (patch)
tree320171621433e460f3ee6b0e7e8958481a2837d3 /net/icmpinfo
parent3f8dddc52ae1c18018675c9764bae250b295e239 (diff)
downloadfreebsd-ports-gnome-ff876f6525e9b4a39e0bc8f108c5baede324375f.tar.gz
freebsd-ports-gnome-ff876f6525e9b4a39e0bc8f108c5baede324375f.tar.zst
freebsd-ports-gnome-ff876f6525e9b4a39e0bc8f108c5baede324375f.zip
- Stage support
Diffstat (limited to 'net/icmpinfo')
-rw-r--r--net/icmpinfo/Makefile21
1 files changed, 9 insertions, 12 deletions
diff --git a/net/icmpinfo/Makefile b/net/icmpinfo/Makefile
index 73ffa8a4049b..7e2eab9ace72 100644
--- a/net/icmpinfo/Makefile
+++ b/net/icmpinfo/Makefile
@@ -10,22 +10,19 @@ MASTER_SITE_SUBDIR= system/network/admin
MAINTAINER= ports@FreeBSD.org
COMMENT= Looks at the icmp messages received by the host
-ALL_TARGET=
-MAN1= icmpinfo.1
-PLIST_FILES= bin/icmpinfo
+ALL_TARGET=
+PLIST_FILES= bin/icmpinfo \
+ man/man1/icmpinfo.man.gz
PORTDOCS= README
-NO_STAGE= yes
do-install:
- ${INSTALL_PROGRAM} ${WRKSRC}/icmpinfo ${PREFIX}/bin
- ${CHOWN} root ${PREFIX}/bin/icmpinfo
- ${CHMOD} 4555 ${PREFIX}/bin/icmpinfo
- ${INSTALL_MAN} ${WRKSRC}/icmpinfo.man ${PREFIX}/man/man1/${MAN1}
+ ${INSTALL_PROGRAM} ${WRKSRC}/icmpinfo ${STAGEDIR}${PREFIX}/bin
+ ${CHOWN} root ${STAGEDIR}${PREFIX}/bin/icmpinfo
+ ${CHMOD} 4555 ${STAGEDIR}${PREFIX}/bin/icmpinfo
+ ${INSTALL_MAN} ${WRKSRC}/icmpinfo.man ${STAGEDIR}${PREFIX}/man/man1/${MAN1}
post-install:
-.if !defined(NOPORTDOCS)
- @${MKDIR} ${DOCSDIR}
- ${INSTALL_DATA} ${WRKSRC}/README ${DOCSDIR}
-.endif
+ @${MKDIR} ${STAGEDIR}${DOCSDIR}
+ ${INSTALL_DATA} ${WRKSRC}/README ${STAGEDIR}${DOCSDIR}
.include <bsd.port.mk>