diff options
author | amdmi3 <amdmi3@FreeBSD.org> | 2016-01-08 22:19:24 +0800 |
---|---|---|
committer | amdmi3 <amdmi3@FreeBSD.org> | 2016-01-08 22:19:24 +0800 |
commit | fda04679d9c5f5e0d0f670327012b28467a2dfca (patch) | |
tree | 4918077b841a3c6983cab46ef5d69e3267b00efc /net/rude | |
parent | b5e4e6964f510deb21046823caa36d6d0ff378c6 (diff) | |
download | freebsd-ports-gnome-fda04679d9c5f5e0d0f670327012b28467a2dfca.tar.gz freebsd-ports-gnome-fda04679d9c5f5e0d0f670327012b28467a2dfca.tar.zst freebsd-ports-gnome-fda04679d9c5f5e0d0f670327012b28467a2dfca.zip |
- Clarify LICENSE
- Switch to options helpers
Diffstat (limited to 'net/rude')
-rw-r--r-- | net/rude/Makefile | 23 | ||||
-rw-r--r-- | net/rude/pkg-plist | 8 |
2 files changed, 15 insertions, 16 deletions
diff --git a/net/rude/Makefile b/net/rude/Makefile index ec2f940a3ee8..7d4f7e226e0e 100644 --- a/net/rude/Makefile +++ b/net/rude/Makefile @@ -10,7 +10,7 @@ MASTER_SITES= SF/${PORTNAME}/${PORTNAME}/${PORTNAME}-${PORTVERSION} MAINTAINER= ports@FreeBSD.org COMMENT= Rude is a Real-time UDP Data Emitter and Collector (crude) -LICENSE= GPLv2 +LICENSE= GPLv2 # or later LICENSE_FILE= ${WRKSRC}/DOC/COPYING RUN_DEPENDS= p5-Tk>=0:${PORTSDIR}/x11-toolkits/p5-Tk @@ -19,20 +19,27 @@ HAS_CONFIGURE= yes CONFIGURE_ENV= --with-debug-lvl=3 USES= perl5 shebangfix SHEBANG_FILES= grude/grude + WRKSRC= ${WRKDIR}/${PORTNAME} -OPTIONS_DEFINE= DOCS -DOC_FILES= README README.rude README.crude TODO example.cfg -EXAMPLE_FILES= crude_jitter.pl crude_parse.pl dump2trace.pl +PORTDOCS= README README.rude README.crude TODO example.cfg +PORTEXAMPLES= crude_jitter.pl crude_parse.pl dump2trace.pl + +OPTIONS_DEFINE= DOCS EXAMPLES post-install: ${INSTALL_SCRIPT} ${WRKSRC}/grude/grude ${STAGEDIR}${PREFIX}/bin + +do-install-DOCS-on: @${MKDIR} ${STAGEDIR}${DOCSDIR} -.for FILE in ${DOC_FILES} - @${INSTALL_DATA} ${WRKSRC}/DOC/${FILE} ${STAGEDIR}${DOCSDIR} +.for FILE in ${PORTDOCS} + ${INSTALL_DATA} ${WRKSRC}/DOC/${FILE} ${STAGEDIR}${DOCSDIR} .endfor -.for FILE in ${EXAMPLE_FILES} - @${INSTALL_DATA} ${WRKSRC}/scripts/${FILE} ${STAGEDIR}${DOCSDIR} + +do-install-EXAMPLES-on: + @${MKDIR} ${STAGEDIR}${EXAMPLESDIR} +.for FILE in ${PORTEXAMPLES} + ${INSTALL_DATA} ${WRKSRC}/scripts/${FILE} ${STAGEDIR}${EXAMPLESDIR} .endfor .include <bsd.port.mk> diff --git a/net/rude/pkg-plist b/net/rude/pkg-plist index 09e26128b38b..cc44f40c84f5 100644 --- a/net/rude/pkg-plist +++ b/net/rude/pkg-plist @@ -3,11 +3,3 @@ bin/grude bin/rude man/man8/crude.8.gz man/man8/rude.8.gz -%%PORTDOCS%%%%DOCSDIR%%/README -%%PORTDOCS%%%%DOCSDIR%%/README.crude -%%PORTDOCS%%%%DOCSDIR%%/README.rude -%%PORTDOCS%%%%DOCSDIR%%/TODO -%%PORTDOCS%%%%DOCSDIR%%/example.cfg -%%PORTDOCS%%%%DOCSDIR%%/crude_jitter.pl -%%PORTDOCS%%%%DOCSDIR%%/crude_parse.pl -%%PORTDOCS%%%%DOCSDIR%%/dump2trace.pl |