aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authoracm <acm@FreeBSD.org>2009-05-09 09:47:55 +0800
committeracm <acm@FreeBSD.org>2009-05-09 09:47:55 +0800
commit2b97cfd325eea90f82e6134987e6b245ff5a8fe4 (patch)
tree6c0093ac91655abf2d4b224f7232bd97c5bcef10
parenta379cbeade3da1d4f46e7c4c3803ab109d4e887c (diff)
downloadfreebsd-ports-gnome-2b97cfd325eea90f82e6134987e6b245ff5a8fe4.tar.gz
freebsd-ports-gnome-2b97cfd325eea90f82e6134987e6b245ff5a8fe4.tar.zst
freebsd-ports-gnome-2b97cfd325eea90f82e6134987e6b245ff5a8fe4.zip
- New port: lang/gambas2
Gambas is a free development environment based on a Basic interpreter with object extensions, a bit like Visual Basic (but it is NOT a clone !). With Gambas, you can quickly design your program GUI with QT or GTK+, access MySQL, PostgreSQL, Firebird, ODBC and SQLite databases, pilot KDE applications with DCOP, translate your program into any language, create network applications easily, make 3D OpenGL applications, make CGI web applications, and so on. (meta port) WWW: http://gambas.sf.net/
-rw-r--r--lang/Makefile1
-rw-r--r--lang/gambas2/Makefile112
-rw-r--r--lang/gambas2/files/pkg-message.in18
-rw-r--r--lang/gambas2/pkg-descr11
4 files changed, 142 insertions, 0 deletions
diff --git a/lang/Makefile b/lang/Makefile
index 7bf384c48128..3ce317752541 100644
--- a/lang/Makefile
+++ b/lang/Makefile
@@ -79,6 +79,7 @@
SUBDIR += freetxl
SUBDIR += g95
SUBDIR += gambas
+ SUBDIR += gambas2
SUBDIR += gambas2-base
SUBDIR += gambas2-components
SUBDIR += gambit-c
diff --git a/lang/gambas2/Makefile b/lang/gambas2/Makefile
new file mode 100644
index 000000000000..02baf5969d47
--- /dev/null
+++ b/lang/gambas2/Makefile
@@ -0,0 +1,112 @@
+# New ports collection makefile for: gambas2
+# Date created: 2009-01-16
+# Whom: Jose Alonso Cardenas Marquez <acm@FreeBSD.org>
+#
+# $FreeBSD$
+#
+
+PORTNAME= gambas2
+PORTVERSION= 2.12
+CATEGORIES= lang
+MASTER_SITES= # empty
+DISTFILES= # empty
+EXTRACT_ONLY= # empty
+
+MAINTAINER= acm@FreeBSD.org
+COMMENT= A basic language with object extensions (meta port)
+
+RUN_DEPENDS= gbi2:${PORTSDIR}/lang/gambas2-base \
+ ${GAMBASCOMPDIR}/gb.settings.component:${PORTSDIR}/lang/gambas2-components
+
+NO_MTREE= yes
+NO_BUILD= yes
+SUB_FILES= pkg-message
+
+OPTIONS= IDE "IDE for the gambas programming language" on \
+ COMPRESS_BZLIB2 "The gambas bzlib2 compression component" on \
+ COMPRESS_ZLIB "The gambas zlib compression component" on \
+ CORBA "The gambas corba component" on \
+ CRYPT "The gambas crypt encription component" on \
+ DB_FIREBIRD "The Firebird driver component" on \
+ DB_ODBC "The odbc driver component" on \
+ DB_MYSQL "The MySQL driver component" on \
+ DB_PGSQL "The postgresql driver component" on \
+ DB_SQLITE2 "The SQlite2 driver component" on \
+ DB_SQLITE3 "The SQlite3 driver component" on \
+ DESKTOP "Portland project compatibility component" on \
+ GTK "The Gtk2 GUI component" on \
+ GTK_SVG "The SVG importing component" on \
+ IMAGE "The image effects component" on \
+ NET "The gambas networking component" on \
+ NET_CURL "The advanced networking component" on \
+ NET_SMTP "The gambas component to use smtp protocol" on \
+ OPENGL "The OpenGL component for gambas" on \
+ PCRE "The gambas regexp component" on \
+ PDF "The gambas pdf component" on \
+ QT "The gambas Qt GUI component" on \
+ QT_KDE "The gambas KDE component" on \
+ SDL "The gambas SDL component" on \
+ SDL_SOUND "The gambas SDL sound component" on \
+ XML "The gambas XML component" on
+
+PORT_DBDIR?= /var/db/ports
+LATEST_LINK= ${PORTNAME}
+OPTIONSFILE?= ${PORT_DBDIR}/${LATEST_LINK}/options
+
+.if exists(${OPTIONSFILE})
+.include "${OPTIONSFILE}"
+.endif
+
+.include <bsd.port.pre.mk>
+
+GAMBASCOMPDIR= ${LOCALBASE}/lib/${PORTNAME}
+ALL_OPTIONS= IDE COMPRESS_BZLIB2 COMPRESS_ZLIB CORBA CRYPT DB_FIREBIRD DB_ODBC \
+ DB_MYSQL DB_PGSQL DB_SQLITE2 DB_SQLITE3 DESKTOP GTK GTK_SVG \
+ IMAGE NET NET_CURL NET_SMTP OPENGL PCRE PDF QT QT_KDE SDL \
+ SDL_SOUND XML
+
+IDE_COMP= editors/gambas2-ide
+COMPRESS_BZLIB2_COMP= archivers/gambas2-gb-compress-bzlib2
+COMPRESS_ZLIB_COMP= archivers/gambas2-gb-compress-zlib
+CORBA_COMP= devel/gambas2-gb-corba
+CRYPT_COMP= security/gambas2-gb-crypt
+DB_FIREBIRD_COMP= databases/gambas2-gb-db-firebird
+DB_ODBC_COMP= databases/gambas2-gb-db-odbc
+DB_MYSQL_COMP= databases/gambas2-gb-db-mysql
+DB_PGSQL_COMP= databases/gambas2-gb-db-postgresql
+DB_SQLITE2_COMP= databases/gambas2-gb-db-sqlite2
+DB_SQLITE3_COMP= databases/gambas2-gb-db-sqlite3
+DESKTOP_COMP= x11/gambas2-gb-desktop
+GTK_COMP= x11-toolkits/gambas2-gb-gtk
+GTK_SVG_COMP= graphics/gambas2-gb-gtk-svg
+IMAGE_COMP= graphics/gambas2-gb-image
+NET_COMP= net/gambas2-gb-net
+NET_CURL_COMP= ftp/gambas2-gb-net-curl
+NET_SMTP_COMP= mail/gambas2-gb-net-smtp
+OPENGL_COMP= graphics/gambas2-gb-opengl
+PCRE_COMP= devel/gambas2-gb-pcre
+PDF_COMP= graphics/gambas2-gb-pdf
+QT_COMP= x11-toolkits/gambas2-gb-qt
+QT_KDE_COMP= x11/gambas2-gb-qt-kde
+SDL_COMP= devel/gambas2-gb-sdl
+SDL_SOUND_COMP= audio/gambas2-gb-sdl-sound
+XML_COMP= textproc/gambas2-gb-xml
+
+.for OPT in ${ALL_OPTIONS}
+. if defined(WITH_${OPT}) && !defined(WITHOUT_${OPT})
+OPT_TMP= ${OPT:L}
+. if ${OPT_TMP} == "ide"
+RUN_DEPENDS+= ${LOCALBASE}/bin/gambas2:${PORTSDIR}/${${OPT}_COMP}
+. else
+RUN_DEPENDS+= ${GAMBASCOMPDIR}/gb.${OPT:S/_/./:S/PGSQL/POSTGRESQL/:L}.so:${PORTSDIR}/${${OPT}_COMP}
+. endif
+. endif
+.endfor
+
+do-install: build
+ @${DO_NADA}
+
+post-install:
+ @${CAT} ${PKGMESSAGE}
+
+.include <bsd.port.post.mk>
diff --git a/lang/gambas2/files/pkg-message.in b/lang/gambas2/files/pkg-message.in
new file mode 100644
index 000000000000..30ce3962c2bc
--- /dev/null
+++ b/lang/gambas2/files/pkg-message.in
@@ -0,0 +1,18 @@
+###############################################################################
+
+The gambas2 object language and development environment was installed
+
+1) IDE option will install a visual development environment for the gambas2
+ programming.
+
+2) If you want to install some gambas2 examples, you should install:
+
+ * lang/gambas2-examples
+
+3) All examples gambas projects will be stored at:
+
+ * %%EXAMPLESDIR%%
+
+4) Enjoy it :)
+
+###############################################################################
diff --git a/lang/gambas2/pkg-descr b/lang/gambas2/pkg-descr
new file mode 100644
index 000000000000..4cda89ebc1e5
--- /dev/null
+++ b/lang/gambas2/pkg-descr
@@ -0,0 +1,11 @@
+Gambas is a free development environment based on a Basic interpreter with
+object extensions, a bit like Visual Basic (but it is NOT a clone !).
+
+With Gambas, you can quickly design your program GUI with QT or GTK+, access
+MySQL, PostgreSQL, Firebird, ODBC and SQLite databases, pilot KDE applications
+with DCOP, translate your program into any language, create network applications
+easily, make 3D OpenGL applications, make CGI web applications, and so on.
+
+(meta port)
+
+WWW: http://gambas.sf.net/