mirror of
https://git.FreeBSD.org/ports.git
synced 2024-12-17 03:25:46 +00:00
- Clarify LICENSE
- Switch to options helpers
This commit is contained in:
parent
991cca9602
commit
fb68f4454f
Notes:
svn2git
2021-03-31 03:12:20 +00:00
svn path=/head/; revision=405553
@ -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
|
||||
WRKSRC= ${WRKDIR}/${PORTNAME}
|
||||
|
||||
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>
|
||||
|
@ -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
|
||||
|
Loading…
Reference in New Issue
Block a user