2012-12-10 14:43:43 +01:00
|
|
|
# Created by: ijliao
|
2004-01-13 09:45:54 +01:00
|
|
|
# $FreeBSD$
|
|
|
|
|
|
|
|
PORTNAME= denature
|
|
|
|
PORTVERSION= 0.6.5
|
2008-06-06 16:17:21 +02:00
|
|
|
PORTREVISION= 2
|
2014-01-26 13:36:59 +01:00
|
|
|
CATEGORIES= textproc java
|
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
|
2014-08-03 16:15:08 +02:00
|
|
|
COMMENT= HTML to PDF converter
|
2004-01-13 09:45:54 +01:00
|
|
|
|
2014-01-26 13:36:59 +01:00
|
|
|
LICENSE= GPLv2
|
|
|
|
|
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
|
|
|
|
|
2013-08-03 10:45:51 +02:00
|
|
|
USES= perl5
|
2005-02-05 00:41:48 +01:00
|
|
|
USE_JAVA= yes
|
2012-12-10 14:43:43 +01:00
|
|
|
JAVA_VERSION= 1.6+
|
2004-01-13 09:45:54 +01:00
|
|
|
POD2MAN?= pod2man
|
|
|
|
WRKSRC= ${WRKDIR}/${PORTNAME}
|
|
|
|
|
2014-01-26 13:36:59 +01:00
|
|
|
PLIST_FILES= bin/denature man/man1/denature.1.gz
|
2004-01-13 09:45:54 +01:00
|
|
|
|
|
|
|
post-patch:
|
2013-07-26 14:25:46 +02:00
|
|
|
@${REINPLACE_CMD} -i '' -e 's|%%LOCALBASE%%|${LOCALBASE}|' \
|
|
|
|
-e 's|%%JAVA_HOME%%|${JAVA_HOME}|' \
|
|
|
|
${WRKSRC}/denature
|
2004-01-13 09:45:54 +01:00
|
|
|
|
|
|
|
do-build:
|
|
|
|
cd ${WRKSRC} && ${POD2MAN} denature > denature.1
|
|
|
|
|
|
|
|
do-install:
|
2014-01-26 13:36:59 +01:00
|
|
|
${INSTALL_SCRIPT} ${WRKSRC}/denature ${STAGEDIR}${PREFIX}/bin
|
|
|
|
${INSTALL_MAN} ${WRKSRC}/denature.1 ${STAGEDIR}${MAN1PREFIX}/man/man1
|
2004-01-13 09:45:54 +01:00
|
|
|
|
|
|
|
.include <bsd.port.mk>
|