aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorthierry <thierry@FreeBSD.org>2005-04-20 05:09:01 +0800
committerthierry <thierry@FreeBSD.org>2005-04-20 05:09:01 +0800
commit09265687709a37f2901bbe3a633d706c1174ddf8 (patch)
tree31ab213aa13490c498eb1c8901e8f70fd31bbf36
parent94a0ac6d3379bf320787208425c3157a6d836946 (diff)
downloadfreebsd-ports-gnome-09265687709a37f2901bbe3a633d706c1174ddf8.tar.gz
freebsd-ports-gnome-09265687709a37f2901bbe3a633d706c1174ddf8.tar.zst
freebsd-ports-gnome-09265687709a37f2901bbe3a633d706c1174ddf8.zip
- Upgrade to 1.0.5
Changelog at <http://gambas.sourceforge.net/changelog.html> - Make the dependency on mysql-client optional [1] - Permit the IDE to display the example projects in the initial startup dialog [1] Suggested by: Neil Darlow <neil (at) darlow.co.uk> [1]
-rw-r--r--lang/gambas/Makefile12
-rw-r--r--lang/gambas/distinfo4
-rw-r--r--lang/gambas/files/patch-app_gambas_Project.module11
-rw-r--r--lang/gambas/pkg-plist6
4 files changed, 25 insertions, 8 deletions
diff --git a/lang/gambas/Makefile b/lang/gambas/Makefile
index 937e0869a85f..d5c8b067b366 100644
--- a/lang/gambas/Makefile
+++ b/lang/gambas/Makefile
@@ -5,8 +5,7 @@
# $FreeBSD$
PORTNAME= gambas
-PORTVERSION= 1.0.4
-PORTREVISION= 1
+PORTVERSION= 1.0.5
CATEGORIES= lang
MASTER_SITES= http://gambas.sourceforge.net/
@@ -28,7 +27,6 @@ CONFIGURE_ARGS= --with-conv-includes=${LOCALBASE}/include \
--with-moc=${X11BASE}/bin
CONFIGURE_ENV+= PTHREAD_CFLAGS="${PTHREAD_CFLAGS}" \
PTHREAD_LIBS="${PTHREAD_LIBS}"
-USE_MYSQL= yes
USE_REINPLACE= yes
LIBS2FIX= libqt-mt libkdecore libkdeui libDCOP libkio
@@ -37,6 +35,14 @@ SRC2FIX2= src/comp/gbc_archive.c src/comp/gbi.c \
src/exec/gbx_library.c src/share/gb_component.h
SRC2FIX3= Makefile.in src/exec/gbx_project.c
+.if defined(WITHOUT_MYSQL)
+CONFIGURE_ARGS+= --disable-mysql
+PLIST_SUB+= MYSQL="@comment "
+.else
+USE_MYSQL= yes
+PLIST_SUB+= MYSQL=""
+.endif
+
.if !defined(WITHOUT_SDL)
USE_SDL= mixer
CONFIGURE_ARGS+= --with-sdl-includes="`${SDL_CONFIG} --cflags`" \
diff --git a/lang/gambas/distinfo b/lang/gambas/distinfo
index 4c8c385ebf75..ad38d5ec038e 100644
--- a/lang/gambas/distinfo
+++ b/lang/gambas/distinfo
@@ -1,2 +1,2 @@
-MD5 (gambas-1.0.4.tar.bz2) = c2299b5e13174bee1bb00c840fb2f5c1
-SIZE (gambas-1.0.4.tar.bz2) = 4204549
+MD5 (gambas-1.0.5.tar.bz2) = c80f6669203a9841ed79cba25e40a30a
+SIZE (gambas-1.0.5.tar.bz2) = 4242919
diff --git a/lang/gambas/files/patch-app_gambas_Project.module b/lang/gambas/files/patch-app_gambas_Project.module
new file mode 100644
index 000000000000..9f31eec0e925
--- /dev/null
+++ b/lang/gambas/files/patch-app_gambas_Project.module
@@ -0,0 +1,11 @@
+--- ./app/gambas/Project.module.orig Tue Apr 19 10:58:00 2005
++++ ./app/gambas/Project.module Tue Apr 19 21:46:21 2005
+@@ -87,7 +87,7 @@
+ OUTPUT_FILE = Temp$()
+ 'CLASSES_FILE = Temp$()
+
+- EXAMPLES_DIR = System.Path &/ "share/gambas/examples"
++ EXAMPLES_DIR = System.Path &/ "share/examples/gambas"
+
+ 'Config = NEW Config '(System.Home &/ ".gambas")
+
diff --git a/lang/gambas/pkg-plist b/lang/gambas/pkg-plist
index 87595a46f1d7..978e82eace20 100644
--- a/lang/gambas/pkg-plist
+++ b/lang/gambas/pkg-plist
@@ -18,9 +18,9 @@ lib/gambas/lib.gb.compress.zlib.so
lib/gambas/lib.gb.compress.zlib.so.0
lib/gambas/lib.gb.db.a
lib/gambas/lib.gb.db.component
-lib/gambas/lib.gb.db.mysql.a
-lib/gambas/lib.gb.db.mysql.so
-lib/gambas/lib.gb.db.mysql.so.0
+%%MYSQL%%lib/gambas/lib.gb.db.mysql.a
+%%MYSQL%%lib/gambas/lib.gb.db.mysql.so
+%%MYSQL%%lib/gambas/lib.gb.db.mysql.so.0
%%PGSQL%%lib/gambas/lib.gb.db.postgresql.a
%%PGSQL%%lib/gambas/lib.gb.db.postgresql.so
%%PGSQL%%lib/gambas/lib.gb.db.postgresql.so.0