textproc/trang: update 2009.11.11 -> 2015.11.27

- change to github

PR:		212898
Submitted by:	Yasuhiro KIMURA <yasu@utahime.org>
Approved by:	gabor (maintainer timeout)
This commit is contained in:
Kurt Jaeger 2016-11-07 15:47:49 +00:00
parent 307040a647
commit cab5f57736
Notes: svn2git 2021-03-31 03:12:20 +00:00
svn path=/head/; revision=425633
2 changed files with 18 additions and 11 deletions

View File

@ -2,36 +2,42 @@
# $FreeBSD$
PORTNAME= trang
PORTVERSION= 2009.11.11
PORTVERSION= 2015.11.27
CATEGORIES= textproc java
MASTER_SITES= http://jing-trang.googlecode.com/files/
DISTNAME= ${PORTNAME}-${PORTVERSION:S/.//g}
DISTNAME= jing-trang-${PORTVERSION:S/.//g}
MAINTAINER= gabor@FreeBSD.org
COMMENT= Multi-format schema converter based on RELAX NG
LICENSE= BSD3CLAUSE
LICENSE_FILE= ${WRKSRC}/trang/copying.txt
BROKEN= Unfetchable (google code has gone away)
USE_GITHUB= yes
GH_ACCOUNT= relaxng
GH_PROJECT= jing-trang
GH_TAGNAME= 1e74846
USES= zip
USE_JAVA= yes
JAVA_VERSION= 1.6+
NO_BUILD= yes
JAVA_BUILD= yes
JAVA_RUN= yes
OPTIONS_DEFINE= DOCS
PORTDOCS= copying.txt trang-manual.html
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}/trang.jar ${STAGEDIR}${JAVAJARDIR}
${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}/,} ${STAGEDIR}${DOCSDIR}
${INSTALL_DATA} ${PORTDOCS:S,^,${WRKSRC}/trang/doc/,} ${STAGEDIR}${DOCSDIR}
.include <bsd.port.mk>

View File

@ -1,2 +1,3 @@
SHA256 (trang-20091111.zip) = d8a3f034f9918ebe5b265aafeadbee6729ddda5732cfc368e2c30b3b8c0ca598
SIZE (trang-20091111.zip) = 1079534
TIMESTAMP = 1474541048
SHA256 (jing-trang-20151127_GH0.tar.gz) = eaf65422d644cd68952249eeb1047a6ed2a0c6f28202ee740b11571d4681202d
SIZE (jing-trang-20151127_GH0.tar.gz) = 13746672