diff --git a/devel/Makefile b/devel/Makefile index 7f6027c6931a..782ec3128aec 100644 --- a/devel/Makefile +++ b/devel/Makefile @@ -358,6 +358,7 @@ SUBDIR += ixlib SUBDIR += jakelib2 SUBDIR += jam + SUBDIR += java-util-concurrent SUBDIR += jclassinfo SUBDIR += jrtplib SUBDIR += jude_take diff --git a/devel/java-util-concurrent/Makefile b/devel/java-util-concurrent/Makefile new file mode 100644 index 000000000000..bb1fa1b40184 --- /dev/null +++ b/devel/java-util-concurrent/Makefile @@ -0,0 +1,48 @@ +# New ports collection makefile for: java-util-concurrent +# Date created: 2004-11-19 +# Whom: Herve Quiroz +# +# $FreeBSD$ +# + +PORTNAME= util-concurrent +PORTVERSION= 1.3.4 +CATEGORIES= devel java +MASTER_SITES= http://gee.cs.oswego.edu/dl/classes/EDU/oswego/cs/dl/current/ +PKGNAMEPREFIX= java- +DISTNAME= concurrent + +MAINTAINER= hq@FreeBSD.org +COMMENT= Utility classes for concurrent Java programming + +USE_JAVA= yes +JAVA_VERSION= 1.2+ + +USE_ANT= yes +ALL_TARGET= dist +.if !defined(NOPORTDOCS) +ALL_TARGET+= javadoc +.endif + +PLIST_FILES= %%JAVAJARDIR%%/${PORTNAME}.jar +.if !defined(NOPORTDOCS) +PORTDOCS= apidocs index.html +.endif + +.include + +do-install: + @${ECHO_MSG} -n ">> Installing JAR as ${JAVAJARDIR}/${PORTNAME}.jar..." + @${MKDIR} ${JAVAJARDIR} + @${INSTALL_DATA} ${WRKSRC}/lib/${DISTNAME}.jar ${JAVAJARDIR}/${PORTNAME}.jar + @${ECHO_MSG} " [ DONE ]" +.if !defined(NOPORTDOCS) + @${ECHO_MSG} -n ">> Installing documentation in ${DOCSDIR}/..." + @cd ${WRKSRC}/docs \ + && ${FIND} . -type d -exec ${MKDIR} ${DOCSDIR}/apidocs/{} \; \ + && ${FIND} . -type f -exec ${INSTALL_DATA} {} ${DOCSDIR}/apidocs/{} \; + @${INSTALL_DATA} ${WRKSRC}/intro.html ${DOCSDIR}/index.html + @${ECHO_MSG} " [ DONE ]" +.endif + +.include diff --git a/devel/java-util-concurrent/distinfo b/devel/java-util-concurrent/distinfo new file mode 100644 index 000000000000..51ced5b18398 --- /dev/null +++ b/devel/java-util-concurrent/distinfo @@ -0,0 +1,2 @@ +MD5 (concurrent.tar.gz) = 6a7898a403c3c400f271c6e9285ce9a2 +SIZE (concurrent.tar.gz) = 522717 diff --git a/devel/java-util-concurrent/pkg-descr b/devel/java-util-concurrent/pkg-descr new file mode 100644 index 000000000000..8a08058187bb --- /dev/null +++ b/devel/java-util-concurrent/pkg-descr @@ -0,0 +1,19 @@ +This package provides standardized, efficient versions of utility classes +commonly encountered in concurrent Java programming. This code consists of +implementations of ideas that have been around for ages, and is merely intended +to save you the trouble of coding them. + +The package mainly consists of implementations of a few interfaces: + + * Sync -- locks, conditions + * Channel -- queues, buffers + * Barrier -- multi-party synchronization + * SynchronizedVariable -- atomic ints, refs etc + * java.util.Collection -- collections + * Executor -- replacements for direct use of Thread + +Plus some utilities and frameworks that build upon these. + +This package was the precursor to java.util.concurrent. + +WWW: http://gee.cs.oswego.edu/dl/classes/EDU/oswego/cs/dl/util/concurrent/intro.html