1
0
mirror of https://git.FreeBSD.org/ports.git synced 2024-12-23 04:23:08 +00:00

- Respect NOPORTDOCS

PR:		127249
Submitted by:	Esa Karkkainen <ejk@iki.fi>
Reported by:	ionbot
Approved by:	portmgr (pav)
This commit is contained in:
Martin Wilke 2008-09-11 15:54:28 +00:00
parent 1819b79ae2
commit 453b818ea3
Notes: svn2git 2021-03-31 03:12:20 +00:00
svn path=/head/; revision=220344

View File

@ -17,17 +17,19 @@ COMMENT= Looks at the icmp messages received by the host
ALL_TARGET=
MAN1= icmpinfo.1
PLIST_FILES= bin/icmpinfo share/doc/icmpinfo/README
PLIST_DIRS= share/doc/icmpinfo
PLIST_FILES= bin/icmpinfo
PORTDOCS= README
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}
post-install:
.if !defined(NOPORTDOCS)
@${MKDIR} ${PREFIX}/share/doc/icmpinfo
${INSTALL_DATA} ${WRKSRC}/README ${PREFIX}/share/doc/icmpinfo
@${MKDIR} ${DOCSDIR}
${INSTALL_DATA} ${WRKSRC}/README ${DOCSDIR}
.endif
.include <bsd.port.mk>