diff options
author | Dmitry Marakasov <amdmi3@FreeBSD.org> | 2016-01-17 14:04:02 +0000 |
---|---|---|
committer | Dmitry Marakasov <amdmi3@FreeBSD.org> | 2016-01-17 14:04:02 +0000 |
commit | 3eafcdb465059f599cd955e1e0f4477dba00b0ad (patch) | |
tree | bc518712b1d6516641d87093984c190b57c7b8d7 /devel/darts | |
parent | b9623f8ecd9f728a53a44ad1fd7f48201c88ebef (diff) |
Notes
Diffstat (limited to 'devel/darts')
-rw-r--r-- | devel/darts/Makefile | 22 | ||||
-rw-r--r-- | devel/darts/pkg-plist | 7 |
2 files changed, 15 insertions, 14 deletions
diff --git a/devel/darts/Makefile b/devel/darts/Makefile index c63309d5fbd1..f9fe3b0c6d64 100644 --- a/devel/darts/Makefile +++ b/devel/darts/Makefile @@ -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 diff --git a/devel/darts/pkg-plist b/devel/darts/pkg-plist index f1ef67ab007c..647deee612bb 100644 --- a/devel/darts/pkg-plist +++ b/devel/darts/pkg-plist @@ -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 |