aboutsummaryrefslogtreecommitdiff
path: root/graphics
diff options
context:
space:
mode:
authorPav Lucistnik <pav@FreeBSD.org>2004-12-11 23:09:01 +0000
committerPav Lucistnik <pav@FreeBSD.org>2004-12-11 23:09:01 +0000
commita2c608fbf4a4155d6b4c3fae2bab44e9c0539ad0 (patch)
tree2773d1c9443a66486834d6d134b6a6aa1f508b1c /graphics
parent80f7b976939168b67fb675d41d98b20dd8e6881d (diff)
downloadports-a2c608fbf4a4155d6b4c3fae2bab44e9c0539ad0.tar.gz
ports-a2c608fbf4a4155d6b4c3fae2bab44e9c0539ad0.zip
Notes
Diffstat (limited to 'graphics')
-rw-r--r--graphics/Makefile1
-rw-r--r--graphics/libggigcp/Makefile72
-rw-r--r--graphics/libggigcp/distinfo2
-rw-r--r--graphics/libggigcp/pkg-descr5
-rw-r--r--graphics/libggigcp/pkg-plist17
5 files changed, 97 insertions, 0 deletions
diff --git a/graphics/Makefile b/graphics/Makefile
index f38efdf658e5..2d7980e5d6e8 100644
--- a/graphics/Makefile
+++ b/graphics/Makefile
@@ -244,6 +244,7 @@
SUBDIR += libfpx
SUBDIR += libgdgeda
SUBDIR += libggi
+ SUBDIR += libggigcp
SUBDIR += libggimisc
SUBDIR += libggiwmh
SUBDIR += libglut
diff --git a/graphics/libggigcp/Makefile b/graphics/libggigcp/Makefile
new file mode 100644
index 000000000000..9c94e6c30818
--- /dev/null
+++ b/graphics/libggigcp/Makefile
@@ -0,0 +1,72 @@
+# New ports collection makefile for: libggigcp
+# Date created: 7 December 2004
+# Whom: antoine.brodin@laposte.net
+#
+# $FreeBSD$
+#
+
+PORTNAME= libggigcp
+PORTVERSION= 0.9.0
+CATEGORIES= graphics devel
+MASTER_SITES= http://www.ggi-project.org/ftp/ggi/v2.1/ \
+ ${MASTER_SITE_SOURCEFORGE}
+MASTER_SITE_SUBDIR= ggi
+DISTNAME= ${PORTNAME}-${PORTVERSION}.src
+
+MAINTAINER= antoine.brodin@laposte.net
+COMMENT= A libggi extension for advanced color and palette handling
+
+LIB_DEPENDS= ggi.2:${PORTSDIR}/graphics/libggi
+
+WRKSRC= ${WRKDIR}/${PORTNAME}-${PORTVERSION}
+USE_BZIP2= yes
+INSTALLS_SHLIB= yes
+GNU_CONFIGURE= yes
+
+MAN3= gcpBlendColor.3 \
+ gcpGetLuminance.3 \
+ gcpGetRGBAGamma.3 \
+ gcpInit.3 \
+ gcpMapRGBAColor.3 \
+ gcpSetColorfulPalette.3 \
+ gcpSetIntensity.3 \
+ gcpSetRGBAPalette.3 \
+ gcpUnmapRGBAPixel.3 \
+ gcp_pixel.3
+MAN7= libggigcp.7
+MLINKS= gcpGetRGBAGamma.3 gcpGetCMYKGamma.3 \
+ - gcpGetCMYKGammaMap.3 - gcpGetHSVGamma.3 \
+ - gcpGetHSVGammaMap.3 - gcpGetRGBAGammaMap.3 \
+ - gcpGetYCCGamma.3 - gcpGetYCCGammaMap.3 \
+ - gcpGetYUVGamma.3 - gcpGetYUVGammaMap.3 \
+ - gcpSetCMYKGamma.3 - gcpSetCMYKGammaMap.3 \
+ - gcpSetHSVGamma.3 - gcpSetHSVGammaMap.3 \
+ - gcpSetRGBAGamma.3 - gcpSetRGBAGammaMap.3 \
+ - gcpSetYCCGamma.3 - gcpSetYCCGammaMap.3 \
+ - gcpSetYUVGamma.3 - gcpSetYUVGammaMap.3 \
+ gcpInit.3 gcpAttach.3 \
+ - gcpDetach.3 - gcpExit.3 \
+ gcpMapRGBAColor.3 gcpMapCMYKColor.3 \
+ - gcpMapHSVColor.3 - gcpMapYCCColor.3 \
+ - gcpMapYUVColor.3 - gcpPackCMYKColors.3 \
+ - gcpPackHSVColors.3 - gcpPackRGBAColors.3 \
+ - gcpPackYCCColors.3 - gcpPackYUVColors.3 \
+ gcpSetIntensity.3 gcpGetIntensity.3 \
+ gcpSetRGBAPalette.3 gcpGetCMYKPalette.3 \
+ - gcpGetHSVPalette.3 - gcpGetRGBAPalette.3 \
+ - gcpGetYCCPalette.3 - gcpGetYUVPalette.3 \
+ - gcpSetCMYKPalette.3 - gcpSetHSVPalette.3 \
+ - gcpSetYCCPalette.3 - gcpSetYUVPalette.3 \
+ gcpUnmapRGBAPixel.3 gcpUnmapCMYKPixel.3 \
+ - gcpUnmapHSVPixel.3 - gcpUnmapYCCPixel.3 \
+ - gcpUnmapYUVPixel.3 - gcpUnpackCMYKPixels.3 \
+ - gcpUnpackHSVPixels.3 - gcpUnpackRGBAPixels.3 \
+ - gcpUnpackYCCPixels.3 - gcpUnpackYUVPixels.3 \
+ gcp_pixel.3 gcp_CMYKcolor.3 \
+ - gcp_HSVcolor.3 - gcp_RGBAcolor.3 \
+ - gcp_YCCcolor.3 - gcp_YUVcolor.3
+
+post-install:
+ @${CP} ${WRKSRC}/libggigcp.conf ${PREFIX}/etc/ggi/libggigcp.conf.dist
+
+.include <bsd.port.mk>
diff --git a/graphics/libggigcp/distinfo b/graphics/libggigcp/distinfo
new file mode 100644
index 000000000000..2aa83f419ed6
--- /dev/null
+++ b/graphics/libggigcp/distinfo
@@ -0,0 +1,2 @@
+MD5 (libggigcp-0.9.0.src.tar.bz2) = 4a69cc560c7d34a6dfcb66b977af9021
+SIZE (libggigcp-0.9.0.src.tar.bz2) = 269974
diff --git a/graphics/libggigcp/pkg-descr b/graphics/libggigcp/pkg-descr
new file mode 100644
index 000000000000..47affee0f195
--- /dev/null
+++ b/graphics/libggigcp/pkg-descr
@@ -0,0 +1,5 @@
+libggigcp is a libggi extension for advanced color and palette handling.
+It adds features for conversion between different color spaces such as RGBA,
+YUV, HSV and CMYK and some manipulation functions like brightness.
+
+WWW: http://www.ggi-project.org/
diff --git a/graphics/libggigcp/pkg-plist b/graphics/libggigcp/pkg-plist
new file mode 100644
index 000000000000..7546bdc1cacd
--- /dev/null
+++ b/graphics/libggigcp/pkg-plist
@@ -0,0 +1,17 @@
+@unexec if cmp -s %D/etc/ggi/libggigcp.conf %D/etc/ggi/libggigcp.conf.dist; then rm -f %D/etc/ggi/libggigcp.conf; fi
+etc/ggi/libggigcp.conf.dist
+@exec [ -f %B/libggigcp.conf ] || cp %B/%f %B/libggigcp.conf
+include/ggi/gcp-defs.h
+include/ggi/gcp.h
+include/ggi/internal/gcp.h
+lib/ggi/gcp/default/color_gcp.la
+lib/ggi/gcp/default/color_gcp.so
+lib/libggigcp.la
+lib/libggigcp.so
+lib/libggigcp.so.0
+@dirrm etc/ggi
+@dirrm include/ggi/internal
+@dirrm include/ggi
+@dirrm lib/ggi/gcp/default
+@dirrm lib/ggi/gcp
+@dirrm lib/ggi