1
0
mirror of https://git.FreeBSD.org/ports.git synced 2025-01-28 10:08:24 +00:00
freebsd-ports/textproc/fop/Makefile
Edwin Groothuis 090059a210 Bump portrevision due to upgrade of devel/gettext.
The affected ports are the ones with gettext as a run-dependency
according to ports/INDEX-7 (5007 of them) and the ones with USE_GETTEXT
in Makefile (29 of them).

PR:             ports/124340
Submitted by:   edwin@
Approved by:    portmgr (pav)
2008-06-06 14:17:21 +00:00

47 lines
1.4 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= 0.94
PORTREVISION= 1
CATEGORIES= textproc java
MASTER_SITES= ${MASTER_SITE_APACHE:S/$/:fop/} \
${MASTER_SITE_SOURCEFORGE:S/$/:hyph/}
MASTER_SITE_SUBDIR= xmlgraphics/fop/:fop offo/:hyph
DISTNAME= ${PORTNAME}-${PORTVERSION}-src
#DATADIR= ${JAVASHAREDIR}/${PORTNAME}
DISTFILES= ${DISTNAME}.tar.gz:fop offo-hyphenation.zip:hyph
EXTRACT_ONLY= ${DISTNAME}.tar.gz
MAINTAINER= jjuanino@gmail.com
COMMENT= Print formatter driven by XSL formatting
EXTRACT_DEPENDS+= unzip:${PORTSDIR}/archivers/unzip
WRKSRC= ${WRKDIR}/${DISTNAME:S/-src//}
USE_JAVA= yes
JAVA_VERSION= 1.2+
USE_ANT= yes
post-extract:
cd ${WRKDIR} && ${UNZIP_CMD} ${DISTDIR}/offo-hyphenation.zip
${CP} ${WRKDIR}/offo-hyphenation/hyph/*.xml ${WRKSRC}/hyph
do-install:
${MKDIR} ${DATADIR}
cd ${WRKSRC}; \
${INSTALL_DATA} LICENSE README known-issues.xml status.xml build.xml ${DATADIR}/
${INSTALL_SCRIPT} ${WRKSRC}/fop ${DATADIR}
${INSTALL_SCRIPT} ${WRKSRC}/fop ${DATADIR}/fop
${LN} -s ${DATADIR}/fop ${PREFIX}/bin/fop
cd ${WRKSRC} \
&& ${FIND} conf lib hyph build -type d -exec ${MKDIR} ${DATADIR}/{} \; \
&& ${FIND} conf lib hyph build -type f -exec ${INSTALL_DATA} {} ${DATADIR}/{} \;
.include <bsd.port.mk>