summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMasatomo Nakano <nakano@gentoo.org>2005-05-24 21:18:52 +0000
committerMasatomo Nakano <nakano@gentoo.org>2005-05-24 21:18:52 +0000
commit2db841c4d368b53ad7828ba3d4577b3590893ae4 (patch)
tree56e9653c285f61152063317631a62b2f6bb5338d /dev-db/postgis
parentSet correct libdir in env.d file. (diff)
downloadhistorical-2db841c4d368b53ad7828ba3d4577b3590893ae4.tar.gz
historical-2db841c4d368b53ad7828ba3d4577b3590893ae4.tar.bz2
historical-2db841c4d368b53ad7828ba3d4577b3590893ae4.zip
version bump
Package-Manager: portage-2.0.51.22-r1
Diffstat (limited to 'dev-db/postgis')
-rw-r--r--dev-db/postgis/ChangeLog8
-rw-r--r--dev-db/postgis/Manifest14
-rw-r--r--dev-db/postgis/files/digest-postgis-1.0.0_p200505121
-rw-r--r--dev-db/postgis/postgis-1.0.0_p20050512.ebuild83
4 files changed, 94 insertions, 12 deletions
diff --git a/dev-db/postgis/ChangeLog b/dev-db/postgis/ChangeLog
index ac64c8706a28..c5252ac2cf23 100644
--- a/dev-db/postgis/ChangeLog
+++ b/dev-db/postgis/ChangeLog
@@ -1,6 +1,12 @@
# ChangeLog for dev-db/postgis
# Copyright 2002-2005 Gentoo Foundation; Distributed under the GPL v2
-# $Header: /var/cvsroot/gentoo-x86/dev-db/postgis/ChangeLog,v 1.17 2005/05/06 09:48:58 swegener Exp $
+# $Header: /var/cvsroot/gentoo-x86/dev-db/postgis/ChangeLog,v 1.18 2005/05/24 21:18:52 nakano Exp $
+
+*postgis-1.0.0_p20050512 (14 May 2005)
+
+ 14 May 2005; Masatomo Nakano <nakano@gentoo.org>
+ +postgis-1.0.0_p20050512.ebuild:
+ Version bump.
06 May 2005; Sven Wegener <swegener@gentoo.org> postgis-0.7.5-r2.ebuild:
Removed * postfix from <, <=, >= and > dependencies.
diff --git a/dev-db/postgis/Manifest b/dev-db/postgis/Manifest
index 7f6ac8f0ed98..40b27d081448 100644
--- a/dev-db/postgis/Manifest
+++ b/dev-db/postgis/Manifest
@@ -1,14 +1,6 @@
------BEGIN PGP SIGNED MESSAGE-----
-Hash: SHA1
-
MD5 8557793e4877948f4c89f36a7d74db81 postgis-0.7.5-r2.ebuild 1822
-MD5 004106f6488ba521817f72337884ed8a ChangeLog 1809
+MD5 20a835ca6a852facf4d893e6c3abca73 postgis-1.0.0_p20050512.ebuild 2402
+MD5 3726500f31962086d8bf5e5491006227 ChangeLog 1950
MD5 f8d3d207746da2a3cd14dcaab8daab76 metadata.xml 163
MD5 e02da1081e84b4266aff297f0e422688 files/digest-postgis-0.7.5-r2 135
------BEGIN PGP SIGNATURE-----
-Version: GnuPG v1.4.1 (GNU/Linux)
-
-iD8DBQFCez2aI1lqEGTUzyQRApkNAKCXEyJgUQPRkvwnUZDGsw+wZzb3VACfdFMy
-vgG74kbmV+7RYLi+tVJ5ZoM=
-=tcw3
------END PGP SIGNATURE-----
+MD5 45fbdc11a7887af6cbdb23256ede1cbf files/digest-postgis-1.0.0_p20050512 76
diff --git a/dev-db/postgis/files/digest-postgis-1.0.0_p20050512 b/dev-db/postgis/files/digest-postgis-1.0.0_p20050512
new file mode 100644
index 000000000000..9678fc4722e0
--- /dev/null
+++ b/dev-db/postgis/files/digest-postgis-1.0.0_p20050512
@@ -0,0 +1 @@
+MD5 d571b2fd1a070df55c860307f0e3a0e0 postgis-1.0.0_p20050512.tar.gz 1413252
diff --git a/dev-db/postgis/postgis-1.0.0_p20050512.ebuild b/dev-db/postgis/postgis-1.0.0_p20050512.ebuild
new file mode 100644
index 000000000000..79e1c067fde8
--- /dev/null
+++ b/dev-db/postgis/postgis-1.0.0_p20050512.ebuild
@@ -0,0 +1,83 @@
+# Copyright 1999-2005 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+# $Header: /var/cvsroot/gentoo-x86/dev-db/postgis/postgis-1.0.0_p20050512.ebuild,v 1.1 2005/05/24 21:18:52 nakano Exp $
+
+DESCRIPTION="Geographic Objects for PostgreSQL"
+HOMEPAGE="http://postgis.refractions.net"
+SRC_URI="mirror://gentoo/${P}.tar.gz
+ http://dev.gentoo.org/~nakano/${P}.tar.gz"
+
+LICENSE="GPL-2"
+SLOT="0"
+KEYWORDS="~x86 ~ppc ~amd64"
+IUSE="doc geos proj"
+
+RDEPEND=">=dev-db/postgresql-7.2
+ geos? ( sci-libs/geos )
+ proj? ( sci-libs/proj )"
+DEPEND="${RDEPEND}
+ doc? ( app-text/docbook-xsl-stylesheets )
+ sys-devel/autoconf"
+
+S="${WORKDIR}/${PN}-cvs"
+src_compile(){
+ local myconf
+
+ use ppc && CFLAGS="-pipe -fsigned-char"
+ myconf="${myconf} --enable-autoconf --with-maxbackends=1024"
+
+ cd ${S}
+ if use doc; then
+ local xslv=$(best_version app-text/docbook-xsl-stylesheets |\
+ cut -d'/' -f2 | sed s/"docbook-"//)
+ einfo "Building doc with ${xslv}"
+ cat configure.in |\
+ sed s/"xsl-stylesheets"/"${xslv}"/ > configure.in
+ fi
+
+ autoconf
+ if use geos; then
+ myconf="${myconf} $(use_with geos)=$(which geos-config)"
+ fi
+ if use proj; then
+ myconf="${myconf} $(use_with proj)=/usr"
+ fi
+ econf ${myconf} \
+ || die "Error: econf failed"
+ if use doc; then
+ einfo "doc will be built"
+ else
+ einfo "removing build directives for doc from Makefile"
+ sed -e s/"utils docs"/"utils"/ \
+ -e s/"loaderdumper-install docs-install"/"loaderdumper-install"/ \
+ Makefile > Makefile.new
+ mv Makefile.new Makefile
+ fi
+
+ emake || die "Error: emake failed"
+}
+
+src_install(){
+ into /usr
+ cd ${S}
+ einstall || die "Error: einstall failed"
+ dodir /usr/share/postgresql /usr/share/postgresql/contrib/
+ mv ${D}/usr/share/*.sql ${D}/usr/share/postgresql/contrib/
+ dodoc CHANGES COPYING CREDITS README.postgis TODO
+ if use doc; then
+ cd ${S}/doc
+ dohtml -r html/*
+ dodoc *.txt
+ fi
+}
+
+pkg_postinst() {
+ einfo "To create your first postgis database do the followings commands :"
+ einfo " # su postgres"
+ einfo " # createdb -E SQL_ASCII poolp"
+ einfo " # createlang plpgsql poolp"
+ einfo " # psql -d poolp -f /usr/share/postgresql/contrib/lwpostgis.sql"
+ einfo " # psql -d poolp -f /usr/share/postgresql/contrib/spatial_ref_sys.sql"
+ einfo "For more informations go to : http://postgis.refractions.net/documentation.php"
+ einfo "(For french user only see http://techer.pascal.free.fr/postgis)"
+}