mirror of
https://git.FreeBSD.org/ports.git
synced 2024-12-04 01:48:54 +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
57 lines
1.6 KiB
Makefile
57 lines
1.6 KiB
Makefile
# New ports collection makefile for: XIncluder
|
|
# Date created: October 18, 2002
|
|
# Whom: Ernst de Haan <znerd@FreeBSD.org>
|
|
#
|
|
# $FreeBSD$
|
|
#
|
|
|
|
PORTNAME= xincluder
|
|
PORTVERSION= 1.0.d11
|
|
PORTREVISION= 5
|
|
CATEGORIES= textproc java
|
|
MASTER_SITES= ftp://ftp.ibiblio.org/pub/languages/java/javafaq/
|
|
DISTNAME= ${PORTNAME}-1.0d11
|
|
|
|
MAINTAINER= ports@FreeBSD.org
|
|
COMMENT= Java-based XInclude processors
|
|
|
|
RUN_DEPENDS= ${JAVALIBDIR}/jdom.jar:${PORTSDIR}/java/jdom \
|
|
${JAVALIBDIR}/xercesImpl.jar:${PORTSDIR}/textproc/xerces-j \
|
|
java:${PORTSDIR}/java/javavmwrapper
|
|
|
|
USE_JAVA= yes
|
|
JAVA_VERSION= 1.5+
|
|
NO_BUILD= yes
|
|
|
|
WRKSRC= ${WRKDIR}/${PORTNAME}
|
|
|
|
SUFFIXES= -sax -dom -jdom
|
|
PLIST_FILES= %%JAVAJARDIR%%/${PORTNAME}.jar bin/xincluder ${SUFFIXES:S,^,bin/xincluder,}
|
|
.if !defined(NOPORTDOCS)
|
|
PORTDOCS= apidoc index.html
|
|
.endif
|
|
SUB_FILES= xincluder.sh
|
|
|
|
do-install:
|
|
@${ECHO_MSG} -n ">> Installing JAR as ${JAVAJARDIR}/${PORTNAME}.jar..."
|
|
@${MKDIR} ${JAVAJARDIR}
|
|
@${INSTALL_DATA} ${WRKSRC}/${PORTNAME}.jar ${JAVAJARDIR}/
|
|
@${ECHO_MSG} " [ DONE ]"
|
|
@${ECHO_MSG} -n ">> Installing scripts in ${PREFIX}/bin..."
|
|
@${ECHO_MSG} -n " xincluder"
|
|
@${INSTALL_SCRIPT} ${WRKDIR}/xincluder.sh ${PREFIX}/bin/xincluder
|
|
.for suffix in ${SUFFIXES}
|
|
@${ECHO_MSG} -n " xincluder${suffix}"
|
|
@${LN} ${PREFIX}/bin/xincluder ${PREFIX}/bin/xincluder${suffix}
|
|
.endfor
|
|
@${ECHO_MSG} " [ DONE ]"
|
|
.if !defined(NOPORTDOCS)
|
|
@${ECHO_MSG} -n ">> Installing documentation in ${DOCSDIR}..."
|
|
@cd ${WRKSRC} \
|
|
&& ${FIND} ${PORTDOCS} -type d -exec ${MKDIR} ${DOCSDIR}/{} \; \
|
|
&& ${FIND} ${PORTDOCS} -type f -exec ${INSTALL_DATA} {} ${DOCSDIR}/{} \;
|
|
@${ECHO_MSG} " [ DONE ]"
|
|
.endif
|
|
|
|
.include <bsd.port.mk>
|