add the postgresql contributions from the contrib/ directory

as a subpackage, bump as required.

ok mbalmer@, go ahead robert@, kili@
This commit is contained in:
simon 2007-03-22 19:29:17 +00:00
parent b9d3e63cb0
commit 738f344933
6 changed files with 150 additions and 5 deletions

View File

@ -1,14 +1,16 @@
# $OpenBSD: Makefile,v 1.102 2007/02/10 08:01:35 mbalmer Exp $
# $OpenBSD: Makefile,v 1.103 2007/03/22 19:29:17 simon Exp $
COMMENT-main= "PostgreSQL RDBMS (client)"
COMMENT-server= "PostgreSQL RDBMS (server)"
COMMENT-docs= "PostgreSQL RDBMS documentation"
COMMENT-contrib="PostgreSQL RDBMS contributions"
VERSION= 8.2.3
DISTNAME= postgresql-${VERSION}
PKGNAME-main= postgresql-client-${VERSION}p0
PKGNAME-main= postgresql-client-${VERSION}p1
PKGNAME-server= postgresql-server-${VERSION}
PKGNAME-docs= postgresql-docs-${VERSION}p0
PKGNAME-docs= postgresql-docs-${VERSION}p1
PKGNAME-contrib=postgresql-contrib-${VERSION}
CATEGORIES= databases
SHARED_LIBS= ecpg 6.0 \
@ -32,7 +34,7 @@ MASTER_SITES= ftp://ftp2.uk.postgresql.org/sites/ftp.postgresql.org/source/v${VE
ftp://ftp5.es.postgresql.org/mirror/postgresql/source/v${VERSION}/ \
ftp://ftp.postgresql.org/pub/source/v${VERSION}/
MULTI_PACKAGES= -docs -main -server
MULTI_PACKAGES= -docs -main -server -contrib
# The -client SUBPACKAGE should build and run fine on static arches,
# but the server requires loadable library support. Until we figure
@ -76,6 +78,7 @@ INSTALL_TARGET= install
WANTLIB-server= ${WANTLIB} perl
LIB_DEPENDS-server= pq.>=4:postgresql-client-${VERSION}:databases/postgresql
RUN_DEPENDS-contrib=:postgresql-server-${VERSION}:databases/postgresql,-server
WANTLIB-docs=
PKG_ARCH-docs= *
@ -107,6 +110,10 @@ DOCS= ${WRKSRC}/COPYRIGHT ${WRKSRC}/HISTORY \
${WRKSRC}/doc/README.mb.big5 ${WRKSRC}/doc/README.mb.jp \
${WRKSRC}/doc/FAQ ${WRKSRC}/doc/FAQ_DEV ${WRKSRC}/doc/TODO
post-build:
cd ${WRKBUILD}/contrib && exec ${SETENV} ${MAKE_ENV} \
${MAKE_PROGRAM} ${MAKE_FLAGS} ${ALL_TARGET}
post-install:
${INSTALL_DATA_DIR} ${PREFIX}/share/doc/postgresql
${INSTALL_DATA} ${DOCS} ${PREFIX}/share/doc/postgresql
@ -114,5 +121,7 @@ post-install:
${WRKBUILD}/README.OpenBSD
${INSTALL_DATA} ${WRKBUILD}/README.OpenBSD \
${PREFIX}/share/doc/postgresql
cd ${WRKBUILD}/contrib && exec ${SETENV} ${MAKE_ENV} DESTDIR=${WRKINST} \
${MAKE_PROGRAM} ${MAKE_FLAGS} ${INSTALL_TARGET}
.include <bsd.port.mk>

View File

@ -0,0 +1,6 @@
Contains porting tools, analysis utilities, and plug-in features
that are not part of the core PostgreSQL system, mainly because
they address a limited audience or are too experimental to be part
of the main source tree. This does not preclude their usefulness.
Documentation is in postgresql-docs subpackage.

View File

@ -16,3 +16,6 @@ The OpenBSD PostgreSQL port build produces several packages:
HTML format: Administrator's Guide, Programmer's Manual, PostgreSQL
Tutorial and User's Guide and Integrated Documentation package
contains all the above documentation.
* postgresql-contrib-${VERSION} - contributions
Additional utilities and usefull libraries.

View File

@ -0,0 +1,29 @@
@comment $OpenBSD: PFRAG.shared-contrib,v 1.1 2007/03/22 19:29:17 simon Exp $
lib/postgresql/_int.so
lib/postgresql/adminpack.so
lib/postgresql/autoinc.so
lib/postgresql/btree_gist.so
lib/postgresql/chkpass.so
lib/postgresql/cube.so
lib/postgresql/dblink.so
lib/postgresql/earthdistance.so
lib/postgresql/fuzzystrmatch.so
lib/postgresql/hstore.so
lib/postgresql/insert_username.so
lib/postgresql/int_aggregate.so
lib/postgresql/isn.so
lib/postgresql/lo.so
lib/postgresql/ltree.so
lib/postgresql/moddatetime.so
lib/postgresql/pg_buffercache.so
lib/postgresql/pg_freespacemap.so
lib/postgresql/pg_trgm.so
lib/postgresql/pgcrypto.so
lib/postgresql/pgrowlocks.so
lib/postgresql/pgstattuple.so
lib/postgresql/refint.so
lib/postgresql/seg.so
lib/postgresql/sslinfo.so
lib/postgresql/tablefunc.so
lib/postgresql/timetravel.so
lib/postgresql/tsearch2.so

View File

