bf43557044
armv7, mark them so. This is part two of a multipart commit to bring armv7 ports to parity with armv6. Approved by: portmgr (tier-2 blanket) Obtained from: lonesome.com -exp run
45 lines
950 B
Makefile
45 lines
950 B
Makefile
# 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
|
|
|
|
BROKEN_armv6= fails to build: modbuild.xml: Java returned: 1
|
|
BROKEN_armv7= fails to build: modbuild.xml: Java returned: 1
|
|
|
|
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>
|