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
55 lines
1.6 KiB
Makefile
55 lines
1.6 KiB
Makefile
# New ports collection makefile for: Print formatter driven by XSL formatting
|
|
# Date created: 19 December 2000
|
|
# Whom: KIRIYAMA Kazuhiko <kiri@FreeBSD.org>
|
|
#
|
|
# $FreeBSD$
|
|
#
|
|
|
|
PORTNAME= fop
|
|
PORTVERSION= 1.0
|
|
CATEGORIES= textproc java
|
|
MASTER_SITES= ${MASTER_SITE_APACHE:S/$/:fop/} \
|
|
SF/offo/offo-hyphenation/1.0:hyph
|
|
MASTER_SITE_SUBDIR= xmlgraphics/fop/source/:fop
|
|
DISTNAME= ${PORTNAME}-${PORTVERSION}-src
|
|
DISTFILES= ${DISTNAME}.tar.gz:fop offo-hyphenation.zip:hyph
|
|
EXTRACT_ONLY= ${DISTNAME}.tar.gz
|
|
|
|
MAINTAINER= geoff@sea-incorporated.com
|
|
COMMENT= Print formatter driven by XSL formatting
|
|
|
|
EXTRACT_DEPENDS+= unzip:${PORTSDIR}/archivers/unzip
|
|
|
|
WRKSRC= ${WRKDIR}/${DISTNAME:S/-src//}
|
|
DATADIR= ${JAVASHAREDIR}/${PORTNAME}
|
|
|
|
USE_JAVA= yes
|
|
JAVA_VERSION= 1.5+
|
|
USE_ANT= yes
|
|
|
|
# Prevent out of memory error during build
|
|
MAKE_ENV+= "ANT_OPTS=-Xmx512m"
|
|
|
|
post-extract:
|
|
@cd ${WRKDIR} && ${UNZIP_CMD} ${DISTDIR}/offo-hyphenation.zip
|
|
@${CP} ${WRKDIR}/offo-hyphenation/hyph/*.xml ${WRKSRC}/hyph
|
|
|
|
do-install:
|
|
.for d in build conf lib
|
|
@${MKDIR} ${DATADIR}/${d}
|
|
.endfor
|
|
@cd ${WRKSRC} && \
|
|
${INSTALL_DATA} status.xml ${DATADIR}/ && \
|
|
${INSTALL_DATA} build/*.[jw]ar ${DATADIR}/build/ && \
|
|
${INSTALL_DATA} lib/*.jar lib/README.txt ${DATADIR}/lib/ && \
|
|
${INSTALL_DATA} conf/fop.xconf ${DATADIR}/conf/ && \
|
|
${COPYTREE_SHARE} hyph ${DATADIR}/
|
|
@${INSTALL_SCRIPT} ${WRKSRC}/${PORTNAME} ${DATADIR}/
|
|
@${LN} -s ${DATADIR}/${PORTNAME} ${PREFIX}/bin/${PORTNAME}
|
|
|
|
.if !defined(NOPORTDOCS)
|
|
@${MKDIR} ${DOCSDIR}
|
|
@cd ${WRKSRC} && ${INSTALL_MAN} LICENSE README NOTICE KEYS ${DOCSDIR}
|
|
.endif
|
|
|
|
.include <bsd.port.mk>
|