aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorFernando ApesteguĂ­a <fernape@FreeBSD.org>2018-07-13 17:52:43 +0000
committerFernando ApesteguĂ­a <fernape@FreeBSD.org>2018-07-13 17:52:43 +0000
commit8bf4c3f6eaa580ab85f878409aa9badd4d1cf68d (patch)
tree7ca26b457a3ea44d231ef0dd547a0ae8b128a6d3
parent73fc733977c8d7e5ec851fcfe386f3a1c7ce0300 (diff)
downloadports-8bf4c3f6eaa580ab85f878409aa9badd4d1cf68d.tar.gz
ports-8bf4c3f6eaa580ab85f878409aa9badd4d1cf68d.zip
Notes
-rw-r--r--textproc/trang/Makefile11
-rw-r--r--textproc/trang/distinfo6
2 files changed, 9 insertions, 8 deletions
diff --git a/textproc/trang/Makefile b/textproc/trang/Makefile
index 850b477e350d..39d63f3723c3 100644
--- a/textproc/trang/Makefile
+++ b/textproc/trang/Makefile
@@ -2,10 +2,10 @@
# $FreeBSD$
PORTNAME= trang
-PORTVERSION= 2015.11.27
+PORTVERSION= 2017.09.14
CATEGORIES= textproc java
-MAINTAINER= ports@FreeBSD.org
+MAINTAINER= yasu@utahime.org
COMMENT= Multi-format schema converter based on RELAX NG
LICENSE= BSD3CLAUSE
@@ -17,7 +17,7 @@ BROKEN_armv7= fails to build: modbuild.xml: Java returned: 1
USE_GITHUB= yes
GH_ACCOUNT= relaxng
GH_PROJECT= jing-trang
-GH_TAGNAME= 1e74846
+GH_TAGNAME= bf4bafa
USE_JAVA= yes
JAVA_VERSION= 1.6+
@@ -29,9 +29,8 @@ 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>
+PLIST_FILES= ${JAVAJARDIR}/trang.jar bin/trang
do-build:
(cd ${WRKSRC} && JAVA_HOME=${JAVA_HOME} ./ant)
@@ -39,6 +38,8 @@ do-build:
do-install:
${INSTALL_DATA} ${WRKSRC}/build/trang.jar ${STAGEDIR}${JAVAJARDIR}
${INSTALL_SCRIPT} ${WRKDIR}/trang.sh ${STAGEDIR}${PREFIX}/bin/trang
+
+post-install-DOCS-on:
@${MKDIR} ${STAGEDIR}${DOCSDIR}
${INSTALL_DATA} ${PORTDOCS:S,^,${WRKSRC}/trang/doc/,} ${STAGEDIR}${DOCSDIR}
diff --git a/textproc/trang/distinfo b/textproc/trang/distinfo
index aa9dc17b3a52..ff24582bc74e 100644
--- a/textproc/trang/distinfo
+++ b/textproc/trang/distinfo
@@ -1,3 +1,3 @@
-TIMESTAMP = 1480154719
-SHA256 (relaxng-jing-trang-2015.11.27-1e74846_GH0.tar.gz) = eaf65422d644cd68952249eeb1047a6ed2a0c6f28202ee740b11571d4681202d
-SIZE (relaxng-jing-trang-2015.11.27-1e74846_GH0.tar.gz) = 13746672
+TIMESTAMP = 1530065210
+SHA256 (relaxng-jing-trang-2017.09.14-bf4bafa_GH0.tar.gz) = 0d13d085f782a683c3996a885e07a631219f0b242b89c47e27147fcf40b2c455
+SIZE (relaxng-jing-trang-2017.09.14-bf4bafa_GH0.tar.gz) = 13747277