postgresql: add postgresql-contrib, fixes #637.
This commit is contained in:
parent
d107331219
commit
ce90320bae
2 changed files with 16 additions and 1 deletions
1
srcpkgs/postgresql-contrib
Symbolic link
1
srcpkgs/postgresql-contrib
Symbolic link
|
@ -0,0 +1 @@
|
||||||
|
postgresql
|
|
@ -1,7 +1,7 @@
|
||||||
# Template file for 'postgresql'
|
# Template file for 'postgresql'
|
||||||
pkgname=postgresql
|
pkgname=postgresql
|
||||||
version=9.3.5
|
version=9.3.5
|
||||||
revision=2
|
revision=3
|
||||||
build_style=gnu-configure
|
build_style=gnu-configure
|
||||||
make_build_target="world"
|
make_build_target="world"
|
||||||
configure_args="--with-openssl --with-python
|
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"
|
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() {
|
post_install() {
|
||||||
|
make -C contrib install
|
||||||
|
|
||||||
vmkdir usr/share/man
|
vmkdir usr/share/man
|
||||||
cp -r doc/src/sgml/man? ${DESTDIR}/usr/share/man
|
cp -r doc/src/sgml/man? ${DESTDIR}/usr/share/man
|
||||||
vmkdir usr/share/doc/postgresql
|
vmkdir usr/share/doc/postgresql
|
||||||
|
@ -168,3 +174,11 @@ postgresql-client_package() {
|
||||||
${PKGDESTDIR}/usr/share/postgresql
|
${PKGDESTDIR}/usr/share/postgresql
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
|
postgresql-contrib_package() {
|
||||||
|
short_desc="PostgreSQL contributed programs and extensions"
|
||||||
|
pkg_install() {
|
||||||
|
make -C contrib install DESTDIR=${PKGDESTDIR}
|
||||||
|
}
|
||||||
|
}
|
||||||
|
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue