diff options
author | znerd <znerd@FreeBSD.org> | 2002-04-13 18:02:26 +0800 |
---|---|---|
committer | znerd <znerd@FreeBSD.org> | 2002-04-13 18:02:26 +0800 |
commit | 1ee5e793d8fc20e394165be42ba7e8063793e48d (patch) | |
tree | 57f565b0a0f5588a33590ae5a30628e510ea4cdf /net/spread/Makefile | |
parent | 3800d5c9a33c7ea4db7bfa03c9c9ecac909c4347 (diff) | |
download | freebsd-ports-graphics-1ee5e793d8fc20e394165be42ba7e8063793e48d.tar.gz freebsd-ports-graphics-1ee5e793d8fc20e394165be42ba7e8063793e48d.tar.zst freebsd-ports-graphics-1ee5e793d8fc20e394165be42ba7e8063793e48d.zip |
Update to release 3.16.2. Added stability fixes. Updated manpages.
Use USE_JAVA. Handle jikes properly. Dtrt wrt javadoc.
PR: 36814
Submitted by: maintainer
Diffstat (limited to 'net/spread/Makefile')
-rw-r--r-- | net/spread/Makefile | 34 |
1 files changed, 18 insertions, 16 deletions
diff --git a/net/spread/Makefile b/net/spread/Makefile index cd49299de0c..00127b0781b 100644 --- a/net/spread/Makefile +++ b/net/spread/Makefile @@ -6,33 +6,28 @@ # PORTNAME= spread -PORTVERSION= 3.16.1 +PORTVERSION= 3.16.2 CATEGORIES= net perl5 java -MASTER_SITES= ${MASTER_SITE_LOCAL} -MASTER_SITE_SUBDIR= petef +MASTER_SITES= http://www.roughtrade.net/distfiles/ DISTNAME= ${PORTNAME}-src-${PORTVERSION} MAINTAINER= joshua@roughtrade.net -.if defined(WITH_JAVA_LIB) -BUILD_DEPENDS= ${LOCALBASE}/jdk${JDK_VERSION}/bin/javac:${PORTSDIR}/java/jdk -.endif - MAKEFILE= FreeBSD_makefile -MAN1= spread.1 -MAN3= SP_connect.3 SP_disconnect.3 SP_equal_group_ids.3 SP_error.3 \ +MAN1= spflooder.1 spmonitor.1 spread.1 sptuser.1 spuser.1 +MAN3= libsp.3 SP_connect.3 SP_disconnect.3 SP_equal_group_ids.3 SP_error.3 \ SP_join.3 SP_leave.3 SP_multicast.3 SP_multigroup_multicast.3 \ SP_multigroup_scat_multicast.3 SP_poll.3 SP_receive.3 \ SP_scat_multicast.3 SP_scat_receive.3 +.if defined(WITH_JAVA_LIB) +USE_JAVA= 1.2+ +.endif USE_PERL5= yes INSTALLS_SHLIB= yes PKGMESSAGE= ${WRKSRC}/license.txt -JDK_VERSION?= 1.1.8 -JAVASUBDIR= jdk${JDK_VERSION} -JAVADIR= ${PREFIX}/${JAVASUBDIR} JAVALIBDIR= ${PREFIX}/share/java/classes .if defined(WITH_JAVA_LIB) @@ -51,15 +46,20 @@ MAKE_ARGS+= PTHREAD_CFLAGS=${PTHREAD_CFLAGS} PTHREAD_LIBS=${PTHREAD_LIBS} .include <bsd.port.pre.mk> post-patch: -.for f in configuration.c auth-ip.c auth-pword.c docs/spread.1 docs/spmonitor.1 +.for f in configuration.c auth-ip.c auth-pword.c docs/spread.1 \ + docs/spmonitor.1 Readme.txt @${PERL} -pi -e 's,/etc/spread,${PREFIX}/etc/spread,g' ${WRKSRC}/${f} .endfor post-build: (cd ${WRKSRC}/perl/Spread; ${PERL} Makefile.PL; ${MAKE}) .if defined(WITH_JAVA_LIB) - (cd ${WRKSRC}/java; ${JAVADIR}/bin/javac \ - splib_src/*.java -d ./) + (cd ${WRKSRC}/java; CLASSPATH=${JAVA_CLASSES} ${JAVAC} spread/*.java -d ./) +.if !defined(NOPORTDOCS) + (cd ${WRKSRC}/java; ${MKDIR} docs; \ + ${JAVADOC} -sourcepath spread/ -verbose -windowtitle 'Spread for Java' \ + -nodeprecated -d docs/ spread/*.java) +.endif .endif pre-install: @@ -78,13 +78,15 @@ do-install: ${INSTALL_DATA} ${WRKSRC}/sp_events.h ${PREFIX}/include ${INSTALL_DATA} ${WRKSRC}/sample.spread.conf ${PREFIX}/etc/spread.conf.sample ${INSTALL_DATA} ${WRKSRC}/sample.spread.access_ip ${PREFIX}/etc/spread.access_ip.sample - ${INSTALL_MAN} ${WRKSRC}/docs/spread.1 ${PREFIX}/man/man1 (cd ${WRKSRC}/perl/Spread && ${MAKE} install) ${GZIP_CMD} ${GZIP} ${LOCALBASE}/lib/perl5/${PERL_VERSION}/man/man3/Spread.3 .if defined(WITH_JAVA_LIB) ${INSTALL} -d -o root -g wheel -m 0755 ${JAVALIBDIR}/${PORTNAME} ${INSTALL_DATA} ${WRKSRC}/java/spread/*.class ${JAVALIBDIR}/${PORTNAME} .endif +.for f in ${MAN1} + ${INSTALL_MAN} ${WRKSRC}/docs/${f} ${PREFIX}/man/man1 +.endfor .for f in ${MAN3} ${INSTALL_MAN} ${WRKSRC}/docs/${f} ${PREFIX}/man/man3 .endfor |