pkgsrc/graphics/glitz/Makefile
jschauma 721b60b433 Instead of setting compiler flags in each package if it uses C99,
allow USE_LANGUAGES+=c99 and let gcc and mipspro do the right thing.
May need to be reviewed/added for other compilers.
ok rillig@
2006-12-02 22:32:59 +00:00

30 lines
762 B
Makefile

# $NetBSD: Makefile,v 1.23 2006/12/02 22:32:59 jschauma Exp $
DISTNAME= glitz-0.5.6
PKGREVISION= 2
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
PKG_DESTDIR_SUPPORT= user-destdir
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
.if exists(/System/Library/Frameworks/AGL.framework)
PLIST_SUBST+= AGL=""
CONFIGURE_ENV+= AGL_LIBS="-framework AGL"
.else
PLIST_SUBST+= AGL="@comment "
.endif
.include "options.mk"
.include "../../mk/pthread.buildlink3.mk"
.include "../../mk/bsd.pkg.mk"