summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorTiziano Müller <dev-zero@gentoo.org>2008-04-15 09:12:20 +0000
committerTiziano Müller <dev-zero@gentoo.org>2008-04-15 09:12:20 +0000
commit7bd3cbccfa607a152539b116ae8d3ac52116d1b1 (patch)
treed51a04e7c425d74eb2c45b9a55d2801f62694c25 /dev-db/postgresql-docs/postgresql-docs-8.0.15.ebuild
parentcourier-authlib version bump (diff)
downloadgentoo-2-7bd3cbccfa607a152539b116ae8d3ac52116d1b1.tar.gz
gentoo-2-7bd3cbccfa607a152539b116ae8d3ac52116d1b1.tar.bz2
gentoo-2-7bd3cbccfa607a152539b116ae8d3ac52116d1b1.zip
Moved into the tree. Thanks to Michael Krelin (polyonymous).
(Portage version: 2.1.5_rc2)
Diffstat (limited to 'dev-db/postgresql-docs/postgresql-docs-8.0.15.ebuild')
-rw-r--r--dev-db/postgresql-docs/postgresql-docs-8.0.15.ebuild37
1 files changed, 37 insertions, 0 deletions
diff --git a/dev-db/postgresql-docs/postgresql-docs-8.0.15.ebuild b/dev-db/postgresql-docs/postgresql-docs-8.0.15.ebuild
new file mode 100644
index 000000000000..840c4bb42aee
--- /dev/null
+++ b/dev-db/postgresql-docs/postgresql-docs-8.0.15.ebuild
@@ -0,0 +1,37 @@
+# Copyright 1999-2008 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+# $Header: /var/cvsroot/gentoo-x86/dev-db/postgresql-docs/postgresql-docs-8.0.15.ebuild,v 1.1 2008/04/15 09:12:20 dev-zero Exp $
+
+inherit versionator
+
+KEYWORDS="~amd64 ~x86"
+
+DESCRIPTION="PostgreSQL documentation"
+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)"
+IUSE=""
+
+DEPEND=""
+
+S="${WORKDIR}/postgresql-${PV}"
+
+src_install() {
+ 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/*
+
+ dodir /etc/eselect/postgresql/slots/${SLOT}
+ {
+ echo "postgres_ebuilds=\"\${postgres_ebuilds} ${PF}\""
+ } >"${D}/etc/eselect/postgresql/slots/${SLOT}/docs"
+}