2004-01-13 09:45:54 +01:00
|
|
|
# ex:ts=8
|
|
|
|
# Ports collection makefile for: denature
|
|
|
|
# Date created: Jan 6, 2004
|
|
|
|
# Whom: ijliao
|
|
|
|
#
|
|
|
|
# $FreeBSD$
|
|
|
|
#
|
|
|
|
|
|
|
|
PORTNAME= denature
|
|
|
|
PORTVERSION= 0.6.5
|
2008-06-06 16:17:21 +02:00
|
|
|
PORTREVISION= 2
|
2004-01-13 09:45:54 +01:00
|
|
|
CATEGORIES= textproc
|
2009-08-22 02:37:17 +02:00
|
|
|
MASTER_SITES= SF/${PORTNAME}/${PORTNAME}/${PORTNAME}-${PORTVERSION}
|
2004-01-13 09:45:54 +01:00
|
|
|
|
|
|
|
MAINTAINER= ports@FreeBSD.org
|
|
|
|
COMMENT= A HTML to PDF converter
|
|
|
|
|
2012-06-28 20:37:23 +02:00
|
|
|
RUN_DEPENDS= p5-HTML-Parser>=0:${PORTSDIR}/www/p5-HTML-Parser \
|
|
|
|
p5-HTML-Tagset>=0:${PORTSDIR}/www/p5-HTML-Tagset \
|
|
|
|
p5-HTML-Tree>=0:${PORTSDIR}/www/p5-HTML-Tree \
|
|
|
|
p5-CSS-Tiny>=0:${PORTSDIR}/textproc/p5-CSS-Tiny \
|
2004-01-13 09:45:54 +01:00
|
|
|
fop:${PORTSDIR}/textproc/fop
|
|
|
|
|
|
|
|
USE_PERL5= yes
|
2005-02-05 00:41:48 +01:00
|
|
|
USE_JAVA= yes
|
2011-07-21 07:03:02 +02:00
|
|
|
JAVA_VERSION= 1.5+
|
2004-01-13 09:45:54 +01:00
|
|
|
POD2MAN?= pod2man
|
|
|
|
WRKSRC= ${WRKDIR}/${PORTNAME}
|
|
|
|
|
2004-02-05 21:38:07 +01:00
|
|
|
MAN1= denature.1
|
|
|
|
PLIST_FILES= bin/denature
|
2004-01-13 09:45:54 +01:00
|
|
|
|
|
|
|
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>
|