blob: 5069d7915e8c1280109b0d6d9b5f0dfd3c9f1455 (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
|
# $NetBSD: Makefile,v 1.2 2008/05/26 02:13:24 joerg Exp $
#
DISTNAME= jing-20030619
CATEGORIES= textproc
MASTER_SITES= http://www.thaiopensource.com/download/
EXTRACT_SUFX= .zip
MAINTAINER= pkgsrc-users@NetBSD.org
HOMEPAGE= http://www.thaiopensource.com/relaxng/trang.html
COMMENT= RELAX NG validator in Java
USE_TOOLS+= pax
USE_JAVA= run
USE_JAVA2= 1.4
do-build:
${ECHO} "#!/bin/sh" > ${WRKSRC}/jing
${ECHO} "${PKG_JAVA_HOME}/bin/java -jar ${PREFIX}/libexec/jing/jing.jar"' "$$@"' >> ${WRKSRC}/jing
do-install:
${INSTALL_SCRIPT} ${WRKSRC}/jing ${PREFIX}/bin
${INSTALL_DATA_DIR} ${PREFIX}/libexec/jing
${INSTALL_DATA} ${WRKSRC}/bin/* ${PREFIX}/libexec/jing
${INSTALL_DATA_DIR} ${PREFIX}/libexec/jing/lib
${INSTALL_DATA} ${WRKSRC}/lib/* ${PREFIX}/libexec/jing/lib
${INSTALL_DATA_DIR} ${PREFIX}/share/doc/jing
${INSTALL_DATA} ${WRKSRC}/readme.html ${PREFIX}/share/doc/jing
${INSTALL_DATA_DIR} ${PREFIX}/share/doc/jing/doc
cd ${WRKSRC}/doc && pax -pp -rw * ${PREFIX}/share/doc/jing/doc
.include "../../mk/java-vm.mk"
.include "../../mk/bsd.pkg.mk"
|