diff options
author | edwin <edwin@FreeBSD.org> | 2003-08-30 09:39:54 +0800 |
---|---|---|
committer | edwin <edwin@FreeBSD.org> | 2003-08-30 09:39:54 +0800 |
commit | 9e6fd730b7df0e70c55daf14df5d6ff53a2d5fd7 (patch) | |
tree | cb9981d6ad7c3724e3b63a49c8978de8c75f1965 /net/spread-j | |
parent | 314d43b458d1b0d59ffef69e99cff152033f54ee (diff) | |
download | freebsd-ports-gnome-9e6fd730b7df0e70c55daf14df5d6ff53a2d5fd7.tar.gz freebsd-ports-gnome-9e6fd730b7df0e70c55daf14df5d6ff53a2d5fd7.tar.zst freebsd-ports-gnome-9e6fd730b7df0e70c55daf14df5d6ff53a2d5fd7.zip |
New port (split out from old port): net/spread-j
This port contains just the java client libraries, which
have been split from the net/spread port to make them easier
to find, build and include, as a separate port.
PR: ports/45180
Submitted by: Joshua Goodall <joshua@roughtrade.net>
Diffstat (limited to 'net/spread-j')
-rw-r--r-- | net/spread-j/Makefile | 56 | ||||
-rw-r--r-- | net/spread-j/distinfo | 1 | ||||
-rw-r--r-- | net/spread-j/pkg-descr | 10 | ||||
-rw-r--r-- | net/spread-j/pkg-plist | 49 |
4 files changed, 116 insertions, 0 deletions
diff --git a/net/spread-j/Makefile b/net/spread-j/Makefile new file mode 100644 index 000000000000..bab75f8b5dfe --- /dev/null +++ b/net/spread-j/Makefile @@ -0,0 +1,56 @@ +# New ports collection makefile for: spread-j +# Date created: 06 November 2002 +# Whom: Joshua Goodall <joshua@roughtrade.net> +# +# $FreeBSD$ +# + +PORTNAME= spread-j +PORTVERSION= 3.17.0 +PORTREVISION= 1 +CATEGORIES= net java +MASTER_SITES= http://www.roughtrade.net/distfiles/ +DISTNAME= spread-src-${PORTVERSION} + +MAINTAINER= joshua@roughtrade.net +COMMENT= Java client library for the Spread Group Communication System + +BUILD_DEPENDS= ${ANT}:${PORTSDIR}/devel/apache-ant + +USE_JAVA= 1.2+ +JAVALIBDIR= ${PREFIX}/share/java/classes +PKGMESSAGE= ${WRKSRC}/../license.txt + +.if defined(NOPORTDOCS) +PLIST_SUB+= JAVALIB_DOCS='@comment ' +.else +PLIST_SUB+= JAVALIB_DOCS='' +.endif + +WRKSRC= ${WRKDIR}/${DISTNAME}/java +PLIST_SUB+= JAVALIBDIR=share/java/classes +ANT?= ${LOCALBASE}/bin/ant + +do-build: + @cd ${WRKSRC} && ${ANT} javadocs jar -Dlib.dir=${JAVALIBDIR} -Djavadoc.destdir=docs + +do-install: + @cd ${WRKSRC} && ${ANT} install -Dlib.dir=${JAVALIBDIR} + ${INSTALL} -d -o root -g wheel -m 0755 ${EXAMPLESDIR} + ${INSTALL_DATA} ${WRKSRC}/recThread.java ${EXAMPLESDIR} + ${INSTALL_DATA} ${WRKSRC}/Flooder.java ${EXAMPLESDIR} + ${INSTALL_DATA} ${WRKSRC}/User.java ${EXAMPLESDIR} +.if !defined(NOPORTDOCS) + ${INSTALL} -d -o root -g wheel -m 0755 ${DOCSDIR} + ${INSTALL_DATA} ${WRKSRC}/readme.txt ${DOCSDIR} + ${INSTALL} -d -o root -g wheel -m 0755 ${DOCSDIR}/html + ${INSTALL} -d -o root -g wheel -m 0755 ${DOCSDIR}/html/spread + ${INSTALL} -d -o root -g wheel -m 0755 ${DOCSDIR}/html/spread/class-use + ${INSTALL_DATA} ${WRKSRC}/docs/*.html ${DOCSDIR}/html + ${INSTALL_DATA} ${WRKSRC}/docs/stylesheet.css ${DOCSDIR}/html + ${INSTALL_DATA} ${WRKSRC}/docs/spread/*.html ${DOCSDIR}/html/spread + ${INSTALL_DATA} ${WRKSRC}/docs/spread/class-use/*.html ${DOCSDIR}/html/spread/class-use +.endif + @${CAT} ${PKGMESSAGE} + +.include <bsd.port.mk> diff --git a/net/spread-j/distinfo b/net/spread-j/distinfo new file mode 100644 index 000000000000..7d7007f4bf86 --- /dev/null +++ b/net/spread-j/distinfo @@ -0,0 +1 @@ +MD5 (spread-src-3.17.0.tar.gz) = 77d927584e66cb09472f5e9a1613e274 diff --git a/net/spread-j/pkg-descr b/net/spread-j/pkg-descr new file mode 100644 index 000000000000..0f117b12570e --- /dev/null +++ b/net/spread-j/pkg-descr @@ -0,0 +1,10 @@ +Copyright (c) 1993-2001 Spread Concepts LLC. All rights reserved. +This product uses software developed by Spread Concepts LLC for use in the +Spread toolkit. For more information about Spread see http://www.spread.org . + +These are the Java client libraries for Spread. + +WWW: http://www.spread.org/ + +- Joshua +joshua@roughtrade.net diff --git a/net/spread-j/pkg-plist b/net/spread-j/pkg-plist new file mode 100644 index 000000000000..04f3131dbd87 --- /dev/null +++ b/net/spread-j/pkg-plist @@ -0,0 +1,49 @@ +%%JAVALIBDIR%%/spread-3.17.0.jar +%%JAVALIB_DOCS%%share/doc/spread-j/html/allclasses-frame.html +%%JAVALIB_DOCS%%share/doc/spread-j/html/deprecated-list.html +%%JAVALIB_DOCS%%share/doc/spread-j/html/help-doc.html +%%JAVALIB_DOCS%%share/doc/spread-j/html/index-all.html +%%JAVALIB_DOCS%%share/doc/spread-j/html/index.html +%%JAVALIB_DOCS%%share/doc/spread-j/html/overview-tree.html +%%JAVALIB_DOCS%%share/doc/spread-j/html/packages.html +%%JAVALIB_DOCS%%share/doc/spread-j/html/serialized-form.html +%%JAVALIB_DOCS%%share/doc/spread-j/html/spread/AdvancedMessageListener.html +%%JAVALIB_DOCS%%share/doc/spread-j/html/spread/BasicMessageListener.html +%%JAVALIB_DOCS%%share/doc/spread-j/html/spread/GroupID.html +%%JAVALIB_DOCS%%share/doc/spread-j/html/spread/MembershipInfo.html +%%JAVALIB_DOCS%%share/doc/spread-j/html/spread/MessageFactory.html +%%JAVALIB_DOCS%%share/doc/spread-j/html/spread/NULLAuth.html +%%JAVALIB_DOCS%%share/doc/spread-j/html/spread/SpreadAuthInterface.html +%%JAVALIB_DOCS%%share/doc/spread-j/html/spread/SpreadConnection.Listener.html +%%JAVALIB_DOCS%%share/doc/spread-j/html/spread/SpreadConnection.html +%%JAVALIB_DOCS%%share/doc/spread-j/html/spread/SpreadException.html +%%JAVALIB_DOCS%%share/doc/spread-j/html/spread/SpreadGroup.html +%%JAVALIB_DOCS%%share/doc/spread-j/html/spread/SpreadMessage.html +%%JAVALIB_DOCS%%share/doc/spread-j/html/spread/SpreadVersion.html +%%JAVALIB_DOCS%%share/doc/spread-j/html/spread/class-use/AdvancedMessageListener.html +%%JAVALIB_DOCS%%share/doc/spread-j/html/spread/class-use/BasicMessageListener.html +%%JAVALIB_DOCS%%share/doc/spread-j/html/spread/class-use/GroupID.html +%%JAVALIB_DOCS%%share/doc/spread-j/html/spread/class-use/MembershipInfo.html +%%JAVALIB_DOCS%%share/doc/spread-j/html/spread/class-use/MessageFactory.html +%%JAVALIB_DOCS%%share/doc/spread-j/html/spread/class-use/NULLAuth.html +%%JAVALIB_DOCS%%share/doc/spread-j/html/spread/class-use/SpreadAuthInterface.html +%%JAVALIB_DOCS%%share/doc/spread-j/html/spread/class-use/SpreadConnection.Listener.html +%%JAVALIB_DOCS%%share/doc/spread-j/html/spread/class-use/SpreadConnection.html +%%JAVALIB_DOCS%%share/doc/spread-j/html/spread/class-use/SpreadException.html +%%JAVALIB_DOCS%%share/doc/spread-j/html/spread/class-use/SpreadGroup.html +%%JAVALIB_DOCS%%share/doc/spread-j/html/spread/class-use/SpreadMessage.html +%%JAVALIB_DOCS%%share/doc/spread-j/html/spread/class-use/SpreadVersion.html +%%JAVALIB_DOCS%%share/doc/spread-j/html/spread/package-frame.html +%%JAVALIB_DOCS%%share/doc/spread-j/html/spread/package-summary.html +%%JAVALIB_DOCS%%share/doc/spread-j/html/spread/package-tree.html +%%JAVALIB_DOCS%%share/doc/spread-j/html/spread/package-use.html +%%JAVALIB_DOCS%%share/doc/spread-j/html/stylesheet.css +%%JAVALIB_DOCS%%share/doc/spread-j/readme.txt +%%JAVALIB_DOCS%%@dirrm share/doc/spread-j/html/spread/class-use +%%JAVALIB_DOCS%%@dirrm share/doc/spread-j/html/spread +%%JAVALIB_DOCS%%@dirrm share/doc/spread-j/html +%%JAVALIB_DOCS%%@dirrm share/doc/spread-j +share/examples/spread-j/Flooder.java +share/examples/spread-j/recThread.java +share/examples/spread-j/User.java +@dirrm share/examples/spread-j |