aboutsummaryrefslogtreecommitdiff
path: root/x11-toolkits
diff options
context:
space:
mode:
authorJose Alonso Cardenas Marquez <acm@FreeBSD.org>2009-05-09 00:56:49 +0000
committerJose Alonso Cardenas Marquez <acm@FreeBSD.org>2009-05-09 00:56:49 +0000
commitaaf99c75243707799471c6bd4959ea20056755ac (patch)
tree32af069d87365bc57171dca633eb99b3ef0b2674 /x11-toolkits
parent5416e33b8889a470e2998065dddedd1009abc3a5 (diff)
downloadports-aaf99c75243707799471c6bd4959ea20056755ac.tar.gz
ports-aaf99c75243707799471c6bd4959ea20056755ac.zip
- New port: x11-toolkits/gambas2-gb-qt
The gambas Qt GUI component
Notes
Notes: svn path=/head/; revision=233447
Diffstat (limited to 'x11-toolkits')
-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%%