- Stage support
This commit is contained in:
parent
4f0535a646
commit
9267d76a38
Notes:
svn2git
2021-03-31 03:12:20 +00:00
svn path=/head/; revision=345459
1 changed files with 9 additions and 12 deletions
|
@ -11,21 +11,18 @@ MAINTAINER= ports@FreeBSD.org
|
|||
COMMENT= Looks at the icmp messages received by the host
|
||||
|
||||
ALL_TARGET=
|
||||
MAN1= icmpinfo.1
|
||||
PLIST_FILES= bin/icmpinfo
|
||||
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>
|
||||
|
|
Loading…
Reference in a new issue