diff options
author | Herve Quiroz <hq@FreeBSD.org> | 2004-11-03 03:13:28 +0000 |
---|---|---|
committer | Herve Quiroz <hq@FreeBSD.org> | 2004-11-03 03:13:28 +0000 |
commit | c63b5ec7fa4cf6dd3a3f715f76153942754f4745 (patch) | |
tree | 8819466ae1299bc8c957db4705fcdb336699f79e /java | |
parent | 93df93c48ea007a677d1138ece0a3efb8b0c1fa7 (diff) | |
download | ports-c63b5ec7fa4cf6dd3a3f715f76153942754f4745.tar.gz ports-c63b5ec7fa4cf6dd3a3f715f76153942754f4745.zip |
Notes
Diffstat (limited to 'java')
-rw-r--r-- | java/jump/Makefile | 33 | ||||
-rw-r--r-- | java/jump/pkg-plist | 1 |
2 files changed, 14 insertions, 20 deletions
diff --git a/java/jump/Makefile b/java/jump/Makefile index 2b9b6cfba43a..fc4176259b38 100644 --- a/java/jump/Makefile +++ b/java/jump/Makefile @@ -14,38 +14,33 @@ MASTER_SITE_SUBDIR= jump-math MAINTAINER= znerd@FreeBSD.org COMMENT= Java library for arbitrary precision computations -BUILD_DEPENDS= ${ANT}:${PORTSDIR}/devel/apache-ant +USE_JAVA= yes +JAVA_VERSION= 1.2+ +USE_ANT= yes -USE_JAVA= 1.2+ - -ANT?= ${LOCALBASE}/bin/ant .if defined(NOPORTDOCS) -ANT_TARGET= jar +ALL_TARGET= jar .else -ANT_TARGET= jar apidocs +ALL_TARGET= jar apidocs .endif -JAVASHAREDIR= ${PREFIX}/share/java -JARDIR= ${JAVASHAREDIR}/classes JARFILE= ${PORTNAME}.jar -DESTJARFILE= ${PORTNAME}.jar .if !defined(NOPORTDOCS) -PORTDOCS= ${WRKSRC}/build/apidocs +PORTDOCS= * .endif -do-build: - cd ${WRKSRC} && ${ANT} ${ANT_TARGET} +PLIST_FILES+= %%JAVAJARDIR%%/${JARFILE} do-install: - @${ECHO} -n ">> Installing JAR as ${JARDIR}/${DESTJARFILE}..." - @${CP} ${WRKSRC}/build/${JARFILE} ${JARDIR}/${DESTJARFILE} - @${ECHO} " [ DONE ]" - + @${ECHO_MSG} -n ">> Installing JAR as ${JAVAJARDIR}/${JARFILE}..." + @${INSTALL_DATA} ${WRKSRC}/build/${JARFILE} ${JAVAJARDIR}/${JARFILE} + @${ECHO_MSG} " [ DONE ]" .if !defined(NOPORTDOCS) - @${ECHO} -n ">> Installing documentation in ${DOCSDIR}..." + @${ECHO_MSG} -n ">> Installing documentation in ${DOCSDIR}..." @${MKDIR} ${DOCSDIR} - @${CP} -r ${WRKSRC}/build/apidocs/* ${DOCSDIR} - @${ECHO} " [ DONE ]" + @cd ${WRKSRC}/build/apidocs/ && ${FIND} . \ + | ${CPIO} -pdmu -R ${SHAREOWN}:${SHAREGRP} ${DOCSDIR} > /dev/null 2>&1 + @${ECHO_MSG} " [ DONE ]" .endif .include <bsd.port.mk> diff --git a/java/jump/pkg-plist b/java/jump/pkg-plist deleted file mode 100644 index fc544a7975f5..000000000000 --- a/java/jump/pkg-plist +++ /dev/null @@ -1 +0,0 @@ -share/java/classes/jump.jar |