summaryrefslogtreecommitdiffstats
path: root/net
diff options
context:
space:
mode:
authoredwin <edwin@FreeBSD.org>2003-12-29 06:21:22 +0000
committeredwin <edwin@FreeBSD.org>2003-12-29 06:21:22 +0000
commit1cf2b48deb47b6524755ce9767d0f0a10543b540 (patch)
tree4208416ec72cbb787ec80655b0a79211726cb552 /net
parent51f851a27a4e8fc649be41415a351025984f263c (diff)
downloadFreeBSD-ports-1cf2b48deb47b6524755ce9767d0f0a10543b540.zip
FreeBSD-ports-1cf2b48deb47b6524755ce9767d0f0a10543b540.tar.gz
[MAINTAINER UPDATE] New versions of spread, spread-j and py-spreadmodule
* Use more bsd.port.mk convenience switches. * Use rc.subr properly for spread daemon. * Write a logfile rather than spewing to stdio. * Move rendezvous socket to /var/run. * Make Makefile.PL behave properly with PREFIX. PR: ports/60053 Submitted by: Joshua Goodall <joshua@roughtrade.net>
Diffstat (limited to 'net')
-rw-r--r--net/spread-j/Makefile17
-rw-r--r--net/spread-j/distinfo2
-rw-r--r--net/spread-j/pkg-plist54
3 files changed, 16 insertions, 57 deletions
diff --git a/net/spread-j/Makefile b/net/spread-j/Makefile
index bab75f8..387866e 100644
--- a/net/spread-j/Makefile
+++ b/net/spread-j/Makefile
@@ -6,10 +6,9 @@
#
PORTNAME= spread-j
-PORTVERSION= 3.17.0
-PORTREVISION= 1
+PORTVERSION= 3.17.1
CATEGORIES= net java
-MASTER_SITES= http://www.roughtrade.net/distfiles/
+MASTER_SITES= http://www.cnds.jhu.edu/download/noformdown/
DISTNAME= spread-src-${PORTVERSION}
MAINTAINER= joshua@roughtrade.net
@@ -21,26 +20,30 @@ USE_JAVA= 1.2+
JAVALIBDIR= ${PREFIX}/share/java/classes
PKGMESSAGE= ${WRKSRC}/../license.txt
+ANT?= ${LOCALBASE}/bin/ant
.if defined(NOPORTDOCS)
PLIST_SUB+= JAVALIB_DOCS='@comment '
+ANT_TARGET= jar
.else
PLIST_SUB+= JAVALIB_DOCS=''
+ANT_TARGET= javadocs jar
+PORTDOCS+= html readme.txt
.endif
+ANT_PARAMS+= -Dlib.dir=${JAVALIBDIR} -Djavadoc.destdir=docs -Dversion=${PORTVERSION}
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
+ @cd ${WRKSRC} && ${ANT} ${ANT_TARGET} ${ANT_PARAMS}
do-install:
- @cd ${WRKSRC} && ${ANT} install -Dlib.dir=${JAVALIBDIR}
+ @cd ${WRKSRC} && ${ANT} install ${ANT_PARAMS}
+.if !defined(NOPORTDOCS)
${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
diff --git a/net/spread-j/distinfo b/net/spread-j/distinfo
index 7d7007f..46ba65c 100644
--- a/net/spread-j/distinfo
+++ b/net/spread-j/distinfo
@@ -1 +1 @@
-MD5 (spread-src-3.17.0.tar.gz) = 77d927584e66cb09472f5e9a1613e274
+MD5 (spread-src-3.17.1.tar.gz) = b423da7012f0237a877b604ebd80cfc4
diff --git a/net/spread-j/pkg-plist b/net/spread-j/pkg-plist
index 04f3131..0ede388 100644
--- a/net/spread-j/pkg-plist
+++ b/net/spread-j/pkg-plist
@@ -1,49 +1,5 @@
-%%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
+%%JAVALIBDIR%%/spread-3.17.1.jar
+%%PORTDOCS%%%%EXAMPLESDIR%%/Flooder.java
+%%PORTDOCS%%%%EXAMPLESDIR%%/recThread.java
+%%PORTDOCS%%%%EXAMPLESDIR%%/User.java
+%%PORTDOCS%%@dirrm share/examples/spread-j
OpenPOWER on IntegriCloud