From 9267d76a38acbbf93af33e67f3420d9ab4b66818 Mon Sep 17 00:00:00 2001 From: Martin Wilke Date: Fri, 21 Feb 2014 14:02:09 +0000 Subject: [PATCH] - Stage support --- net/icmpinfo/Makefile | 21 +++++++++------------ 1 file 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