aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authoracm <acm@FreeBSD.org>2009-05-09 08:56:49 +0800
committeracm <acm@FreeBSD.org>2009-05-09 08:56:49 +0800
commit0c75e8f21f6be252ce6108ec6ae0327964058260 (patch)
treeaf4fe67d9521f8caca2bd3d2df33e37898d98cdb
parent460477bcb91c46647dd52fdce3ba56af6e4b38de (diff)
downloadfreebsd-ports-gnome-0c75e8f21f6be252ce6108ec6ae0327964058260.tar.gz
freebsd-ports-gnome-0c75e8f21f6be252ce6108ec6ae0327964058260.tar.zst
freebsd-ports-gnome-0c75e8f21f6be252ce6108ec6ae0327964058260.zip
- New port: x11-toolkits/gambas2-gb-qt
The gambas Qt GUI component
-rw-r--r--x11-toolkits/Makefile1
-rw-r--r--x11-toolkits/gambas2-gb-qt/Makefile15
-rw-r--r--x11-toolkits/gambas2-gb-qt/files/patch-gb.qt-src_x11.c13
-rw-r--r--x11-toolkits/gambas2-gb-qt/pkg-plist23
4 files changed, 52 insertions, 0 deletions
diff --git a/x11-toolkits/Makefile b/x11-toolkits/Makefile
index ac17a9decca6..816c295860e1 100644
--- a/x11-toolkits/Makefile
+++ b/x11-toolkits/Makefile
@@ -38,6 +38,7 @@
SUBDIR += gal
SUBDIR += gal2
SUBDIR += gal2-reference
+ SUBDIR += gambas2-gb-qt
SUBDIR += gauche-gtk
SUBDIR += gdl
SUBDIR += gigi
diff --git a/x11-toolkits/gambas2-gb-qt/Makefile b/x11-toolkits/gambas2-gb-qt/Makefile
new file mode 100644
index 000000000000..d69910b48222
--- /dev/null
+++ b/x11-toolkits/gambas2-gb-qt/Makefile
@@ -0,0 +1,15 @@
+# New ports collection makefile for: gambas2-gb-qt
+# Date created: 2009-05-02
+# Whom: Jose Alonso Cardenas Marquez <acm@FreeBSD.org>
+#
+# $FreeBSD$
+#
+
+CATEGORIES= x11-toolkits lang
+PKGNAMESUFFIX= -gb-qt
+
+COMMENT= The gambas Qt GUI component
+
+MASTERDIR= ${.CURDIR}/../../lang/gambas2-base
+
+.include "${MASTERDIR}/Makefile"
diff --git a/x11-toolkits/gambas2-gb-qt/files/patch-gb.qt-src_x11.c b/x11-toolkits/gambas2-gb-qt/files/patch-gb.qt-src_x11.c
new file mode 100644
index 000000000000..52a1855d9ab9
--- /dev/null
+++ b/x11-toolkits/gambas2-gb-qt/files/patch-gb.qt-src_x11.c
@@ -0,0 +1,13 @@
+--- gb.qt/src/x11.c 2009-03-20 05:47:01.000000000 -0500
++++ gb.qt/src/x11.c 2009-05-03 14:58:56.000000000 -0500
+@@ -33,6 +33,10 @@
+
+ #include "x11.h"
+
++#if defined (__FreeBSD__)
++typedef unsigned long ulong;
++#endif
++
+ #define MAX_WINDOW_PROP 16
+
+ PUBLIC Atom X11_atom_net_wm_state;
diff --git a/x11-toolkits/gambas2-gb-qt/pkg-plist b/x11-toolkits/gambas2-gb-qt/pkg-plist
new file mode 100644
index 000000000000..91afb6e5d8de
--- /dev/null
+++ b/x11-toolkits/gambas2-gb-qt/pkg-plist
@@ -0,0 +1,23 @@
+@comment $FreeBSD$
+lib/gambas2/gb.qt.component
+lib/gambas2/gb.qt.so.0
+lib/gambas2/gb.qt.so
+lib/gambas2/gb.qt.la
+lib/gambas2/gb.qt.ext.component
+lib/gambas2/gb.qt.ext.so.0
+lib/gambas2/gb.qt.ext.so
+lib/gambas2/gb.qt.ext.la
+lib/gambas2/gb.qt.opengl.component
+lib/gambas2/gb.qt.opengl.so.0
+lib/gambas2/gb.qt.opengl.so
+lib/gambas2/gb.qt.opengl.la
+lib/gambas2/gb.qt.gambas
+%%DATADIR%%/info/gb.qt.info
+%%DATADIR%%/info/gb.qt.list
+%%DATADIR%%/info/gb.qt.ext.info
+%%DATADIR%%/info/gb.qt.ext.list
+%%DATADIR%%/info/gb.qt.opengl.info
+%%DATADIR%%/info/gb.qt.opengl.list
+@dirrmtry lib/gambas2
+@dirrmtry %%DATADIR%%/info
+@dirrmtry %%DATADIR%%