blob: 1efd748e7ee32bf4e27a908444226e7c24fdff91 (
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
35
36
37
38
39
40
41
|
# Created by: Kimura Fuyuki <fuyuki@mj.0038.net>
# $FreeBSD$
PORTNAME= jing
PORTVERSION= 2015.11.27
CATEGORIES= textproc java
MAINTAINER= gabor@FreeBSD.org
COMMENT= RELAX NG validator in Java
LICENSE= BSD3CLAUSE
LICENSE_FILE= ${WRKSRC}/copying.txt
USE_GITHUB= yes
GH_ACCOUNT= relaxng
GH_PROJECT= jing-trang
GH_TAGNAME= 1e74846
USE_JAVA= yes
JAVA_VERSION= 1.6+
JAVA_BUILD= yes
JAVA_RUN= yes
OPTIONS_DEFINE= DOCS
PORTDOCS= *
SUB_FILES= jing.sh
PLIST_FILES= bin/jing %%JAVAJARDIR%%/jing.jar
do-build:
(cd ${WRKSRC} && JAVA_HOME=${JAVA_HOME} ./ant)
do-install:
${INSTALL_SCRIPT} ${WRKDIR}/jing.sh ${STAGEDIR}${PREFIX}/bin/jing
${INSTALL_DATA} ${WRKSRC}/build/jing.jar ${STAGEDIR}${JAVAJARDIR}
@${MKDIR} ${STAGEDIR}${DOCSDIR}
(cd ${WRKSRC}/doc && ${COPYTREE_SHARE} . ${STAGEDIR}${DOCSDIR})
.include <bsd.port.mk>
|