svn commit: r406500 - head/devel/darts
Dmitry Marakasov
amdmi3 at FreeBSD.org
Sun Jan 17 14:04:03 UTC 2016
Author: amdmi3
Date: Sun Jan 17 14:04:02 2016
New Revision: 406500
URL: https://svnweb.freebsd.org/changeset/ports/406500
Log:
- Add LICENSE
- Switch to options helpers
Modified:
head/devel/darts/Makefile
head/devel/darts/pkg-plist
Modified: head/devel/darts/Makefile
==============================================================================
--- head/devel/darts/Makefile Sun Jan 17 14:03:56 2016 (r406499)
+++ head/devel/darts/Makefile Sun Jan 17 14:04:02 2016 (r406500)
@@ -9,19 +9,27 @@ MASTER_SITES= http://www.chasen.org/~tak
MAINTAINER= ports at 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
Modified: head/devel/darts/pkg-plist
==============================================================================
--- head/devel/darts/pkg-plist Sun Jan 17 14:03:56 2016 (r406499)
+++ head/devel/darts/pkg-plist Sun Jan 17 14:04:02 2016 (r406500)
@@ -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
More information about the svn-ports-all
mailing list