aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authormiwi <miwi@FreeBSD.org>2008-09-11 23:54:28 +0800
committermiwi <miwi@FreeBSD.org>2008-09-11 23:54:28 +0800
commit014309a9995c59ddffc00bdf603f036be4c9ee77 (patch)
tree77a8173f3c746cab47c67cd8e1f981222d255040
parent756ed8f6b5d9284a9c8af858de9f3cbe62e8b00f (diff)
downloadfreebsd-ports-gnome-014309a9995c59ddffc00bdf603f036be4c9ee77.tar.gz
freebsd-ports-gnome-014309a9995c59ddffc00bdf603f036be4c9ee77.tar.zst
freebsd-ports-gnome-014309a9995c59ddffc00bdf603f036be4c9ee77.zip
- Respect NOPORTDOCS
PR: 127249 Submitted by: Esa Karkkainen <ejk@iki.fi> Reported by: ionbot Approved by: portmgr (pav)
-rw-r--r--net/icmpinfo/Makefile10
1 files changed, 6 insertions, 4 deletions
diff --git a/net/icmpinfo/Makefile b/net/icmpinfo/Makefile
index b9d52522d332..0b19ff6888f1 100644
--- a/net/icmpinfo/Makefile
+++ b/net/icmpinfo/Makefile
@@ -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>