- Stage support

This commit is contained in:
Martin Wilke 2014-02-21 14:02:09 +00:00
parent 4f0535a646
commit 9267d76a38
Notes: svn2git 2021-03-31 03:12:20 +00:00
svn path=/head/; revision=345459

View file

@ -10,22 +10,19 @@ MASTER_SITE_SUBDIR= system/network/admin
MAINTAINER= ports@FreeBSD.org MAINTAINER= ports@FreeBSD.org
COMMENT= Looks at the icmp messages received by the host COMMENT= Looks at the icmp messages received by the host
ALL_TARGET= ALL_TARGET=
MAN1= icmpinfo.1 PLIST_FILES= bin/icmpinfo \
PLIST_FILES= bin/icmpinfo man/man1/icmpinfo.man.gz
PORTDOCS= README PORTDOCS= README
NO_STAGE= yes
do-install: do-install:
${INSTALL_PROGRAM} ${WRKSRC}/icmpinfo ${PREFIX}/bin ${INSTALL_PROGRAM} ${WRKSRC}/icmpinfo ${STAGEDIR}${PREFIX}/bin
${CHOWN} root ${PREFIX}/bin/icmpinfo ${CHOWN} root ${STAGEDIR}${PREFIX}/bin/icmpinfo
${CHMOD} 4555 ${PREFIX}/bin/icmpinfo ${CHMOD} 4555 ${STAGEDIR}${PREFIX}/bin/icmpinfo
${INSTALL_MAN} ${WRKSRC}/icmpinfo.man ${PREFIX}/man/man1/${MAN1} ${INSTALL_MAN} ${WRKSRC}/icmpinfo.man ${STAGEDIR}${PREFIX}/man/man1/${MAN1}
post-install: post-install:
.if !defined(NOPORTDOCS) @${MKDIR} ${STAGEDIR}${DOCSDIR}
@${MKDIR} ${DOCSDIR} ${INSTALL_DATA} ${WRKSRC}/README ${STAGEDIR}${DOCSDIR}
${INSTALL_DATA} ${WRKSRC}/README ${DOCSDIR}
.endif
.include <bsd.port.mk> .include <bsd.port.mk>