diff options
author | Edwin Groothuis <edwin@FreeBSD.org> | 2003-08-30 01:39:54 +0000 |
---|---|---|
committer | Edwin Groothuis <edwin@FreeBSD.org> | 2003-08-30 01:39:54 +0000 |
commit | 816e55ba8970d95b698b303330ad57d660a3f0d1 (patch) | |
tree | 3a8044266972f1cc2d87d257f53cf31f780887ed /net/spread-j/Makefile | |
parent | 3618543557de774d94cff2569660ee6bd1094133 (diff) | |
download | ports-816e55ba8970d95b698b303330ad57d660a3f0d1.tar.gz ports-816e55ba8970d95b698b303330ad57d660a3f0d1.zip |
Notes
Diffstat (limited to 'net/spread-j/Makefile')
-rw-r--r-- | net/spread-j/Makefile | 56 |
1 files changed, 56 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> |