1 # $NetBSD: Makefile,v 1.24 2008/04/12 22:43:01 jlam Exp $
6 MASTER_SITES= http://cairographics.org/snapshots/
8 MAINTAINER= adam@NetBSD.org
9 HOMEPAGE= http://freedesktop.org/Software/glitz
10 COMMENT= OpenGL 2D graphics library and a backend for gl output in cairo
12 PKG_DESTDIR_SUPPORT= user-destdir
17 PKGCONFIG_OVERRIDE= src/agl/glitz-agl.pc.in src/glx/glitz-glx.pc.in \
21 .if exists(/System/Library/Frameworks/AGL.framework)
23 CONFIGURE_ENV+= AGL_LIBS="-framework AGL"
26 .include "../../mk/bsd.prefs.mk"
28 # This is for the benefit of the configure test; libglitz-glx already
29 # links against libpthread.
30 .if ${OPSYS} == "IRIX"
31 BUILDLINK_TRANSFORM+= l:GL:GL:pthread
36 .include "../../mk/pthread.buildlink3.mk"
37 .include "../../mk/bsd.pkg.mk"