From 0fd9ba4c740db0c643980e16d3679831690b1d51 Mon Sep 17 00:00:00 2001 From: Sven Wegener Date: Sun, 28 Aug 2005 20:05:09 +0000 Subject: no need to cd ${S} at start of src_* functions (Portage version: 2.0.51.22-r2) --- dev-db/postgis/postgis-1.0.0_p20050512.ebuild | 5 +---- dev-db/postgis/postgis-1.0.1_p20050805.ebuild | 21 +++++++++------------ 2 files changed, 10 insertions(+), 16 deletions(-) (limited to 'dev-db/postgis') 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/ -- cgit v1.2.3-65-gdbad