diff --git a/srcpkgs/postgresql-contrib b/srcpkgs/postgresql-contrib new file mode 120000 index 00000000000..360e6d1a1f4 --- /dev/null +++ b/srcpkgs/postgresql-contrib @@ -0,0 +1 @@ +postgresql \ No newline at end of file diff --git a/srcpkgs/postgresql/template b/srcpkgs/postgresql/template index e11fcc9131d..b68245ff37f 100644 --- a/srcpkgs/postgresql/template +++ b/srcpkgs/postgresql/template @@ -1,7 +1,7 @@ # Template file for 'postgresql' pkgname=postgresql version=9.3.5 -revision=2 +revision=3 build_style=gnu-configure make_build_target="world" configure_args="--with-openssl --with-python @@ -43,7 +43,13 @@ pre_build() { export SGML_CATALOG_FILES="/usr/share/sgml/openjade/catalog:/usr/share/sgml/iso8879/catalog:/usr/share/sgml/docbook/dsssl/modular/catalog:/usr/share/sgml/docbook/4.2/catalog" } +post_build() { + make -C contrib ${makejobs} +} + post_install() { + make -C contrib install + vmkdir usr/share/man cp -r doc/src/sgml/man? ${DESTDIR}/usr/share/man vmkdir usr/share/doc/postgresql @@ -168,3 +174,11 @@ postgresql-client_package() { ${PKGDESTDIR}/usr/share/postgresql } } + +postgresql-contrib_package() { + short_desc="PostgreSQL contributed programs and extensions" + pkg_install() { + make -C contrib install DESTDIR=${PKGDESTDIR} + } +} +