Update textproc/epubcheck to 1.1

From Ryo ONODERA in PR pkg/44123

Upstream changes:

- Fix for issue [#83]; version bump to 1.1 RC2
- Correction to unmanifested test for files [#80];
- Support for ISO8601 dates [#56];
- Added test for files added to the <guide> but not in the <manifest> [#45]
- Resolution for [#58] and and [#75]
- Clarified the language around the commonly-encountered Saxon configuration problem.
This commit is contained in:
gls 2010-11-22 18:20:30 +00:00
parent 45a771f34f
commit 5601726c18
3 changed files with 15 additions and 11 deletions

View file

@ -1,7 +1,7 @@
# $NetBSD: Makefile,v 1.3 2010/05/02 11:01:41 wiz Exp $ # $NetBSD: Makefile,v 1.4 2010/11/22 18:20:30 gls Exp $
# #
DISTNAME= epubcheck-1.0.5 DISTNAME= epubcheck-1.1
CATEGORIES= textproc CATEGORIES= textproc
MASTER_SITES= http://epubcheck.googlecode.com/files/ MASTER_SITES= http://epubcheck.googlecode.com/files/
EXTRACT_SUFX= .zip EXTRACT_SUFX= .zip
@ -15,20 +15,22 @@ PKG_DESTDIR_SUPPORT= user-destdir
WRKSRC= ${WRKDIR} WRKSRC= ${WRKDIR}
USE_JAVA= run USE_JAVA= run
INSTALLATION_DIRS= bin libexec/epubcheck/lib share/doc/epubcheck INSTALLATION_DIRS= bin libexec/epubcheck/lib share/doc/epubcheck
do-build: do-build:
${ECHO} "#!/bin/sh" > ${WRKSRC}/epubcheck ${ECHO} "#!/bin/sh" > ${WRKSRC}/epubcheck
${ECHO} "${PKG_JAVA_HOME}/bin/java -jar ${PREFIX}/libexec/epubcheck/epubcheck-1.0.5.jar"' "$$@"' >> ${WRKSRC}/epubcheck ${ECHO} "${PKG_JAVA_HOME}/bin/java -jar ${PREFIX}/libexec/epubcheck/epubcheck-1.1.jar"' "$$@"' >> ${WRKSRC}/epubcheck
do-install: do-install:
${INSTALL_SCRIPT} ${WRKSRC}/epubcheck ${DESTDIR}${PREFIX}/bin ${INSTALL_SCRIPT} ${WRKSRC}/epubcheck ${DESTDIR}${PREFIX}/bin
${INSTALL_DATA} ${WRKSRC}/epubcheck-1.0.5.jar ${DESTDIR}${PREFIX}/libexec/epubcheck ${INSTALL_DATA} ${WRKSRC}/epubcheck-1.1.jar ${DESTDIR}${PREFIX}/libexec/epubcheck
# XXX: depend on saxon instead? # XXX: depend on saxon instead?
${INSTALL_DATA} ${WRKSRC}/lib/saxon.jar ${DESTDIR}${PREFIX}/libexec/epubcheck/lib ${INSTALL_DATA} ${WRKSRC}/lib/saxon.jar ${DESTDIR}${PREFIX}/libexec/epubcheck/lib
${INSTALL_DATA} ${WRKSRC}/lib/jigsaw.jar ${DESTDIR}${PREFIX}/libexec/epubcheck/lib
${INSTALL_DATA} ${WRKSRC}/COPYING.txt ${DESTDIR}${PREFIX}/share/doc/epubcheck ${INSTALL_DATA} ${WRKSRC}/COPYING.txt ${DESTDIR}${PREFIX}/share/doc/epubcheck
${INSTALL_DATA} ${WRKSRC}/README.txt ${DESTDIR}${PREFIX}/share/doc/epubcheck ${INSTALL_DATA} ${WRKSRC}/README.txt ${DESTDIR}${PREFIX}/share/doc/epubcheck
${INSTALL_DATA} ${WRKSRC}/jing_license.txt ${DESTDIR}${PREFIX}/share/doc/epubcheck ${INSTALL_DATA} ${WRKSRC}/jing_license.txt ${DESTDIR}${PREFIX}/share/doc/epubcheck
${INSTALL_DATA} ${WRKSRC}/jigsaw_license.txt ${DESTDIR}${PREFIX}/share/doc/epubcheck
.include "../../mk/java-vm.mk" .include "../../mk/java-vm.mk"
.include "../../mk/bsd.pkg.mk" .include "../../mk/bsd.pkg.mk"

View file

@ -1,7 +1,9 @@
@comment $NetBSD: PLIST,v 1.3 2010/05/02 11:01:41 wiz Exp $ @comment $NetBSD: PLIST,v 1.4 2010/11/22 18:20:30 gls Exp $
bin/epubcheck bin/epubcheck
libexec/epubcheck/epubcheck-1.0.5.jar libexec/epubcheck/${PKGNAME}.jar
libexec/epubcheck/lib/jigsaw.jar
libexec/epubcheck/lib/saxon.jar libexec/epubcheck/lib/saxon.jar
share/doc/epubcheck/COPYING.txt share/doc/epubcheck/COPYING.txt
share/doc/epubcheck/README.txt share/doc/epubcheck/README.txt
share/doc/epubcheck/jigsaw_license.txt
share/doc/epubcheck/jing_license.txt share/doc/epubcheck/jing_license.txt

View file

@ -1,5 +1,5 @@
$NetBSD: distinfo,v 1.3 2010/05/02 11:01:42 wiz Exp $ $NetBSD: distinfo,v 1.4 2010/11/22 18:20:30 gls Exp $
SHA1 (epubcheck-1.0.5.zip) = 31f3740b65da142803c1e3d25c7c77fd632913dd SHA1 (epubcheck-1.1.zip) = 661e127aa57a0e2f5aecf16c1775e10b2984b54b
RMD160 (epubcheck-1.0.5.zip) = b7577716915fcc5867d1f83068d14e9e1ae72ef1 RMD160 (epubcheck-1.1.zip) = 773c733f6e1b9a63ea230752114508ad924ffe60
Size (epubcheck-1.0.5.zip) = 1300359 bytes Size (epubcheck-1.1.zip) = 2283374 bytes