pkgsrc-Changes-HG archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]

[pkgsrc/trunk]: pkgsrc/textproc/epubcheck Initial import of epubcheck-1.0.3:



details:   https://anonhg.NetBSD.org/pkgsrc/rev/76bcc89e9d2b
branches:  trunk
changeset: 565929:76bcc89e9d2b
user:      wiz <wiz%pkgsrc.org@localhost>
date:      Sun Oct 11 09:36:56 2009 +0000

description:
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:

 textproc/epubcheck/DESCR    |   5 +++++
 textproc/epubcheck/Makefile |  34 ++++++++++++++++++++++++++++++++++
 textproc/epubcheck/PLIST    |   7 +++++++
 textproc/epubcheck/distinfo |   5 +++++
 4 files changed, 51 insertions(+), 0 deletions(-)

diffs (67 lines):

diff -r cfbffb7183e9 -r 76bcc89e9d2b textproc/epubcheck/DESCR
--- /dev/null   Thu Jan 01 00:00:00 1970 +0000
+++ b/textproc/epubcheck/DESCR  Sun Oct 11 09:36:56 2009 +0000
@@ -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 -r cfbffb7183e9 -r 76bcc89e9d2b textproc/epubcheck/Makefile
--- /dev/null   Thu Jan 01 00:00:00 1970 +0000
+++ b/textproc/epubcheck/Makefile       Sun Oct 11 09:36:56 2009 +0000
@@ -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@localhost
+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 -r cfbffb7183e9 -r 76bcc89e9d2b textproc/epubcheck/PLIST
--- /dev/null   Thu Jan 01 00:00:00 1970 +0000
+++ b/textproc/epubcheck/PLIST  Sun Oct 11 09:36:56 2009 +0000
@@ -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 -r cfbffb7183e9 -r 76bcc89e9d2b textproc/epubcheck/distinfo
--- /dev/null   Thu Jan 01 00:00:00 1970 +0000
+++ b/textproc/epubcheck/distinfo       Sun Oct 11 09:36:56 2009 +0000
@@ -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



Home | Main Index | Thread Index | Old Index