postgresql: add postgresql-contrib, fixes #637.
This commit is contained in:
parent
d107331219
commit
ce90320bae
|
@ -0,0 +1 @@
|
|||
postgresql
|
|
@ -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}
|
||||
}
|
||||
}
|
||||
|
||||
|
|
Loading…
Reference in New Issue