diff options
author | amdmi3 <amdmi3@FreeBSD.org> | 2016-09-30 17:01:46 +0800 |
---|---|---|
committer | amdmi3 <amdmi3@FreeBSD.org> | 2016-09-30 17:01:46 +0800 |
commit | 8631e1c5d468d7784876a8121f8a86d8956d4c87 (patch) | |
tree | ecf0d87562ed486a65604b487efe244853661c61 /java/jcckit | |
parent | d77731f08044cc395b57219057607f521e3f3878 (diff) | |
download | freebsd-ports-gnome-8631e1c5d468d7784876a8121f8a86d8956d4c87.tar.gz freebsd-ports-gnome-8631e1c5d468d7784876a8121f8a86d8956d4c87.tar.zst freebsd-ports-gnome-8631e1c5d468d7784876a8121f8a86d8956d4c87.zip |
- Add LICENSE
- Add NO_ARCH
- Switch to options helpers
Diffstat (limited to 'java/jcckit')
-rw-r--r-- | java/jcckit/Makefile | 11 |
1 files changed, 7 insertions, 4 deletions
diff --git a/java/jcckit/Makefile b/java/jcckit/Makefile index a60372c29a12..7df10839d13e 100644 --- a/java/jcckit/Makefile +++ b/java/jcckit/Makefile @@ -11,10 +11,14 @@ DISTNAME= ${PORTNAME} MAINTAINER= ports@FreeBSD.org COMMENT= Java Chart Construction Kit +LICENSE= LGPL21+ +LICENSE_FILE= ${WRKSRC}/LICENSE.txt + USES= zip USE_JAVA= yes WRKSRC= ${WRKDIR}/JCCKit NO_BUILD= yes +NO_ARCH= yes PLIST_FILES= %%JAVAJARDIR%%/${PORTNAME}.jar PORTDOCS= * @@ -23,9 +27,8 @@ OPTIONS_DEFINE= DOCS do-install: ${INSTALL_DATA} ${WRKSRC}/${PORTNAME}.jar ${STAGEDIR}${JAVAJARDIR} - @${MKDIR} ${STAGEDIR}${DOCSDIR} -.for file in LICENSE.txt README.html docs - ${CP} -R ${WRKSRC}/${file} ${STAGEDIR}${DOCSDIR} -.endfor + +do-install-DOCS-on: + @cd ${WRKSRC} && ${COPYTREE_SHARE} "README.html docs" ${STAGEDIR}${DOCSDIR} .include <bsd.port.mk> |