summaryrefslogtreecommitdiff
path: root/graphics/glitz/Makefile
blob: f7a857b56becc403b3c6eb576f58bfc8e3b2ef5f (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
# $NetBSD: Makefile,v 1.28 2016/02/25 13:37:47 jperkin Exp $

DISTNAME=	glitz-0.5.6
PKGREVISION=	3
CATEGORIES=	graphics
MASTER_SITES=	http://cairographics.org/snapshots/

MAINTAINER=	adam@NetBSD.org
HOMEPAGE=	http://freedesktop.org/Software/glitz
COMMENT=	OpenGL 2D graphics library and a backend for gl output in cairo

USE_LANGUAGES+=		c99
USE_LIBTOOL=		yes
GNU_CONFIGURE=		yes
PKGCONFIG_OVERRIDE=	src/agl/glitz-agl.pc.in src/glx/glitz-glx.pc.in \
			src/glitz.pc.in

PLIST_VARS+=		agl
.if exists(/System/Library/Frameworks/AGL.framework)
PLIST.agl=		yes
CONFIGURE_ENV+=		AGL_LIBS="-framework AGL"
.endif

# This is for the benefit of the configure test; libglitz-glx already
# links against libpthread.
BUILDLINK_TRANSFORM.IRIX+=	l:GL:GL:pthread

.include "options.mk"

.include "../../mk/pthread.buildlink3.mk"
.include "../../mk/bsd.pkg.mk"