summaryrefslogtreecommitdiff
path: root/graphics/ftgl/Makefile
blob: 442664c57c3a87d7fac0d0ed8e6ac9f50cf6151b (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
# $NetBSD: Makefile,v 1.4 2021/06/23 20:33:11 nia Exp $

DISTNAME=	ftgl-2.1.3-rc5
PKGNAME=	${DISTNAME:S/-r/r/1}
CATEGORIES=	graphics
MASTER_SITES=	${MASTER_SITE_SOURCEFORGE:=ftgl/}

MAINTAINER=	pkgsrc-users@NetBSD.org
HOMEPAGE=	https://github.com/frankheckenbach/ftgl
COMMENT=	C++ library of Freetype2 in OpenGL applications
LICENSE=	2-clause-bsd

WRKSRC=		${WRKDIR}/ftgl-2.1.3~rc5
GNU_CONFIGURE=	yes
USE_TOOLS+=	gmake gsed pkg-config
USE_LANGUAGES=	c c++
USE_LIBTOOL=	yes

CONFIGURE_ENV+=	ac_cv_path_DOXYGEN=no

CONFIGURE_ARGS+=	--disable-freetypetest
CONFIGURE_ARGS+=	--without-glut-inc
CONFIGURE_ARGS+=	--without-x

PKGCONFIG_OVERRIDE+=	ftgl.pc.in

.include "../../graphics/MesaLib/buildlink3.mk"
.include "../../graphics/freetype2/buildlink3.mk"
.include "../../graphics/glu/buildlink3.mk"
.include "../../mk/bsd.pkg.mk"