diff options
author | glewis <glewis@FreeBSD.org> | 2005-04-05 03:54:23 +0800 |
---|---|---|
committer | glewis <glewis@FreeBSD.org> | 2005-04-05 03:54:23 +0800 |
commit | 5a2a458ae8387e57393e2dda46d01b1b0071ab15 (patch) | |
tree | 503981a490f0e5df10cadbec8a42a407c4c27f59 /java | |
parent | 624db0d80e2fb2de287146f55e383b3907d55a9b (diff) | |
download | freebsd-ports-gnome-5a2a458ae8387e57393e2dda46d01b1b0071ab15.tar.gz freebsd-ports-gnome-5a2a458ae8387e57393e2dda46d01b1b0071ab15.tar.zst freebsd-ports-gnome-5a2a458ae8387e57393e2dda46d01b1b0071ab15.zip |
. Build from source.
. Ensure the documentation is installed with the correct permissions.
Diffstat (limited to 'java')
-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> |