From cdb08c58c3151fb9da4041905b82426fea9d8623 Mon Sep 17 00:00:00 2001 From: Masatomo Nakano Date: Mon, 3 May 2004 22:15:02 +0000 Subject: Fixed dependency. --- dev-db/postgis/ChangeLog | 7 ++- dev-db/postgis/Manifest | 6 ++- dev-db/postgis/files/digest-postgis-0.7.5-r1 | 2 - dev-db/postgis/files/digest-postgis-0.7.5-r2 | 2 + dev-db/postgis/postgis-0.7.5-r1.ebuild | 71 ---------------------------- dev-db/postgis/postgis-0.7.5-r2.ebuild | 71 ++++++++++++++++++++++++++++ 6 files changed, 83 insertions(+), 76 deletions(-) delete mode 100644 dev-db/postgis/files/digest-postgis-0.7.5-r1 create mode 100644 dev-db/postgis/files/digest-postgis-0.7.5-r2 delete mode 100644 dev-db/postgis/postgis-0.7.5-r1.ebuild create mode 100644 dev-db/postgis/postgis-0.7.5-r2.ebuild (limited to 'dev-db/postgis') diff --git a/dev-db/postgis/ChangeLog b/dev-db/postgis/ChangeLog index 013f021e4480..8af1e98e48c1 100644 --- a/dev-db/postgis/ChangeLog +++ b/dev-db/postgis/ChangeLog @@ -1,6 +1,11 @@ # ChangeLog for dev-db/postgis # Copyright 2002-2004 Gentoo Technologies, Inc.; Distributed under the GPL v2 -# $Header: /var/cvsroot/gentoo-x86/dev-db/postgis/ChangeLog,v 1.10 2004/04/20 15:54:27 mholzer Exp $ +# $Header: /var/cvsroot/gentoo-x86/dev-db/postgis/ChangeLog,v 1.11 2004/05/03 22:15:02 nakano Exp $ + +*postgis-0.7.5-r2 (03 May 2004) + + 03 May 2004; Masatomo Nakano +postgis-0.7.5-r2.ebuild: + Fixed dependency. 20 Apr 2004; Martin Holzer postgis-0.7.5-r1.ebuild: src_uri now uses mirror://postgresql diff --git a/dev-db/postgis/Manifest b/dev-db/postgis/Manifest index be61c2ac48f5..69e4f03b6c72 100644 --- a/dev-db/postgis/Manifest +++ b/dev-db/postgis/Manifest @@ -1,4 +1,6 @@ +MD5 1fbae9e25fc7679830ea979a04b64ed5 postgis-0.7.5-r1.ebuild 1827 +MD5 6a8c4c937be4fb7b077ff2b90a49709b postgis-0.8.1.ebuild 1827 MD5 4c238bba6dbf2e1a85e1bc89100151b7 ChangeLog 1229 MD5 f8d3d207746da2a3cd14dcaab8daab76 metadata.xml 163 -MD5 d46f34b4870e274e4634f5b5838a9677 postgis-0.7.5-r1.ebuild 1827 -MD5 f718e28928cb252d1804b9d2fca96f74 files/digest-postgis-0.7.5-r1 135 +MD5 e02da1081e84b4266aff297f0e422688 files/digest-postgis-0.7.5-r1 135 +MD5 e6f9346f812b23af150dfcef685037d1 files/digest-postgis-0.8.1 135 diff --git a/dev-db/postgis/files/digest-postgis-0.7.5-r1 b/dev-db/postgis/files/digest-postgis-0.7.5-r1 deleted file mode 100644 index de92b564c0da..000000000000 --- a/dev-db/postgis/files/digest-postgis-0.7.5-r1 +++ /dev/null @@ -1,2 +0,0 @@ -MD5 6ce60ba78bf133147cc502c27dba2f67 postgis-0.7.5.tar.gz 336368 -MD5 82878d6d74c36384af3595d26ed38067 postgresql-7.3.4.tar.gz 11265028 diff --git a/dev-db/postgis/files/digest-postgis-0.7.5-r2 b/dev-db/postgis/files/digest-postgis-0.7.5-r2 new file mode 100644 index 000000000000..50ac51fbbf98 --- /dev/null +++ b/dev-db/postgis/files/digest-postgis-0.7.5-r2 @@ -0,0 +1,2 @@ +MD5 6ce60ba78bf133147cc502c27dba2f67 postgis-0.7.5.tar.gz 336368 +MD5 e29bd379789a59e061d5cf126024913f postgresql-7.3.6.tar.gz 11288430 diff --git a/dev-db/postgis/postgis-0.7.5-r1.ebuild b/dev-db/postgis/postgis-0.7.5-r1.ebuild deleted file mode 100644 index fe6e8243b189..000000000000 --- a/dev-db/postgis/postgis-0.7.5-r1.ebuild +++ /dev/null @@ -1,71 +0,0 @@ -# Copyright 1999-2004 Gentoo Technologies, Inc. -# Distributed under the terms of the GNU General Public License v2 -# $Header: /var/cvsroot/gentoo-x86/dev-db/postgis/postgis-0.7.5-r1.ebuild,v 1.3 2004/04/20 15:54:27 mholzer Exp $ - -MY_PGSQL="postgresql-7.3.4" -DESCRIPTION="adds support for geographic objects to PostgreSQL" -HOMEPAGE="http://postgis.refractions.net/" -SRC_URI="http://postgis.refractions.net/${P}.tar.gz - mirror://postgresql/source/v7.3.4/${MY_PGSQL}.tar.gz" - -LICENSE="GPL-2" -SLOT="0" -KEYWORDS="~x86" -IUSE="tcltk python perl java ssl nls libg++" - -DEPEND="~dev-db/postgresql-7.3.4 - dev-libs/proj - >=sys-apps/sed-4*" - -src_unpack() { - unpack "${MY_PGSQL}.tar.gz" - cd ${MY_PGSQL}/contrib - unpack "${P}.tar.gz" - cd "${P}" - sed -i -e "s:USE_PROJ=0:USE_PROJ=1:g" \ - -e "s:PROJ_DIR=/usr/local:PROJ_DIR=/usr:g" \ - Makefile -} - -src_compile() { - local myconf - cd "${WORKDIR}/${MY_PGSQL}" - use tcltk && myconf="--with-tcl" - use python && myconf="${myconf} --with-python" - use perl && myconf="${myconf} --with-perl" - use java && myconf="${myconf} --with-java" - use ssl && myconf="${myconf} --with-ssl" - use nls && myconf="${myconf} --enable-locale --enable-nls --enable-multibyte" - use libg++ && myconf="${myconf} --with-CXX" - - use ppc && CFLAGS="-pipe-fsigned-char" - - ./configure --prefix=/usr \ - --mandir=/usr/share/man \ - --docdir=/usr/share/doc/${MY_PGSQL}-r1 \ - --libdir=/usr/lib \ - --enable-syslog \ - --enable-depend \ - --with-gnu-ld \ - --with-pam \ - --with-maxbackends=1024 \ - ${myconf} || die - - cd contrib/${P} - - make || die -} - -src_install() { - cd ${WORKDIR}/${MY_PGSQL}/contrib/${P} - - make \ - prefix=${D}/usr \ - mandir=${D}/usr/share/man \ - infodir=${D}/usr/share/info \ - docdir=${D}/usr/share/doc/${MY_PGSQL} \ - libdir=${D}/usr/lib/postgresql \ - install || die - - dodoc CHANGES COPYING CREDITS TODO -} diff --git a/dev-db/postgis/postgis-0.7.5-r2.ebuild b/dev-db/postgis/postgis-0.7.5-r2.ebuild new file mode 100644 index 000000000000..1b822c33f598 --- /dev/null +++ b/dev-db/postgis/postgis-0.7.5-r2.ebuild @@ -0,0 +1,71 @@ +# Copyright 1999-2004 Gentoo Technologies, Inc. +# Distributed under the terms of the GNU General Public License v2 +# $Header: /var/cvsroot/gentoo-x86/dev-db/postgis/postgis-0.7.5-r2.ebuild,v 1.1 2004/05/03 22:15:02 nakano Exp $ + +MY_PGSQL="postgresql-7.3.6" +DESCRIPTION="adds support for geographic objects to PostgreSQL" +HOMEPAGE="http://postgis.refractions.net/" +SRC_URI="http://postgis.refractions.net/${P}.tar.gz + mirror://postgresql/source/v7.3.6/${MY_PGSQL}.tar.gz" + +LICENSE="GPL-2" +SLOT="0" +KEYWORDS="~x86" +IUSE="tcltk python perl java ssl nls libg++" + +DEPEND="~dev-db/postgresql-7.3.6 + dev-libs/proj + >=sys-apps/sed-4*" + +src_unpack() { + unpack "${MY_PGSQL}.tar.gz" + cd ${MY_PGSQL}/contrib + unpack "${P}.tar.gz" + cd "${P}" + sed -i -e "s:USE_PROJ=0:USE_PROJ=1:g" \ + -e "s:PROJ_DIR=/usr/local:PROJ_DIR=/usr:g" \ + Makefile +} + +src_compile() { + local myconf + cd "${WORKDIR}/${MY_PGSQL}" + use tcltk && myconf="--with-tcl" + use python && myconf="${myconf} --with-python" + use perl && myconf="${myconf} --with-perl" + use java && myconf="${myconf} --with-java" + use ssl && myconf="${myconf} --with-ssl" + use nls && myconf="${myconf} --enable-locale --enable-nls --enable-multibyte" + use libg++ && myconf="${myconf} --with-CXX" + + use ppc && CFLAGS="-pipe-fsigned-char" + + ./configure --prefix=/usr \ + --mandir=/usr/share/man \ + --docdir=/usr/share/doc/${MY_PGSQL}-r1 \ + --libdir=/usr/lib \ + --enable-syslog \ + --enable-depend \ + --with-gnu-ld \ + --with-pam \ + --with-maxbackends=1024 \ + ${myconf} || die + + cd contrib/${P} + + make || die +} + +src_install() { + cd ${WORKDIR}/${MY_PGSQL}/contrib/${P} + + make \ + prefix=${D}/usr \ + mandir=${D}/usr/share/man \ + infodir=${D}/usr/share/info \ + docdir=${D}/usr/share/doc/${MY_PGSQL} \ + libdir=${D}/usr/lib/postgresql \ + install || die + + dodoc CHANGES COPYING CREDITS TODO +} -- cgit v1.2.3-65-gdbad