diff options
author | wiz <wiz> | 2009-10-11 09:36:56 +0000 |
---|---|---|
committer | wiz <wiz> | 2009-10-11 09:36:56 +0000 |
commit | 315147c7b657bab81480c21d25e52943d30235de (patch) | |
tree | 77ed7e7634ab63e67997857afc142a50e386734a /textproc/epubcheck | |
parent | be4faeefac177438eb11cf8668a9c5177629b23b (diff) | |
download | pkgsrc-315147c7b657bab81480c21d25e52943d30235de.tar.gz |
Initial import of epubcheck-1.0.3:
EpubCheck is a tool to validate IDPF Epub files. It can detect many
types of errors in Epub. OCF container structure, OPF and OPS
mark-up, and internal reference consistency are checked. EpubCheck
can be run as a standalone command-line tool, installed as a web
application or used as a library.
Diffstat (limited to 'textproc/epubcheck')
-rw-r--r-- | textproc/epubcheck/DESCR | 5 | ||||
-rw-r--r-- | textproc/epubcheck/Makefile | 34 | ||||
-rw-r--r-- | textproc/epubcheck/PLIST | 7 | ||||
-rw-r--r-- | textproc/epubcheck/distinfo | 5 |
4 files changed, 51 insertions, 0 deletions
diff --git a/textproc/epubcheck/DESCR b/textproc/epubcheck/DESCR new file mode 100644 index 00000000000..d126e29b354 --- /dev/null +++ b/textproc/epubcheck/DESCR @@ -0,0 +1,5 @@ +EpubCheck is a tool to validate IDPF Epub files. It can detect many +types of errors in Epub. OCF container structure, OPF and OPS +mark-up, and internal reference consistency are checked. EpubCheck +can be run as a standalone command-line tool, installed as a web +application or used as a library. diff --git a/textproc/epubcheck/Makefile b/textproc/epubcheck/Makefile new file mode 100644 index 00000000000..749e3d05d5c --- /dev/null +++ b/textproc/epubcheck/Makefile @@ -0,0 +1,34 @@ +# $NetBSD: Makefile,v 1.1.1.1 2009/10/11 09:36:56 wiz Exp $ +# + +DISTNAME= epubcheck-1.0.3 +CATEGORIES= textproc +MASTER_SITES= http://epubcheck.googlecode.com/files/ +EXTRACT_SUFX= .zip + +MAINTAINER= pkgsrc-users@NetBSD.org +HOMEPAGE= http://epubcheck.googlecode.com/ +COMMENT= Tool to validate IDPF Epub files +LICENSE= mit + +PKG_DESTDIR_SUPPORT= user-destdir + +WRKSRC= ${WRKDIR} +USE_JAVA= run +INSTALLATION_DIRS= bin libexec/epubcheck/lib share/doc/epubcheck + +do-build: + ${ECHO} "#!/bin/sh" > ${WRKSRC}/epubcheck + ${ECHO} "${PKG_JAVA_HOME}/bin/java -jar ${PREFIX}/libexec/epubcheck/epubcheck-1.0.3.jar"' "$$@"' >> ${WRKSRC}/epubcheck + +do-install: + ${INSTALL_SCRIPT} ${WRKSRC}/epubcheck ${DESTDIR}${PREFIX}/bin + ${INSTALL_DATA} ${WRKSRC}/epubcheck-1.0.3.jar ${DESTDIR}${PREFIX}/libexec/epubcheck +# XXX: depend on saxon instead? + ${INSTALL_DATA} ${WRKSRC}/lib/saxon.jar ${DESTDIR}${PREFIX}/libexec/epubcheck/lib + ${INSTALL_DATA} ${WRKSRC}/COPYING.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 + +.include "../../mk/java-vm.mk" +.include "../../mk/bsd.pkg.mk" diff --git a/textproc/epubcheck/PLIST b/textproc/epubcheck/PLIST new file mode 100644 index 00000000000..95306cd9340 --- /dev/null +++ b/textproc/epubcheck/PLIST @@ -0,0 +1,7 @@ +@comment $NetBSD: PLIST,v 1.1.1.1 2009/10/11 09:36:56 wiz Exp $ +bin/epubcheck +libexec/epubcheck/epubcheck-1.0.3.jar +libexec/epubcheck/lib/saxon.jar +share/doc/epubcheck/COPYING.txt +share/doc/epubcheck/README.txt +share/doc/epubcheck/jing_license.txt diff --git a/textproc/epubcheck/distinfo b/textproc/epubcheck/distinfo new file mode 100644 index 00000000000..15b61c2628b --- /dev/null +++ b/textproc/epubcheck/distinfo @@ -0,0 +1,5 @@ +$NetBSD: distinfo,v 1.1.1.1 2009/10/11 09:36:56 wiz Exp $ + +SHA1 (epubcheck-1.0.3.zip) = f629f1c1b43f67475785b4a98c481ab1e8465664 +RMD160 (epubcheck-1.0.3.zip) = 63ed6a01253aa86c644697fa52ce5d369481f2d9 +Size (epubcheck-1.0.3.zip) = 1287416 bytes |