summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMarius Mauch <genone@gentoo.org>2004-05-21 19:29:15 +0000
committerMarius Mauch <genone@gentoo.org>2004-05-21 19:29:15 +0000
commitcf202466428e175e9bae61436b7ab90226a81130 (patch)
treeda74386d0d5696062623e43615140bcc57d42178 /dev-util
parentClean up. (diff)
downloadhistorical-cf202466428e175e9bae61436b7ab90226a81130.tar.gz
historical-cf202466428e175e9bae61436b7ab90226a81130.tar.bz2
historical-cf202466428e175e9bae61436b7ab90226a81130.zip
version bump
Diffstat (limited to 'dev-util')
-rw-r--r--dev-util/gambas/ChangeLog8
-rw-r--r--dev-util/gambas/Manifest17
-rw-r--r--dev-util/gambas/files/Makefile.am-0.9342
-rw-r--r--dev-util/gambas/files/digest-gambas-0.93b1
-rw-r--r--dev-util/gambas/gambas-0.93b.ebuild81
5 files changed, 141 insertions, 8 deletions
diff --git a/dev-util/gambas/ChangeLog b/dev-util/gambas/ChangeLog
index ebf8e99ed878..5d635bb04c77 100644
--- a/dev-util/gambas/ChangeLog
+++ b/dev-util/gambas/ChangeLog
@@ -1,6 +1,12 @@
# ChangeLog for dev-util/gambas
# Copyright 2000-2004 Gentoo Technologies, Inc.; Distributed under the GPL v2
-# $Header: /var/cvsroot/gentoo-x86/dev-util/gambas/ChangeLog,v 1.11 2004/04/10 02:33:03 genone Exp $
+# $Header: /var/cvsroot/gentoo-x86/dev-util/gambas/ChangeLog,v 1.12 2004/05/21 19:29:15 genone Exp $
+
+*gambas-0.93b (21 May 2004)
+
+ 21 May 2004; Marius Mauch <genone@gentoo.org> +files/Makefile.am-0.93,
+ +gambas-0.93b.ebuild:
+ version bump
*gambas-0.92-r1 (10 Apr 2004)
diff --git a/dev-util/gambas/Manifest b/dev-util/gambas/Manifest
index 057dce688122..20c4c8b69edd 100644
--- a/dev-util/gambas/Manifest
+++ b/dev-util/gambas/Manifest
@@ -1,12 +1,15 @@
-MD5 dcff878e1a02621c10898637686214b2 gambas-0.91.ebuild 1867
-MD5 b1d2a069841a93b222037caa7f85e44a gambas-0.92.ebuild 1868
-MD5 b814712cc24e6c5d3e506f06bcf75e69 ChangeLog 2442
+MD5 61a6aadd91523768d0b8187dc3699351 gambas-0.91.ebuild 1866
+MD5 ecdae4ffa95a5944525415805e9ddbf3 gambas-0.92-r1.ebuild 1951
+MD5 d789a2705e1837a4dd658ab24051a861 gambas-0.92.ebuild 1867
MD5 622720c5c5e309d4457ff037f8a4175f metadata.xml 222
-MD5 80bc68c2ba734c2fef623ab06e9a4589 gambas-0.92-r1.ebuild 1952
-MD5 ef914d63f991882bd4c95e78c9eb069d files/info-location-0.90.patch 872
-MD5 30893adf8f34f69b90fa4e9e736b579b files/non-symlink-0.90.patch 1489
+MD5 f264731190b7c2ceac40cca0e78206dc ChangeLog 2583
+MD5 0e1d4ad55883607591335380473abff4 gambas-0.93b.ebuild 2088
+MD5 964111dfc43bdc4aab2276817f8f57df files/Makefile.am-0.90 1370
MD5 59e95678efba2286221a1040cf515aa3 files/digest-gambas-0.91 65
MD5 71bcff61006d8528abb1b438a23c66f8 files/digest-gambas-0.92 65
-MD5 964111dfc43bdc4aab2276817f8f57df files/Makefile.am-0.90 1370
MD5 71bcff61006d8528abb1b438a23c66f8 files/digest-gambas-0.92-r1 65
MD5 a7abb94385567542662526650958f5f1 files/gbx_exec_enum-0.92.patch 751
+MD5 ef914d63f991882bd4c95e78c9eb069d files/info-location-0.90.patch 872
+MD5 30893adf8f34f69b90fa4e9e736b579b files/non-symlink-0.90.patch 1489
+MD5 214fe270c103fde7a455302c707aaa48 files/digest-gambas-0.93b 66
+MD5 896a5bf9a06b25d691e1f01bd04381bd files/Makefile.am-0.93 1444
diff --git a/dev-util/gambas/files/Makefile.am-0.93 b/dev-util/gambas/files/Makefile.am-0.93
new file mode 100644
index 000000000000..4a1482ee7eae
--- /dev/null
+++ b/dev-util/gambas/files/Makefile.am-0.93
@@ -0,0 +1,42 @@
+SUBDIRS = libltdl src
+EXTRA_DIST = TODO reconf app examples help README README.REDHAT README.DEBIAN
+##AUTOMAKE_OPTIONS = dist-bzip2
+
+install-exec-local:
+ @echo
+ @echo "Installing the development environment..."
+ @(cd $(srcdir)/app; d=`pwd`; for p in *; do echo "Compiling $$p..."; cd $$d/$$p; \
+ gbc -ag; gba; rm -rf .gambas; $(INSTALL) $$p $(bindir); done)
+
+ @echo
+ @echo "Creating the library info files..."
+ @$(INSTALL) -d $(pkgdatadir)/info
+ @$(bindir)/gbi -a
+ @rm -f $(pkglibdir)/lib.gb.la
+ @rm -f $(pkglibdir)/lib.gb.so*
+
+ @echo
+ @echo "Installing the gambas help files..."
+ @$(INSTALL) -d $(pkgdatadir)/help
+ @rm -rf $(pkgdatadir)/help
+ @cp -R $(srcdir)/help $(pkgdatadir)
+
+ @echo
+ @echo "Installing the gambas examples..."
+ @rm -rf $(pkgdatadir)/examples
+ @$(INSTALL) -d $(pkgdatadir)/examples
+ @cp -R $(srcdir)/examples $(pkgdatadir)
+ @(cd $(pkgdatadir)/examples; d=`pwd`; for p in */ */*/; do cd $$d/$$p; \
+ if test -e .project; then \
+ echo "Compiling $$p..."; cd $$d/$$p; gbc -ag; gba; \
+ fi \
+ done)
+
+dist-hook:
+ @(cd $(distdir)/app; for p in *; do rm -rf $$p/.gambas $$p/.xvpics $$p/*/.xvpics $$p/*/*/.xvpics $$p/*~ $$p/*/*~ $$p/*/*/*~ $$p/.*.out $$p/*.out $$p/.lang/*.pot $$p/$$p; done)
+ @(cd $(distdir)/examples; for p in */ */*/; do \
+ if test -e $$p/.project; then \
+ rm -rf $$p/.gambas $$p/.xvpics $$p/*/.xvpics $$p/*/*/.xvpics $$p/*~ $$p/*/*~ $$p/.*.out $$p/*.out $$p/.lang/*.pot $$p/$$p; \
+ fi \
+ done)
+
diff --git a/dev-util/gambas/files/digest-gambas-0.93b b/dev-util/gambas/files/digest-gambas-0.93b
new file mode 100644
index 000000000000..d8be339498d9
--- /dev/null
+++ b/dev-util/gambas/files/digest-gambas-0.93b
@@ -0,0 +1 @@
+MD5 eac083d7e50a57549b79b11bed4516be gambas-0.93b.tar.bz2 3624715
diff --git a/dev-util/gambas/gambas-0.93b.ebuild b/dev-util/gambas/gambas-0.93b.ebuild
new file mode 100644
index 000000000000..546789cd1fad
--- /dev/null
+++ b/dev-util/gambas/gambas-0.93b.ebuild
@@ -0,0 +1,81 @@
+# Copyright 1999-2004 Gentoo Technologies, Inc.
+# Distributed under the terms of the GNU General Public License v2
+# $Header: /var/cvsroot/gentoo-x86/dev-util/gambas/gambas-0.93b.ebuild,v 1.1 2004/05/21 19:29:15 genone Exp $
+
+inherit eutils
+
+DESCRIPTION="a RAD tool for BASIC"
+HOMEPAGE="http://gambas.sourceforge.net"
+SRC_URI="http://gambas.sourceforge.net/${P}.tar.bz2"
+
+LICENSE="GPL-2"
+SLOT="0"
+KEYWORDS="~x86"
+IUSE="postgres mysql sdl doc curl debug"
+
+DEPEND=">=sys-devel/automake-1.7.5
+ >=x11-base/xfree-4.3.0
+ >=x11-libs/qt-3.2
+ >=kde-base/kdelibs-3.2
+ sdl? ( media-libs/libsdl )
+ mysql? ( dev-db/mysql )
+ postgres? ( dev-db/postgresql )
+ curl? ( net-misc/curl )"
+
+src_unpack() {
+ unpack ${A}
+ cd "${S}"
+ sed -i 's:-Os::' configure
+ # replace braindead Makefile
+ rm Makefile*
+ cp "${FILESDIR}/Makefile.am-0.93" ./Makefile.am
+ automake
+ # patches against hardcoded paths
+ epatch ${FILESDIR}/non-symlink-0.90.patch
+ #epatch ${FILESDIR}/html-files-location-0.93.patch
+ #epatch ${FILESDIR}/info-location-0.90.patch
+}
+
+src_compile() {
+ local myconf
+
+ myconf="${myconf} --enable-kde --enable-qt"
+ myconf="${myconf} `use_enable mysql`"
+ myconf="${myconf} `use_enable postgres`"
+ myconf="${myconf} `use_enable sdl`"
+ myconf="${myconf} `use_enable curl`"
+
+ if use debug ; then
+ myconf="${myconf} --disable-optimization --enable-debug"
+ else
+ myconf="${myconf} --enable-optimization --disable-debug"
+ fi
+
+ econf ${myconf} || die
+
+ emake || die
+}
+
+src_install() {
+ export PATH="${D}/usr/bin:${PATH}"
+ einstall || die
+
+ dodoc README INSTALL NEWS AUTHORS ChangeLog TODO
+
+ # only install the API docs and examples with USE=doc
+ if use doc; then
+ mv ${D}/usr/share/${PN}/help ${D}/usr/share/doc/${PF}/html
+ mv ${D}/usr/share/${PN}/examples ${D}/usr/share/doc/${PF}/examples
+ einfo "Compiling examples ..."
+ cd ${D}/usr/share/doc/${PF}/examples
+ for p in *; do
+ cd $p
+ gbc -ag
+ gba
+ cd ..
+ done
+ fi
+ rm -rf ${D}/usr/share/${PN}/help ${D}/usr/share/${PN}/examples
+ dosym /usr/share/doc/${PF}/html /usr/share/${PN}/help
+ dosym /usr/share/doc/${PF}/examples /usr/share/${PN}/examples
+}