1
0
mirror of https://git.FreeBSD.org/ports.git synced 2025-01-24 09:25:01 +00:00

- Add LICENSE

- Switch to options helpers
This commit is contained in:
Dmitry Marakasov 2016-01-17 14:04:02 +00:00
parent b9623f8ecd
commit 3eafcdb465
Notes: svn2git 2021-03-31 03:12:20 +00:00
svn path=/head/; revision=406500
2 changed files with 15 additions and 14 deletions

View File

@ -9,19 +9,27 @@ MASTER_SITES= http://www.chasen.org/~taku/software/darts/src/
MAINTAINER= ports@FreeBSD.org
COMMENT= C++ template library that implements Double-Array
LICENSE= BSD3CLAUSE LGPL21+
LICENSE_COMB= dual
LICENSE_FILE_BSD3CLAUSE=${WRKSRC}/BSD
LICENSE_FILE_LGPL21+ = ${WRKSRC}/LGPL
GNU_CONFIGURE= yes
OPTIONS_DEFINE= DOCS EXAMPLES
EXAMPLES= darts.cpp mkdarts.cpp
DOCS= AUTHORS ChangeLog README doc
post-install:
${MKDIR} ${STAGEDIR}${DOCSDIR}
.for f in ${DOCS}
PORTEXAMPLES= darts.cpp mkdarts.cpp
PORTDOCS= AUTHORS ChangeLog README doc
post-install-DOCS-on:
@${MKDIR} ${STAGEDIR}${DOCSDIR}
.for f in ${PORTDOCS}
${CP} -R ${WRKSRC}/${f} ${STAGEDIR}${DOCSDIR}/
.endfor
${MKDIR} ${STAGEDIR}${EXAMPLESDIR}
.for f in ${EXAMPLES}
post-install-EXAMPLES-on:
@${MKDIR} ${STAGEDIR}${EXAMPLESDIR}
.for f in ${PORTEXAMPLES}
${CP} -R ${WRKSRC}/${f} ${STAGEDIR}${EXAMPLESDIR}/
.endfor

View File

@ -1,10 +1,3 @@
include/darts.h
libexec/darts/darts
libexec/darts/mkdarts
%%PORTEXAMPLES%%%%EXAMPLESDIR%%/darts.cpp
%%PORTEXAMPLES%%%%EXAMPLESDIR%%/mkdarts.cpp
%%PORTDOCS%%%%DOCSDIR%%/AUTHORS
%%PORTDOCS%%%%DOCSDIR%%/ChangeLog
%%PORTDOCS%%%%DOCSDIR%%/README
%%PORTDOCS%%%%DOCSDIR%%/doc/darts.css
%%PORTDOCS%%%%DOCSDIR%%/doc/index.html