freebsd-ports/textproc/trang/Makefile
Mark Linimon 28a42395cb Mark some ports failing on armv6. In cases where the error message
was a stub, provide a real one.

While here, pet portlint.

Approved by:	portmgr (tier-2 blanket)
2017-05-26 14:45:53 +00:00

44 lines
1,017 B
Makefile

# Created by: Kimura Fuyuki <fuyuki@nigredo.org>
# $FreeBSD$
PORTNAME= trang
PORTVERSION= 2015.11.27
CATEGORIES= textproc java
MAINTAINER= gabor@FreeBSD.org
COMMENT= Multi-format schema converter based on RELAX NG
LICENSE= BSD3CLAUSE
LICENSE_FILE= ${WRKSRC}/trang/copying.txt
BROKEN_armv6= 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= convert-to-xsd-talk.html trang.html trang-manual.html
SUB_FILES= trang.sh
PLIST_FILES= %%JAVAJARDIR%%/trang.jar bin/trang
.include <bsd.port.options.mk>
do-build:
(cd ${WRKSRC} && JAVA_HOME=${JAVA_HOME} ./ant)
do-install:
${INSTALL_DATA} ${WRKSRC}/build/trang.jar ${STAGEDIR}${JAVAJARDIR}
${INSTALL_SCRIPT} ${WRKDIR}/trang.sh ${STAGEDIR}${PREFIX}/bin/trang
@${MKDIR} ${STAGEDIR}${DOCSDIR}
${INSTALL_DATA} ${PORTDOCS:S,^,${WRKSRC}/trang/doc/,} ${STAGEDIR}${DOCSDIR}
.include <bsd.port.mk>