summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorpawel <pawel@FreeBSD.org>2014-06-27 13:05:35 +0000
committerpawel <pawel@FreeBSD.org>2014-06-27 13:05:35 +0000
commitd4b4d2cb814ca95f1b031be07c27968649361302 (patch)
tree31e1e642c894391d021919201e7da8d7e6efc612
parentfecee1cb75d99bbb220d649e5a1537174e7fe5a3 (diff)
downloadFreeBSD-ports-d4b4d2cb814ca95f1b031be07c27968649361302.zip
FreeBSD-ports-d4b4d2cb814ca95f1b031be07c27968649361302.tar.gz
- Add staging support
- Convert to new options framework
-rw-r--r--net/rtptools/Makefile14
1 files changed, 5 insertions, 9 deletions
diff --git a/net/rtptools/Makefile b/net/rtptools/Makefile
index a53f93f..88e4b36 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>
OpenPOWER on IntegriCloud