2008-05-19 15:47:45 +02:00
|
|
|
# $NetBSD: Makefile,v 1.25 2008/05/19 13:47:45 tnn Exp $
|
2004-04-27 14:11:43 +02:00
|
|
|
|
2006-07-04 17:12:58 +02:00
|
|
|
DISTNAME= glitz-0.5.6
|
2006-08-03 20:22:16 +02:00
|
|
|
PKGREVISION= 2
|
2004-04-27 14:11:43 +02:00
|
|
|
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
|
|
|
|
|
2006-11-05 18:17:04 +01:00
|
|
|
PKG_DESTDIR_SUPPORT= user-destdir
|
|
|
|
|
2006-12-02 23:32:59 +01:00
|
|
|
USE_LANGUAGES+= c99
|
2004-04-27 14:11:43 +02:00
|
|
|
USE_LIBTOOL= yes
|
|
|
|
GNU_CONFIGURE= yes
|
2006-04-06 18:23:41 +02:00
|
|
|
PKGCONFIG_OVERRIDE= src/agl/glitz-agl.pc.in src/glx/glitz-glx.pc.in \
|
|
|
|
src/glitz.pc.in
|
2004-04-27 14:11:43 +02:00
|
|
|
|
2008-04-13 00:42:57 +02:00
|
|
|
PLIST_VARS+= agl
|
2006-06-18 15:17:12 +02:00
|
|
|
.if exists(/System/Library/Frameworks/AGL.framework)
|
2008-04-13 00:42:57 +02:00
|
|
|
PLIST.agl= yes
|
|
|
|
CONFIGURE_ENV+= AGL_LIBS="-framework AGL"
|
2006-06-18 15:17:12 +02:00
|
|
|
.endif
|
|
|
|
|
2008-05-19 15:47:45 +02:00
|
|
|
.include "../../mk/bsd.prefs.mk"
|
|
|
|
|
|
|
|
# This is for the benefit of the configure test; libglitz-glx already
|
|
|
|
# links against libpthread.
|
|
|
|
.if ${OPSYS} == "IRIX"
|
|
|
|
BUILDLINK_TRANSFORM+= l:GL:GL:pthread
|
|
|
|
.endif
|
|
|
|
|
2006-07-23 05:42:43 +02:00
|
|
|
.include "options.mk"
|
|
|
|
|
2004-05-04 01:03:21 +02:00
|
|
|
.include "../../mk/pthread.buildlink3.mk"
|
2004-04-27 14:11:43 +02:00
|
|
|
.include "../../mk/bsd.pkg.mk"
|