summaryrefslogtreecommitdiff
path: root/graphics
diff options
context:
space:
mode:
authorminskim <minskim>2006-06-18 13:17:12 +0000
committerminskim <minskim>2006-06-18 13:17:12 +0000
commit7377c6bfc94a5ccfb903827d457e467f46209180 (patch)
treeaee10ce670f3e4518f2d88c91542373b0bd97199 /graphics
parent83735b159afe82c986d53ee88dee7450ebbebe11 (diff)
downloadpkgsrc-7377c6bfc94a5ccfb903827d457e467f46209180.tar.gz
Add missing files to PLIST. Those are installed when the AGL framework
is available. Bump PKGREVISION.
Diffstat (limited to 'graphics')
-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