summaryrefslogtreecommitdiff
path: root/graphics/glitz
diff options
context:
space:
mode:
authorminskim <minskim@pkgsrc.org>2006-06-18 13:17:12 +0000
committerminskim <minskim@pkgsrc.org>2006-06-18 13:17:12 +0000
commit6f7afb3c8716f51330a22624ed91a3daef7cb993 (patch)
treeaee10ce670f3e4518f2d88c91542373b0bd97199 /graphics/glitz
parent03e9145d5d53b9f8817b7316b9b664c8f41f5431 (diff)
downloadpkgsrc-6f7afb3c8716f51330a22624ed91a3daef7cb993.tar.gz
Add missing files to PLIST. Those are installed when the AGL framework
is available. Bump PKGREVISION.
Diffstat (limited to 'graphics/glitz')
-rw-r--r--graphics/glitz/Makefile10
-rw-r--r--graphics/glitz/PLIST5
2 files changed, 12 insertions, 3 deletions
diff --git a/graphics/glitz/Makefile b/graphics/glitz/Makefile
index 0e1f3f2cfe2..65e2fe6427a 100644
--- a/graphics/glitz/Makefile
+++ b/graphics/glitz/Makefile
@@ -1,7 +1,7 @@
-# $NetBSD: Makefile,v 1.16 2006/04/17 18:09:48 reed Exp $
+# $NetBSD: Makefile,v 1.17 2006/06/18 13:17:12 minskim Exp $
DISTNAME= glitz-0.4.4
-PKGREVISION= 3
+PKGREVISION= 4
CATEGORIES= graphics
MASTER_SITES= http://cairographics.org/snapshots/
@@ -16,6 +16,12 @@ PKGCONFIG_OVERRIDE= src/agl/glitz-agl.pc.in src/glx/glitz-glx.pc.in \
LIBS.Darwin+= -lXext
+.if exists(/System/Library/Frameworks/AGL.framework)
+PLIST_SUBST+= AGL=""
+.else
+PLIST_SUBST+= AGL="@comment "
+.endif
+
.include "../../mk/compiler.mk"
.if !empty(PKGSRC_COMPILER:Mmipspro*)
diff --git a/graphics/glitz/PLIST b/graphics/glitz/PLIST
index 6285aa30dec..2b4694500da 100644
--- a/graphics/glitz/PLIST
+++ b/graphics/glitz/PLIST
@@ -1,7 +1,10 @@
-@comment $NetBSD: PLIST,v 1.2 2004/09/22 08:09:33 jlam Exp $
+@comment $NetBSD: PLIST,v 1.3 2006/06/18 13:17:12 minskim Exp $
+${AGL}include/glitz-agl.h
include/glitz-glx.h
include/glitz.h
+${AGL}lib/libglitz-agl.la
lib/libglitz-glx.la
lib/libglitz.la
+${AGL}lib/pkgconfig/glitz-agl.pc
lib/pkgconfig/glitz-glx.pc
lib/pkgconfig/glitz.pc