summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--dev-db/pgadmin3/ChangeLog9
-rw-r--r--dev-db/pgadmin3/pgadmin3-1.12.2.ebuild45
2 files changed, 52 insertions, 2 deletions
diff --git a/dev-db/pgadmin3/ChangeLog b/dev-db/pgadmin3/ChangeLog
index 520190ce0286..ff51769ef829 100644
--- a/dev-db/pgadmin3/ChangeLog
+++ b/dev-db/pgadmin3/ChangeLog
@@ -1,6 +1,11 @@
# ChangeLog for dev-db/pgadmin3
-# Copyright 1999-2010 Gentoo Foundation; Distributed under the GPL v2
-# $Header: /var/cvsroot/gentoo-x86/dev-db/pgadmin3/ChangeLog,v 1.52 2010/10/25 12:41:47 scarabeus Exp $
+# Copyright 1999-2011 Gentoo Foundation; Distributed under the GPL v2
+# $Header: /var/cvsroot/gentoo-x86/dev-db/pgadmin3/ChangeLog,v 1.53 2011/01/31 21:43:01 patrick Exp $
+
+*pgadmin3-1.12.2 (31 Jan 2011)
+
+ 31 Jan 2011; Patrick Lauer <patrick@gentoo.org> +pgadmin3-1.12.2.ebuild:
+ Bump
*pgadmin3-1.12.1-r1 (25 Oct 2010)
diff --git a/dev-db/pgadmin3/pgadmin3-1.12.2.ebuild b/dev-db/pgadmin3/pgadmin3-1.12.2.ebuild
new file mode 100644
index 000000000000..2b75e58320f0
--- /dev/null
+++ b/dev-db/pgadmin3/pgadmin3-1.12.2.ebuild
@@ -0,0 +1,45 @@
+# Copyright 1999-2011 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+# $Header: /var/cvsroot/gentoo-x86/dev-db/pgadmin3/pgadmin3-1.12.2.ebuild,v 1.1 2011/01/31 21:43:01 patrick Exp $
+
+EAPI=3
+
+WX_GTK_VER="2.8"
+
+inherit wxwidgets
+
+DESCRIPTION="wxWidgets GUI for PostgreSQL."
+HOMEPAGE="http://www.pgadmin.org/"
+SRC_URI="mirror://postgresql/${PN}/release/v${PV}/src/${P}.tar.gz"
+
+LICENSE="Artistic"
+KEYWORDS="~alpha ~amd64 ~ppc ~sparc ~x86 ~x86-fbsd"
+SLOT="0"
+IUSE="debug"
+
+DEPEND="x11-libs/wxGTK:2.8[X]
+ dev-db/postgresql-base
+ >=dev-libs/libxml2-2.5
+ >=dev-libs/libxslt-1.1"
+RDEPEND="${DEPEND}"
+
+src_configure() {
+ econf \
+ --with-wx-version=2.8 \
+ $(use_enable debug)
+}
+
+src_install() {
+ emake DESTDIR="${D}" install || die "einstall failed"
+
+ newicon "${S}/pgadmin/include/images/pgAdmin3.png" ${PN}.png || die
+
+ # icon location for the desktop file provided in pkg folder
+ insinto /usr/share/pgadmin3
+ doins "${S}/pgadmin/include/images/pgAdmin3.png" || die
+
+ domenu "${S}/pkg/pgadmin3.desktop" || die
+
+ # Fixing world-writable files
+ chmod -R go-w "${D}/usr/share" || die
+}