mirror of
https://git.FreeBSD.org/ports.git
synced 2024-11-26 00:55:14 +00:00
06e6677793
remove support for them from bsd.java.mk. As Jikes is not available in Java 1.5 or higher, remove it from bsd.java.mk too (suggested by hq@) and from the ports which used it (only occurences were USE_JIKES=no). Support for the Blackdown VM is also removed, as it is not available in Java 1.5 and higher. Also remove the mapping from Java 1.1-1.4 to Java 1.5+ in bsd.java.mk to detect old, broken ports; therefore bump the minimal value of JAVA_VERSION to 1.5. While here, replace static values of JAVA_VERSION in files/*.in by %%JAVA_VERSION%% . PR: ports/158969 Submitted by: rene Tested on: pointyhat-west -exp
61 lines
1.9 KiB
Makefile
61 lines
1.9 KiB
Makefile
# New ports collection makefile for: spread-j
|
|
# Date created: 06 November 2002
|
|
# Whom: Joshua Goodall <joshua@roughtrade.net>
|
|
#
|
|
# $FreeBSD$
|
|
#
|
|
|
|
PORTNAME= spread
|
|
PORTVERSION= 3.17.3
|
|
PORTREVISION= 1
|
|
CATEGORIES= net java
|
|
MASTER_SITES= http://www.cnds.jhu.edu/download/noformdown/
|
|
PKGNAMESUFFIX= -j
|
|
DISTNAME= ${PORTNAME}-src-${PORTVERSION}
|
|
|
|
MAINTAINER= ports@FreeBSD.org
|
|
COMMENT= Java client library for the Spread Group Communication System
|
|
|
|
BUILD_DEPENDS= ${ANT}:${PORTSDIR}/devel/apache-ant
|
|
|
|
USE_JAVA= YES
|
|
JAVA_VERSION= 1.5+
|
|
PKGMESSAGE= ${WRKSRC}/../license.txt
|
|
|
|
ANT?= ${LOCALBASE}/bin/ant
|
|
.if defined(NOPORTDOCS)
|
|
ANT_TARGET= jar
|
|
.else
|
|
ANT_TARGET= javadocs jar
|
|
PORTDOCS+= java
|
|
.endif
|
|
ANT_PARAMS+= -Dlib.dir=${JAVAJARDIR} -Djavadoc.destdir=docs -Dversion=${PORTVERSION}
|
|
|
|
WRKSRC= ${WRKDIR}/${PORTNAME}-src-${PORTVERSION}/java
|
|
PLIST_SUB+= PORTNAME="${PORTNAME}" PORTVERSION="${PORTVERSION}"
|
|
|
|
do-build:
|
|
@cd ${WRKSRC} && \
|
|
${SETENV} JAVA_HOME=${JAVA_HOME} ${ANT} ${ANT_TARGET} ${ANT_PARAMS}
|
|
|
|
do-install:
|
|
@cd ${WRKSRC} && ${ANT} install ${ANT_PARAMS}
|
|
.if !defined(NOPORTDOCS)
|
|
${INSTALL} -d -o root -g wheel -m 0755 ${EXAMPLESDIR}/java
|
|
${INSTALL_DATA} ${WRKSRC}/recThread.java ${EXAMPLESDIR}/java
|
|
${INSTALL_DATA} ${WRKSRC}/Flooder.java ${EXAMPLESDIR}/java
|
|
${INSTALL_DATA} ${WRKSRC}/User.java ${EXAMPLESDIR}/java
|
|
${INSTALL} -d -o root -g wheel -m 0755 ${DOCSDIR}/java
|
|
${INSTALL_DATA} ${WRKSRC}/readme.txt ${DOCSDIR}/java
|
|
${INSTALL} -d -o root -g wheel -m 0755 ${DOCSDIR}/java/html
|
|
${INSTALL} -d -o root -g wheel -m 0755 ${DOCSDIR}/java/html/spread
|
|
${INSTALL} -d -o root -g wheel -m 0755 ${DOCSDIR}/java/html/spread/class-use
|
|
${INSTALL_DATA} ${WRKSRC}/docs/*.html ${DOCSDIR}/java/html
|
|
${INSTALL_DATA} ${WRKSRC}/docs/stylesheet.css ${DOCSDIR}/java/html
|
|
${INSTALL_DATA} ${WRKSRC}/docs/spread/*.html ${DOCSDIR}/java/html/spread
|
|
${INSTALL_DATA} ${WRKSRC}/docs/spread/class-use/*.html ${DOCSDIR}/java/html/spread/class-use
|
|
.endif
|
|
@${CAT} ${PKGMESSAGE}
|
|
|
|
.include <bsd.port.mk>
|