Date: Thu, 19 Nov 2015 20:49:28 +0000 (UTC) From: Dmitry Marakasov <amdmi3@FreeBSD.org> To: ports-committers@freebsd.org, svn-ports-all@freebsd.org, svn-ports-head@freebsd.org Subject: svn commit: r401969 - head/devel/flexjson Message-ID: <201511192049.tAJKnSur082441@repo.freebsd.org>
next in thread | raw e-mail | index | archive | help
Author: amdmi3 Date: Thu Nov 19 20:49:28 2015 New Revision: 401969 URL: https://svnweb.freebsd.org/changeset/ports/401969 Log: - Add LICENSE - Add NO_ARCH - Switch to NO_WRKDUBDIR - Simplify installation Modified: head/devel/flexjson/Makefile Modified: head/devel/flexjson/Makefile ============================================================================== --- head/devel/flexjson/Makefile Thu Nov 19 20:49:21 2015 (r401968) +++ head/devel/flexjson/Makefile Thu Nov 19 20:49:28 2015 (r401969) @@ -11,24 +11,28 @@ DISTNAME= ${PORTNAME} MAINTAINER= ports@FreeBSD.org COMMENT= Lightweight Java library to write JSON +LICENSE= APACHE20 +LICENSE_FILE= ${WRKSRC}/LICENSE-2.0.txt + USES= zip -OPTIONS_DEFINE= DOCS USE_JAVA= yes JAVA_VERSION= 1.6+ NO_BUILD= yes +NO_ARCH= yes +NO_WRKSUBDIR= yes PLIST_FILES= %%JAVAJARDIR%%/${PORTNAME}.jar -PORTDOCS= LICENSE-2.0.txt docs +PORTDOCS= * + +OPTIONS_DEFINE= DOCS do-install: - ${INSTALL_DATA} ${WRKDIR}/${PORTNAME}.jar \ + ${INSTALL_DATA} ${WRKSRC}/${PORTNAME}.jar \ ${STAGEDIR}${JAVAJARDIR}/${PORTNAME}.jar - @${MKDIR} ${STAGEDIR}${DOCSDIR}/docs/ - @cd ${WRKDIR}/docs \ - && ${INSTALL_DATA} example_object_model.jpg ${STAGEDIR}${DOCSDIR}/docs/. \ - && ${INSTALL_DATA} index.html ${STAGEDIR}${DOCSDIR}/docs/. - @${INSTALL_DATA} ${WRKDIR}/LICENSE-2.0.txt ${STAGEDIR}${DOCSDIR}/ +do-install-DOCS-on: + @${MKDIR} ${STAGEDIR}${DOCSDIR} + ${INSTALL_DATA} ${WRKSRC}/docs/* ${STAGEDIR}${DOCSDIR} .include <bsd.port.mk>
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?201511192049.tAJKnSur082441>