5601726c18
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.
36 lines
1.3 KiB
Makefile
36 lines
1.3 KiB
Makefile
# $NetBSD: Makefile,v 1.4 2010/11/22 18:20:30 gls Exp $
|
|
#
|
|
|
|
DISTNAME= epubcheck-1.1
|
|
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.1.jar"' "$$@"' >> ${WRKSRC}/epubcheck
|
|
|
|
do-install:
|
|
${INSTALL_SCRIPT} ${WRKSRC}/epubcheck ${DESTDIR}${PREFIX}/bin
|
|
${INSTALL_DATA} ${WRKSRC}/epubcheck-1.1.jar ${DESTDIR}${PREFIX}/libexec/epubcheck
|
|
# XXX: depend on saxon instead?
|
|
${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}/README.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/bsd.pkg.mk"
|