blob: 47dfdab3af803dc11b81f70b95790e1b5a153f0a (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
|
# $NetBSD: Makefile,v 1.14 2021/01/09 01:21:53 gdt Exp $
DISTNAME= graphite2-1.3.14
CATEGORIES= graphics
MASTER_SITES= ${MASTER_SITE_SOURCEFORGE:=silgraphite/}
EXTRACT_SUFX= .tgz
MAINTAINER= pkgsrc-users@NetBSD.org
HOMEPAGE= http://graphite.sil.org/
COMMENT= Cross-platform rendering for complex writing systems
LICENSE= gnu-lgpl-v2
USE_LANGUAGES= c c++11
USE_CMAKE= yes
USE_LIBTOOL= yes
# C++11
GCC_REQD+= 4.8
.include "../../mk/bsd.prefs.mk"
.if ${OPSYS} == "Linux"
# Linux seems to need this to build by default, but apparently it is
# only used for test, so for now use 'build' dependency
BUILDLINK_DEPMETHOD.freetype2?= build
.include "../../graphics/freetype2/buildlink3.mk"
.endif
# python and py-fonttools seem to be used only during test
# uncomment the following to do so
#TEST_TARGET= test
#PYTHON_FOR_BUILD_ONLY?= tool
#.include "../../lang/python/tool.mk"
#BUILD_DEPENDS+= ${PYPKGPREFIX}-fonttools-[0-9]*:../../fonts/py-fonttools/
.include "../../mk/bsd.pkg.mk"
|