freebsd-ports/graphics/graphite2/Makefile
Daniel Engberg 06d5cbc569 graphics/graphite2: Prevent overlinking library
Avoid overlinking as it potentially cause issues with consumers
This also fixes unit tests for harfbuzz

PR:		248423
Approved by:	portmgr (build fix and maintainer timeout, 2+ years)
2023-02-20 16:10:31 +01:00

26 lines
700 B
Makefile

PORTNAME= graphite2
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
WWW= https://graphite.sil.org
LICENSE= GPLv2 LGPL21 MPL20
LICENSE_COMB= dual
LICENSE_FILE_LGPL21= ${WRKSRC}/LICENSE
TEST_DEPENDS= ${PYTHON_PKGNAMEPREFIX}fonttools>0:print/py-fonttools@${PY_FLAVOR}
LDFLAGS+= -Wl,--as-needed
USES= cmake compiler:c++11-lib cpe python:3.7+,test tar:tgz
USE_LDCONFIG= yes
CPE_VENDOR= sil
TEST_TARGET= test
post-patch:
@${REINPLACE_CMD} -e 's|/pkgconfig|data&|' ${WRKSRC}/CMakeLists.txt
.include <bsd.port.mk>