diff options
author | Greg Lewis <glewis@FreeBSD.org> | 2005-04-04 19:54:23 +0000 |
---|---|---|
committer | Greg Lewis <glewis@FreeBSD.org> | 2005-04-04 19:54:23 +0000 |
commit | 004a0209bf1785226ad4d8591cade150d3aa9cab (patch) | |
tree | 8b6a7628c9a5cba45e619dc5429ddc4e9e3e5c8c /java/jcalendar | |
parent | 3dfac249e4cfabcc27d0660d4bfc8a5360716658 (diff) |
. Build from source.
. Ensure the documentation is installed with the correct permissions.
Notes
Notes:
svn path=/head/; revision=132496
Diffstat (limited to 'java/jcalendar')
-rw-r--r-- | java/jcalendar/Makefile | 17 |
1 files changed, 11 insertions, 6 deletions
diff --git a/java/jcalendar/Makefile b/java/jcalendar/Makefile index c21d65e41e7c..16f53ef8554e 100644 --- a/java/jcalendar/Makefile +++ b/java/jcalendar/Makefile @@ -18,8 +18,8 @@ COMMENT= Java Date Chooser USE_ZIP= yes USE_JAVA= yes JAVA_VERSION= 1.4+ -NO_BUILD= yes -NO_WRKSUBDIR= yes +USE_ANT= yes +WRKSRC= ${WRKDIR}/src PLIST_FILES= %%JAVAJARDIR%%/${PORTNAME}.jar \ %%JAVAJARDIR%%/looks-${PORTVERSION}.jar @@ -27,13 +27,18 @@ PLIST_FILES= %%JAVAJARDIR%%/${PORTNAME}.jar \ PORTDOCS= * .endif +post-build: + cd ${WRKDIR}/build && \ + ${JAR} cmf ${WRKSRC}/${PORTNAME}.manifest \ + ${WRKDIR}/build/${PORTNAME}.jar * + do-install: -.for file in jcalendar.jar looks-${PORTVERSION}.jar - ${INSTALL_DATA} ${WRKSRC}/lib/${file} ${JAVAJARDIR} -.endfor + ${INSTALL_DATA} ${WRKDIR}/build/${PORTNAME}.jar ${JAVAJARDIR} + ${INSTALL_DATA} ${WRKDIR}/lib/looks-${PORTVERSION}.jar ${JAVAJARDIR} .if !defined(NOPORTDOCS) @${MKDIR} ${DOCSDIR} - ${CP} -R ${WRKSRC}/doc/ ${DOCSDIR} + cd ${WRKDIR}/doc && ${FIND} . \ + | ${CPIO} -pdmu -R ${SHAREOWN}:${SHAREGRP} ${DOCSDIR} .endif .include <bsd.port.mk> |