diff options
author | pawel <pawel@FreeBSD.org> | 2014-06-27 13:05:35 +0000 |
---|---|---|
committer | pawel <pawel@FreeBSD.org> | 2014-06-27 13:05:35 +0000 |
commit | d4b4d2cb814ca95f1b031be07c27968649361302 (patch) | |
tree | 31e1e642c894391d021919201e7da8d7e6efc612 | |
parent | fecee1cb75d99bbb220d649e5a1537174e7fe5a3 (diff) | |
download | FreeBSD-ports-d4b4d2cb814ca95f1b031be07c27968649361302.zip FreeBSD-ports-d4b4d2cb814ca95f1b031be07c27968649361302.tar.gz |
- Add staging support
- Convert to new options framework
-rw-r--r-- | net/rtptools/Makefile | 14 |
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> |