aboutsummaryrefslogtreecommitdiffstats
path: root/graphics
diff options
context:
space:
mode:
authorpav <pav@FreeBSD.org>2004-12-12 06:58:17 +0800
committerpav <pav@FreeBSD.org>2004-12-12 06:58:17 +0800
commitb8657eea39261068732b4c6b18dff26a6f5a636f (patch)
treef5c9b25896a37b16ed340e5e0e4ea5faf83f1dc8 /graphics
parentbf13404c2da8d6019fa4f73af2440e7ba04ddadf (diff)
downloadfreebsd-ports-gnome-b8657eea39261068732b4c6b18dff26a6f5a636f.tar.gz
freebsd-ports-gnome-b8657eea39261068732b4c6b18dff26a6f5a636f.tar.zst
freebsd-ports-gnome-b8657eea39261068732b4c6b18dff26a6f5a636f.zip
Add libggimisc, a libggi extension providing support for a range of hard to
categorize functions. PR: ports/74825 Submitted by: Antoine Brodin <antoine.brodin@laposte.net>
Diffstat (limited to 'graphics')
-rw-r--r--graphics/Makefile1
-rw-r--r--graphics/libggimisc/Makefile43
-rw-r--r--graphics/libggimisc/distinfo2
-rw-r--r--graphics/libggimisc/pkg-descr5
-rw-r--r--graphics/libggimisc/pkg-plist19
5 files changed, 70 insertions, 0 deletions
diff --git a/graphics/Makefile b/graphics/Makefile
index 2b4e6467edf8..f38efdf658e5 100644
--- a/graphics/Makefile
+++ b/graphics/Makefile
@@ -244,6 +244,7 @@
SUBDIR += libfpx
SUBDIR += libgdgeda
SUBDIR += libggi
+ SUBDIR += libggimisc
SUBDIR += libggiwmh
SUBDIR += libglut
SUBDIR += libgnomecanvas
diff --git a/graphics/libggimisc/Makefile b/graphics/libggimisc/Makefile
new file mode 100644
index 000000000000..825df73e2ce1
--- /dev/null
+++ b/graphics/libggimisc/Makefile
@@ -0,0 +1,43 @@
+# New ports collection makefile for: libggimisc
+# Date created: 7 December 2004
+# Whom: antoine.brodin@laposte.net
+#
+# $FreeBSD$
+#
+
+PORTNAME= libggimisc
+PORTVERSION= 2.1.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 providing support for hard to categorize features
+
+LIB_DEPENDS= ggi.2:${PORTSDIR}/graphics/libggi
+
+WRKSRC= ${WRKDIR}/${PORTNAME}-${PORTVERSION}
+USE_BZIP2= yes
+INSTALLS_SHLIB= yes
+GNU_CONFIGURE= yes
+
+MAN3= ggiGetRayPos.3 \
+ ggiSetSplitline.3 \
+ ggiWaitRayPos.3
+MAN7= libggimisc.7
+
+.include <bsd.port.pre.mk>
+
+.if defined(WITH_SVGALIB) || exists(${LOCALBASE}/include/vga.h)
+LIB_DEPENDS+= vga.1:${PORTSDIR}/graphics/svgalib
+PLIST_SUB+= WITH_SVGALIB=""
+.else
+PLIST_SUB+= WITH_SVGALIB="@comment "
+.endif
+
+post-install:
+ @${CP} ${WRKSRC}/libggimisc.conf ${PREFIX}/etc/ggi/libggimisc.conf.dist
+
+.include <bsd.port.post.mk>
diff --git a/graphics/libggimisc/distinfo b/graphics/libggimisc/distinfo
new file mode 100644
index 000000000000..fe9efedddbed
--- /dev/null
+++ b/graphics/libggimisc/distinfo
@@ -0,0 +1,2 @@
+MD5 (libggimisc-2.1.0.src.tar.bz2) = 44be7b5e01fd9701bd84de4f19be95f0
+SIZE (libggimisc-2.1.0.src.tar.bz2) = 224211
diff --git a/graphics/libggimisc/pkg-descr b/graphics/libggimisc/pkg-descr
new file mode 100644
index 000000000000..2c2c5825318c
--- /dev/null
+++ b/graphics/libggimisc/pkg-descr
@@ -0,0 +1,5 @@
+libggimisc is a libggi extension providing support for a range of hard to
+categorize features.
+vga splitline and wait-for-vsync are two examples.
+
+WWW: http://www.ggi-project.org/
diff --git a/graphics/libggimisc/pkg-plist b/graphics/libggimisc/pkg-plist
new file mode 100644
index 000000000000..e1cf4fdc5821
--- /dev/null
+++ b/graphics/libggimisc/pkg-plist
@@ -0,0 +1,19 @@
+@unexec if cmp -s %D/etc/ggi/libggimisc.conf %D/etc/ggi/libggimisc.conf.dist; then rm -f %D/etc/ggi/libggimisc.conf; fi
+etc/ggi/libggimisc.conf.dist
+@exec [ -f %B/libggimisc.conf ] || cp %B/%f %B/libggimisc.conf
+include/ggi/internal/misc.h
+include/ggi/misc-defs.h
+include/ggi/misc.h
+lib/ggi/ggimisc/display/pseudo_stubs_ggimisc.la
+lib/ggi/ggimisc/display/pseudo_stubs_ggimisc.so
+%%WITH_SVGALIB%%lib/ggi/ggimisc/display/svgalib_ggimisc.la
+%%WITH_SVGALIB%%lib/ggi/ggimisc/display/svgalib_ggimisc.so
+lib/libggimisc.la
+lib/libggimisc.so
+lib/libggimisc.so.2
+@dirrm etc/ggi
+@dirrm include/ggi/internal
+@dirrm include/ggi
+@dirrm lib/ggi/ggimisc/display
+@dirrm lib/ggi/ggimisc
+@dirrm lib/ggi