graphics/graphite2: Use release archive and add test target

PR:		250003
Submitted by:	daniel.engberg.lists@pyret.net
This commit is contained in:
Li-Wen Hsu 2020-10-22 08:37:06 +00:00
parent e1e714b1ff
commit c59e8b5d33
Notes: svn2git 2021-03-31 03:12:20 +00:00
svn path=/head/; revision=552949
2 changed files with 9 additions and 8 deletions

View file

@ -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

View file

@ -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