freebsd-ports/textproc/denature/Makefile
Mark Linimon 06e6677793 Now that the Java 1.3 and Java 1.4 ports are deprecated and will expire soon,
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
2011-07-21 05:03:02 +00:00

44 lines
1.1 KiB
Makefile

# ex:ts=8
# Ports collection makefile for: denature
# Date created: Jan 6, 2004
# Whom: ijliao
#
# $FreeBSD$
#
PORTNAME= denature
PORTVERSION= 0.6.5
PORTREVISION= 2
CATEGORIES= textproc
MASTER_SITES= SF/${PORTNAME}/${PORTNAME}/${PORTNAME}-${PORTVERSION}
MAINTAINER= ports@FreeBSD.org
COMMENT= A HTML to PDF converter
RUN_DEPENDS= ${SITE_PERL}/${PERL_ARCH}/HTML/Parser.pm:${PORTSDIR}/www/p5-HTML-Parser \
${SITE_PERL}/HTML/Tagset.pm:${PORTSDIR}/www/p5-HTML-Tagset \
${SITE_PERL}/HTML/Tree.pm:${PORTSDIR}/www/p5-HTML-Tree \
${SITE_PERL}/CSS/Tiny.pm:${PORTSDIR}/textproc/p5-CSS-Tiny \
fop:${PORTSDIR}/textproc/fop
USE_PERL5= yes
USE_JAVA= yes
JAVA_VERSION= 1.5+
POD2MAN?= pod2man
WRKSRC= ${WRKDIR}/${PORTNAME}
MAN1= denature.1
PLIST_FILES= bin/denature
post-patch:
@${PERL} -pi -e "s|%%LOCALBASE%%|${LOCALBASE}| ; \
s|%%JAVA_HOME%%|${JAVA_HOME}|" ${WRKSRC}/denature
do-build:
cd ${WRKSRC} && ${POD2MAN} denature > denature.1
do-install:
${INSTALL_SCRIPT} ${WRKSRC}/denature ${PREFIX}/bin
${INSTALL_MAN} ${WRKSRC}/denature.1 ${MAN1PREFIX}/man/man1
.include <bsd.port.mk>