summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
Diffstat (limited to 'dev-db/postgresql-base/postgresql-base-8.2.6.ebuild')
-rw-r--r--dev-db/postgresql-base/postgresql-base-8.2.6.ebuild27
1 files changed, 4 insertions, 23 deletions
diff --git a/dev-db/postgresql-base/postgresql-base-8.2.6.ebuild b/dev-db/postgresql-base/postgresql-base-8.2.6.ebuild
index 0b43f76..e6a4085 100644
--- a/dev-db/postgresql-base/postgresql-base-8.2.6.ebuild
+++ b/dev-db/postgresql-base/postgresql-base-8.2.6.ebuild
@@ -16,7 +16,6 @@ HOMEPAGE="http://www.postgresql.org/"
SRC_URI="mirror://postgresql/source/v${PV}/postgresql-${PV}.tar.bz2"
LICENSE="POSTGRESQL"
SLOT="$(get_version_component_range 1-2)"
-# find . -name \*.po | xargs -n 1 basename | cut -d. -f1|sort|uniq|sed 's/^/linguas_/'
IUSE_LINGUAS="
linguas_af linguas_cs linguas_de linguas_es linguas_fa linguas_fr
linguas_hr linguas_hu linguas_it linguas_ko linguas_nb linguas_pl
@@ -39,13 +38,13 @@ RDEPEND="kerberos? ( virtual/krb5 )
>=app-admin/eselect-postgresql-0.2
!dev-db/postgresql-libs
!dev-db/postgresql-client
- !dev-db/postgresql-docs
- !dev-db/libpq:3 !dev-db/libpq:4
- !dev-db/postgresql:0
+ !dev-db/libpq
+ !dev-db/postgresql
ldap? ( net-nds/openldap )"
DEPEND="${RDEPEND}
>=sys-devel/bison-1.875
nls? ( sys-devel/gettext )"
+PDEPEND="doc? ( dev-db/postgresql-docs:${SLOT} )"
S="${WORKDIR}/postgresql-${PV}"
@@ -130,25 +129,7 @@ __EOF__
__EOF__
doenvd "${T}/50postgresql-95-${SLOT}"
-
- if use doc ; then
- dodir /usr/share/doc/${PF}/html
- tar -zxf "${S}/doc/postgres.tar.gz" -C "${D}/usr/share/doc/${PF}/html"
-
- cd "${S}/doc"
-
- docinto FAQ_html
- dodoc src/FAQ/*
-
- docinto sgml
- dodoc src/sgml/*.{sgml,dsl}
-
- docinto sgml/ref
- dodoc src/sgml/ref/*.sgml
-
- docinto TODO.detail
- dodoc TODO.detail/*
- fi
+ keepdir /etc/postgresql-${SLOT}
}
pkg_postinst() {