@ -0,0 +1,61 @@
@comment $OpenBSD: PLIST-contrib,v 1.1 2007/03/22 19:29:17 simon Exp $
%%SHARED%%
bin/oid2name
bin/pgbench
bin/vacuumlo
share/postgresql/contrib/
share/postgresql/contrib/_int.sql
share/postgresql/contrib/adminpack.sql
share/postgresql/contrib/autoinc.sql
share/postgresql/contrib/btree_gist.sql
share/postgresql/contrib/chkpass.sql
share/postgresql/contrib/cube.sql
share/postgresql/contrib/dblink.sql
share/postgresql/contrib/earthdistance.sql
share/postgresql/contrib/english.stop
share/postgresql/contrib/fuzzystrmatch.sql
share/postgresql/contrib/hstore.sql
share/postgresql/contrib/insert_username.sql
share/postgresql/contrib/int_aggregate.sql
share/postgresql/contrib/isn.sql
share/postgresql/contrib/lo.sql
share/postgresql/contrib/ltree.sql
share/postgresql/contrib/moddatetime.sql
share/postgresql/contrib/pg_buffercache.sql
share/postgresql/contrib/pg_freespacemap.sql
share/postgresql/contrib/pg_trgm.sql
share/postgresql/contrib/pgcrypto.sql
share/postgresql/contrib/pgrowlocks.sql
share/postgresql/contrib/pgstattuple.sql
share/postgresql/contrib/refint.sql
share/postgresql/contrib/russian.stop
share/postgresql/contrib/russian.stop.utf8
share/postgresql/contrib/seg.sql
share/postgresql/contrib/sslinfo.sql
share/postgresql/contrib/tablefunc.sql
share/postgresql/contrib/thesaurus
share/postgresql/contrib/timetravel.sql
share/postgresql/contrib/tsearch2.sql
share/postgresql/contrib/uninstall__int.sql
share/postgresql/contrib/uninstall_adminpack.sql
share/postgresql/contrib/uninstall_btree_gist.sql
share/postgresql/contrib/uninstall_chkpass.sql
share/postgresql/contrib/uninstall_cube.sql
share/postgresql/contrib/uninstall_dblink.sql
share/postgresql/contrib/uninstall_earthdistance.sql
share/postgresql/contrib/uninstall_fuzzystrmatch.sql
share/postgresql/contrib/uninstall_hstore.sql
share/postgresql/contrib/uninstall_int_aggregate.sql
share/postgresql/contrib/uninstall_isn.sql
share/postgresql/contrib/uninstall_lo.sql
share/postgresql/contrib/uninstall_ltree.sql
share/postgresql/contrib/uninstall_pg_buffercache.sql
share/postgresql/contrib/uninstall_pg_freespacemap.sql
share/postgresql/contrib/uninstall_pg_trgm.sql
share/postgresql/contrib/uninstall_pgcrypto.sql
share/postgresql/contrib/uninstall_pgrowlocks.sql
share/postgresql/contrib/uninstall_pgstattuple.sql
share/postgresql/contrib/uninstall_seg.sql
share/postgresql/contrib/uninstall_sslinfo.sql
share/postgresql/contrib/uninstall_tablefunc.sql
share/postgresql/contrib/uninstall_tsearch2.sql

View File

@ -1,4 +1,4 @@
@comment $OpenBSD: PLIST-docs,v 1.30 2007/02/10 08:01:35 mbalmer Exp $
@comment $OpenBSD: PLIST-docs,v 1.31 2007/03/22 19:29:17 simon Exp $
@comment lib/libpq.so.5
share/doc/postgresql/COPYRIGHT
share/doc/postgresql/FAQ
@ -9,6 +9,43 @@ share/doc/postgresql/README
share/doc/postgresql/README.mb.big5
share/doc/postgresql/README.mb.jp
share/doc/postgresql/TODO
share/doc/postgresql/contrib/
share/doc/postgresql/contrib/README.adminpack
share/doc/postgresql/contrib/README.btree_gist
share/doc/postgresql/contrib/README.chkpass
share/doc/postgresql/contrib/README.cube
share/doc/postgresql/contrib/README.dblink
share/doc/postgresql/contrib/README.earthdistance
share/doc/postgresql/contrib/README.fuzzystrmatch
share/doc/postgresql/contrib/README.hstore
share/doc/postgresql/contrib/README.int_aggregate
share/doc/postgresql/contrib/README.intarray
share/doc/postgresql/contrib/README.isn
share/doc/postgresql/contrib/README.lo
share/doc/postgresql/contrib/README.ltree
share/doc/postgresql/contrib/README.oid2name
share/doc/postgresql/contrib/README.pg_buffercache
share/doc/postgresql/contrib/README.pg_freespacemap
share/doc/postgresql/contrib/README.pg_trgm
share/doc/postgresql/contrib/README.pgbench
share/doc/postgresql/contrib/README.pgbench_jis
share/doc/postgresql/contrib/README.pgcrypto
share/doc/postgresql/contrib/README.pgrowlocks
share/doc/postgresql/contrib/README.pgrowlocks.euc_jp
share/doc/postgresql/contrib/README.pgstattuple
share/doc/postgresql/contrib/README.pgstattuple.euc_jp
share/doc/postgresql/contrib/README.seg
share/doc/postgresql/contrib/README.soundex
share/doc/postgresql/contrib/README.spi
share/doc/postgresql/contrib/README.sslinfo
share/doc/postgresql/contrib/README.tablefunc
share/doc/postgresql/contrib/README.tsearch2
share/doc/postgresql/contrib/README.vacuumlo
share/doc/postgresql/contrib/autoinc.example
share/doc/postgresql/contrib/insert_username.example
share/doc/postgresql/contrib/moddatetime.example
share/doc/postgresql/contrib/refint.example
share/doc/postgresql/contrib/timetravel.example
share/doc/postgresql/html/
share/doc/postgresql/html/LEGALNOTICE.html
share/doc/postgresql/html/admin.html