Skip site navigation (1)Skip section navigation (2)
Date:      Mon, 7 Nov 2016 15:47:49 +0000 (UTC)
From:      Kurt Jaeger <pi@FreeBSD.org>
To:        ports-committers@freebsd.org, svn-ports-all@freebsd.org, svn-ports-head@freebsd.org
Subject:   svn commit: r425633 - head/textproc/trang
Message-ID:  <201611071547.uA7Flnxr002599@repo.freebsd.org>

next in thread | raw e-mail | index | archive | help
Author: pi
Date: Mon Nov  7 15:47:49 2016
New Revision: 425633
URL: https://svnweb.freebsd.org/changeset/ports/425633

Log:
  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)

Modified:
  head/textproc/trang/Makefile
  head/textproc/trang/distinfo

Modified: head/textproc/trang/Makefile
==============================================================================
--- head/textproc/trang/Makefile	Mon Nov  7 15:47:41 2016	(r425632)
+++ head/textproc/trang/Makefile	Mon Nov  7 15:47:49 2016	(r425633)
@@ -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>

Modified: head/textproc/trang/distinfo
==============================================================================
--- head/textproc/trang/distinfo	Mon Nov  7 15:47:41 2016	(r425632)
+++ head/textproc/trang/distinfo	Mon Nov  7 15:47:49 2016	(r425633)
@@ -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



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?201611071547.uA7Flnxr002599>