summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorSven Wegener <swegener@gentoo.org>2005-08-28 20:05:09 +0000
committerSven Wegener <swegener@gentoo.org>2005-08-28 20:05:09 +0000
commit0fd9ba4c740db0c643980e16d3679831690b1d51 (patch)
tree8ded4dd0534ecfad5a4cd09521eb9bc5ac22da07 /dev-db/postgis
parentAdd some fixes for SuperH. (diff)
downloadgentoo-2-0fd9ba4c740db0c643980e16d3679831690b1d51.tar.gz
gentoo-2-0fd9ba4c740db0c643980e16d3679831690b1d51.tar.bz2
gentoo-2-0fd9ba4c740db0c643980e16d3679831690b1d51.zip
no need to cd ${S} at start of src_* functions
(Portage version: 2.0.51.22-r2)
Diffstat (limited to 'dev-db/postgis')
-rw-r--r--dev-db/postgis/postgis-1.0.0_p20050512.ebuild5
-rw-r--r--dev-db/postgis/postgis-1.0.1_p20050805.ebuild21
2 files changed, 10 insertions, 16 deletions
diff --git a/dev-db/postgis/postgis-1.0.0_p20050512.ebuild b/dev-db/postgis/postgis-1.0.0_p20050512.ebuild
index 79e1c067fde8..a145b3296ca8 100644
--- a/dev-db/postgis/postgis-1.0.0_p20050512.ebuild
+++ b/dev-db/postgis/postgis-1.0.0_p20050512.ebuild
@@ -1,6 +1,6 @@
# 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 $
+# $Header: /var/cvsroot/gentoo-x86/dev-db/postgis/postgis-1.0.0_p20050512.ebuild,v 1.2 2005/08/28 20:05:09 swegener Exp $
DESCRIPTION="Geographic Objects for PostgreSQL"
HOMEPAGE="http://postgis.refractions.net"
@@ -26,7 +26,6 @@ src_compile(){
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-"//)
@@ -58,8 +57,6 @@ src_compile(){
}
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/
diff --git a/dev-db/postgis/postgis-1.0.1_p20050805.ebuild b/dev-db/postgis/postgis-1.0.1_p20050805.ebuild
index c550e2c2783d..25cb4d24eaff 100644
--- a/dev-db/postgis/postgis-1.0.1_p20050805.ebuild
+++ b/dev-db/postgis/postgis-1.0.1_p20050805.ebuild
@@ -1,6 +1,6 @@
# 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.1_p20050805.ebuild,v 1.1 2005/08/27 22:28:27 nakano Exp $
+# $Header: /var/cvsroot/gentoo-x86/dev-db/postgis/postgis-1.0.1_p20050805.ebuild,v 1.2 2005/08/28 20:05:09 swegener Exp $
DESCRIPTION="Geographic Objects for PostgreSQL"
HOMEPAGE="http://postgis.refractions.net"
@@ -12,14 +12,14 @@ SLOT="0"
KEYWORDS="~x86 ~ppc ~amd64"
IUSE="doc geos proj"
-DEPEND=">=dev-db/postgresql-8.0.0 \
- geos? (sci-libs/geos) \
- proj? (sci-libs/proj) \
- doc? (app-text/docbook-xsl-stylesheets) \
- sys-devel/autoconf "
-RDEPEND=">=dev-db/postgresql-8.0.0 \
- geos? (sci-libs/geos) \
- proj? (sci-libs/proj)"
+DEPEND=">=dev-db/postgresql-8.0.0
+ geos? ( sci-libs/geos )
+ proj? ( sci-libs/proj )
+ doc? ( app-text/docbook-xsl-stylesheets )
+ sys-devel/autoconf"
+RDEPEND=">=dev-db/postgresql-8.0.0
+ geos? ( sci-libs/geos )
+ proj? ( sci-libs/proj )"
src_compile(){
local myconf
@@ -28,7 +28,6 @@ src_compile(){
myconf="${myconf} --enable-autoconf --with-maxbackends=1024"
- cd ${S}
if use doc; then
local xslv="$(portageq match / app-text/docbook-xsl-stylesheets |\
cut -d'/' -f2 | sed s/"docbook-"//)"
@@ -65,8 +64,6 @@ src_compile(){
}
src_install(){
- into /usr
- cd ${S}
dodir /usr/libexec /usr/share/postgresql /usr/share/postgresql/contrib/
einstall || die "Error: einstall failed"
mv ${D}/usr/share/*.sql ${D}/usr/share/postgresql/contrib/