Skip site navigation (1)Skip section navigation (2)
Date:      Thu, 22 Oct 2020 08:37:06 +0000 (UTC)
From:      Li-Wen Hsu <lwhsu@FreeBSD.org>
To:        ports-committers@freebsd.org, svn-ports-all@freebsd.org, svn-ports-head@freebsd.org
Subject:   svn commit: r552949 - head/graphics/graphite2
Message-ID:  <202010220837.09M8b6Hf007744@repo.freebsd.org>

next in thread | raw e-mail | index | archive | help
Author: lwhsu
Date: Thu Oct 22 08:37:06 2020
New Revision: 552949
URL: https://svnweb.freebsd.org/changeset/ports/552949

Log:
  graphics/graphite2: Use release archive and add test target
  
  PR:		250003
  Submitted by:	daniel.engberg.lists@pyret.net

Modified:
  head/graphics/graphite2/Makefile
  head/graphics/graphite2/distinfo

Modified: head/graphics/graphite2/Makefile
==============================================================================
--- head/graphics/graphite2/Makefile	Thu Oct 22 08:32:06 2020	(r552948)
+++ head/graphics/graphite2/Makefile	Thu Oct 22 08:37:06 2020	(r552949)
@@ -1,8 +1,9 @@
 # $FreeBSD$
 
 PORTNAME=	graphite2
-PORTVERSION=	1.3.14
+DISTVERSION=	1.3.14
 CATEGORIES=	graphics print
+MASTER_SITES=	https://github.com/silnrsi/graphite/releases/download/${DISTVERSION}/
 
 MAINTAINER=	office@FreeBSD.org
 COMMENT=	Rendering capabilities for complex non-Roman writing systems
@@ -11,12 +12,12 @@ LICENSE=	GPLv2 LGPL21 MPL20
 LICENSE_COMB=	dual
 LICENSE_FILE_LGPL21=	${WRKSRC}/LICENSE
 
-USES=		cmake compiler:c++11-lib
+TEST_DEPENDS=	${PYTHON_PKGNAMEPREFIX}fonttools3>0:print/py-fonttools3@${PY_FLAVOR}
+
+USES=		cmake compiler:c++11-lib python:test tar:tgz
 USE_LDCONFIG=	yes
 
-USE_GITHUB=	yes
-GH_ACCOUNT=	silnrsi
-GH_PROJECT=	graphite
+TEST_TARGET=	test
 
 post-patch:
 	@${REINPLACE_CMD} -e 's|/pkgconfig|data&|' ${WRKSRC}/CMakeLists.txt

Modified: head/graphics/graphite2/distinfo
==============================================================================
--- head/graphics/graphite2/distinfo	Thu Oct 22 08:32:06 2020	(r552948)
+++ head/graphics/graphite2/distinfo	Thu Oct 22 08:37:06 2020	(r552949)
@@ -1,3 +1,3 @@
-TIMESTAMP = 1585709593
-SHA256 (silnrsi-graphite-1.3.14_GH0.tar.gz) = 7a3b342c5681921ce2e0c2496509d30b5b078399d5a7bd2358f95166d57d91df
-SIZE (silnrsi-graphite-1.3.14_GH0.tar.gz) = 6629829
+TIMESTAMP = 1601274903
+SHA256 (graphite2-1.3.14.tgz) = f99d1c13aa5fa296898a181dff9b82fb25f6cc0933dbaa7a475d8109bd54209d
+SIZE (graphite2-1.3.14.tgz) = 6630061



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