1
0
mirror of https://git.FreeBSD.org/ports.git synced 2024-12-25 04:43:33 +00:00

- Update to 0.95

PR:		129854
Submitted by:	José García Juanino <jjuanino@gmail.com> (maintainer)
This commit is contained in:
Martin Wilke 2009-01-10 16:10:48 +00:00
parent 0314d16525
commit 915f30a038
Notes: svn2git 2021-03-31 03:12:20 +00:00
svn path=/head/; revision=225661
3 changed files with 42 additions and 1578 deletions

View File

@ -6,14 +6,12 @@
#
PORTNAME= fop
PORTVERSION= 0.94
PORTREVISION= 1
PORTVERSION= 0.95
CATEGORIES= textproc java
MASTER_SITES= ${MASTER_SITE_APACHE:S/$/:fop/} \
${MASTER_SITE_SOURCEFORGE:S/$/:hyph/}
MASTER_SITE_SUBDIR= xmlgraphics/fop/:fop offo/:hyph
${MASTER_SITE_SOURCEFORGE:S/$/:hyph/}
MASTER_SITE_SUBDIR= xmlgraphics/fop/source/:fop offo/:hyph
DISTNAME= ${PORTNAME}-${PORTVERSION}-src
#DATADIR= ${JAVASHAREDIR}/${PORTNAME}
DISTFILES= ${DISTNAME}.tar.gz:fop offo-hyphenation.zip:hyph
EXTRACT_ONLY= ${DISTNAME}.tar.gz
@ -23,24 +21,32 @@ 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.2+
JAVA_VERSION= 1.4+
USE_ANT= yes
post-extract:
cd ${WRKDIR} && ${UNZIP_CMD} ${DISTDIR}/offo-hyphenation.zip
${CP} ${WRKDIR}/offo-hyphenation/hyph/*.xml ${WRKSRC}/hyph
@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}/{} \;
.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>

View File

@ -1,6 +1,6 @@
MD5 (fop-0.94-src.tar.gz) = f9544efe8130f8b3b65940e88ae0fe27
SHA256 (fop-0.94-src.tar.gz) = b1db5b7a46c529a4b5034a3986b013320452dd2af0984f294b1ddc8a852fa099
SIZE (fop-0.94-src.tar.gz) = 11853559
MD5 (fop-0.95-src.tar.gz) = 58593e6c86be17d7dc03c829630fd152
SHA256 (fop-0.95-src.tar.gz) = caef6a9761e762a6e8a73a8de70a7ce3357c229c678efddcdba54498eb0e7eb2
SIZE (fop-0.95-src.tar.gz) = 13132767
MD5 (offo-hyphenation.zip) = 0b8c1657ef70285ad7fd514061b08c3e
SHA256 (offo-hyphenation.zip) = f877d0c642bc187918ff66415d4289fa30cf5bdeb8c7ba880dbe378e133ee3d2
SIZE (offo-hyphenation.zip) = 359817

File diff suppressed because it is too large Load Diff