aboutsummaryrefslogtreecommitdiff
path: root/net
diff options
context:
space:
mode:
authorPawel Pekala <pawel@FreeBSD.org>2014-06-27 13:05:35 +0000
committerPawel Pekala <pawel@FreeBSD.org>2014-06-27 13:05:35 +0000
commite0d1b4d38bee2a482199620a378c118aae0cf212 (patch)
tree31e1e642c894391d021919201e7da8d7e6efc612 /net
parenta6b895df13cb4cdadcefeed71bc037ab7b75ec2b (diff)
downloadports-e0d1b4d38bee2a482199620a378c118aae0cf212.tar.gz
ports-e0d1b4d38bee2a482199620a378c118aae0cf212.zip
Notes
Diffstat (limited to 'net')
-rw-r--r--net/rtptools/Makefile14
1 files changed, 5 insertions, 9 deletions
diff --git a/net/rtptools/Makefile b/net/rtptools/Makefile
index a53f93f6c350..88e4b360058a 100644
--- a/net/rtptools/Makefile
+++ b/net/rtptools/Makefile
@@ -12,16 +12,12 @@ COMMENT= Set of tools to record, playback, and monitor RTPv2 data streams
GNU_CONFIGURE= yes
PLIST_FILES= bin/rtpdump bin/rtpplay bin/rtpsend bin/rtptrans
-DOCFILES= README ChangeLog.html rtptools.html
-PORTDOCS= ${DOCSFILES}
+PORTDOCS= README ChangeLog.html rtptools.html
+
+OPTIONS_DEFINE= DOCS
-NO_STAGE= yes
post-install:
-.if !defined(NOPORTDOCS)
- ${MKDIR} ${DOCSDIR}
-.for i in ${DOCFILES}
- ${INSTALL_DATA} ${WRKSRC}/${i} ${DOCSDIR}/
-.endfor
-.endif
+ @${MKDIR} ${STAGEDIR}${DOCSDIR}
+ ${INSTALL_DATA} ${PORTDOCS:S|^|${WRKSRC}/|} ${STAGEDIR}${DOCSDIR}
.include <bsd.port.mk>