diff --git a/graphics/Makefile b/graphics/Makefile index c8838f8e4e54..139807cbc76d 100644 --- a/graphics/Makefile +++ b/graphics/Makefile @@ -127,6 +127,7 @@ SUBDIR += glew SUBDIR += glfw SUBDIR += glide3 + SUBDIR += glitz SUBDIR += gliv SUBDIR += gltk SUBDIR += gltt diff --git a/graphics/glitz/Makefile b/graphics/glitz/Makefile new file mode 100644 index 000000000000..e93b560a90c7 --- /dev/null +++ b/graphics/glitz/Makefile @@ -0,0 +1,33 @@ +# New ports collection makefile for: glitz +# Date created: 2004-10-06 +# Whom: Michael Johnson +# +# $FreeBSD$ +# + +PORTNAME= glitz +PORTVERSION= 0.2.3 +CATEGORIES= graphics +MASTER_SITES= http://cairographics.org/snapshots/ + +MAINTAINER= ahze@ahze.net +COMMENT= OpenGL image compositing library + +USE_REINPLACE= yes +USE_GL= yes +USE_GNOME= pkgconfig gnometarget gnomehack +USE_LIBTOOL_VER=15 +INSTALLS_SHLIB= yes + +CONFIGURE_ENV= CPPFLAGS="${PTHREAD_CLFAGS}" \ + LDFLAGS="${PTHREAD_LDFLAGS}" + +.include + +post-patch: +.if ${OSVERSION} < 500000 + @${REINPLACE_CMD} -e 's|stdint.h|inttypes.h|' \ + ${WRKSRC}/src/glitz.h +.endif + +.include diff --git a/graphics/glitz/distinfo b/graphics/glitz/distinfo new file mode 100644 index 000000000000..8d621dfa0b8d --- /dev/null +++ b/graphics/glitz/distinfo @@ -0,0 +1,2 @@ +MD5 (glitz-0.2.3.tar.gz) = e5b0994978ca8c2dadde45743cce6df2 +SIZE (glitz-0.2.3.tar.gz) = 370765 diff --git a/graphics/glitz/pkg-descr b/graphics/glitz/pkg-descr new file mode 100644 index 000000000000..5330a3baa854 --- /dev/null +++ b/graphics/glitz/pkg-descr @@ -0,0 +1,5 @@ +Glitz is an OpenGL image compositing library. Glitz provides +Porter/Duff compositing of images and implicit mask generation for +geometric primitives including trapezoids, triangles, and rectangles. + +WWW: http://www.cairographics.org/ diff --git a/graphics/glitz/pkg-plist b/graphics/glitz/pkg-plist new file mode 100644 index 000000000000..176914f9a20f --- /dev/null +++ b/graphics/glitz/pkg-plist @@ -0,0 +1,10 @@ +include/glitz-glx.h +include/glitz.h +lib/libglitz-glx.a +lib/libglitz-glx.so +lib/libglitz-glx.so.1 +lib/libglitz.a +lib/libglitz.so +lib/libglitz.so.1 +libdata/pkgconfig/glitz-glx.pc +libdata/pkgconfig/glitz.pc