Import epubcheck-4.2.1.

EPUBCheck is a tool to validate the conformance of EPUB publications against
the EPUB specifications. EPUBCheck can be run as a standalone command-line
tool or used as a Java library.

EPUBCheck is open source software, maintained by the DAISY Consortium on
behalf of the W3C.

ok rsadowski@
This commit is contained in:
bentley 2019-06-23 06:50:51 +00:00
parent 0941db94c0
commit bb44ac49db
5 changed files with 72 additions and 0 deletions

View File

@ -0,0 +1,37 @@
# $OpenBSD: Makefile,v 1.1.1.1 2019/06/23 06:50:51 bentley Exp $
PKG_ARCH = *
COMMENT = EPUB validator
V = 4.2.1
DISTNAME = epubcheck-$V
CATEGORIES = textproc
HOMEPAGE = https://github.com/w3c/epubcheck
MAINTAINER = Anthony J. Bentley <anthony@anjbe.name>
# BSD
PERMIT_PACKAGE = Yes
MASTER_SITES = https://github.com/w3c/epubcheck/releases/download/v$V/
EXTRACT_SUFX = .zip
MODULES = java
MODJAVA_VER = 1.8+
RUN_DEPENDS = java/javaPathHelper
NO_BUILD = Yes
NO_TEST = Yes
do-install:
${INSTALL_DATA_DIR} ${PREFIX}/share/epubcheck
${INSTALL_DATA} ${WRKSRC}/epubcheck.jar ${PREFIX}/share/epubcheck
${INSTALL_SCRIPT} ${FILESDIR}/epubcheck ${PREFIX}/bin
${INSTALL_DATA_DIR} ${PREFIX}/share/epubcheck/lib
${INSTALL_DATA} ${WRKSRC}/lib/*.jar ${PREFIX}/share/epubcheck/lib
.include <bsd.port.mk>

View File

@ -0,0 +1,2 @@
SHA256 (epubcheck-4.2.1.zip) = ii/FW5sGCq4WIZK0gzjostNCOSbEg8HaAhg9CBh0yxA=
SIZE (epubcheck-4.2.1.zip) = 11989630

View File

@ -0,0 +1,2 @@
#!/bin/sh
`javaPathHelper -c epubcheck` -jar /usr/local/share/epubcheck/epubcheck.jar $@

View File

@ -0,0 +1,6 @@
EPUBCheck is a tool to validate the conformance of EPUB publications against
the EPUB specifications. EPUBCheck can be run as a standalone command-line
tool or used as a Java library.
EPUBCheck is open source software, maintained by the DAISY Consortium on
behalf of the W3C.

View File

@ -0,0 +1,25 @@
@comment $OpenBSD: PLIST,v 1.1.1.1 2019/06/23 06:50:52 bentley Exp $
bin/epubcheck
share/epubcheck/
share/epubcheck/epubcheck.jar
share/epubcheck/lib/
share/epubcheck/lib/Saxon-HE-9.8.0-8.jar
share/epubcheck/lib/animal-sniffer-annotations-1.14.jar
share/epubcheck/lib/checker-compat-qual-2.0.0.jar
share/epubcheck/lib/common-image-3.4.1.jar
share/epubcheck/lib/common-io-3.4.1.jar
share/epubcheck/lib/common-lang-3.4.1.jar
share/epubcheck/lib/commons-compress-1.18.jar
share/epubcheck/lib/error_prone_annotations-2.1.3.jar
share/epubcheck/lib/guava-24.0-android.jar
share/epubcheck/lib/imageio-core-3.4.1.jar
share/epubcheck/lib/imageio-jpeg-3.4.1.jar
share/epubcheck/lib/imageio-metadata-3.4.1.jar
share/epubcheck/lib/isorelax-20030108.jar
share/epubcheck/lib/j2objc-annotations-1.1.jar
share/epubcheck/lib/jackson-core-asl-1.9.12.jar
share/epubcheck/lib/jackson-mapper-asl-1.9.12.jar
share/epubcheck/lib/jing-20181222.jar
share/epubcheck/lib/jsr305-1.3.9.jar
share/epubcheck/lib/sac-1.3.jar
share/epubcheck/lib/xercesImpl-2.9.1.jar