postgresql: add postgresql-contrib, fixes #637.

This commit is contained in:
Christian Neukirchen 2014-11-14 15:14:06 +01:00
parent d107331219
commit ce90320bae
2 changed files with 16 additions and 1 deletions

1
srcpkgs/postgresql-contrib Symbolic link
View file

@ -0,0 +1 @@
postgresql

View file

@ -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}
}
}