From ea21ae064f02133c9d0a4f1018dcd42590495ff2 Mon Sep 17 00:00:00 2001 From: jlam Date: Sat, 15 Jul 2000 01:23:56 +0000 Subject: Install the Server Programming Interface header files. Closes PR#10480. --- databases/postgresql/Makefile | 16 ++++++- databases/postgresql/pkg/PLIST | 18 +------- databases/postgresql/pkg/PLIST.dirrm | 17 +++++++ databases/postgresql/pkg/PLIST.spi | 89 ++++++++++++++++++++++++++++++++++++ 4 files changed, 122 insertions(+), 18 deletions(-) create mode 100644 databases/postgresql/pkg/PLIST.dirrm create mode 100644 databases/postgresql/pkg/PLIST.spi (limited to 'databases') diff --git a/databases/postgresql/Makefile b/databases/postgresql/Makefile index 4fc76cdbc78..663f342e014 100644 --- a/databases/postgresql/Makefile +++ b/databases/postgresql/Makefile @@ -1,4 +1,4 @@ -# $NetBSD: Makefile,v 1.51 2000/07/14 04:44:11 jlam Exp $ +# $NetBSD: Makefile,v 1.52 2000/07/15 01:23:56 jlam Exp $ # FreeBSD Id: Makefile,v 1.22 1997/12/24 01:21:37 alex Exp # @@ -31,6 +31,9 @@ PGHOME= ${PREFIX}/${PGUSER} BUILD_DEFS= PGUSER PGROUP PLIST_SUBST= PGUSER=${PGUSER} +PLIST_SRC+= ${PKGDIR}/PLIST +PLIST_SRC+= ${PKGDIR}/PLIST.spi +PLIST_SRC+= ${PKGDIR}/PLIST.dirrm CONFIGURE_ARGS+= --without-perl --without-odbc --without-tcl CONFIGURE_ARGS+= --with-includes="${LOCALBASE}/include" @@ -62,6 +65,17 @@ pre-install: post-install: cd ${PREFIX}/include/pgsql; ${RMDIR} -p port/netbsd + dirlist=`${GREP} "^@dirrm" ${PKGDIR}/PLIST.spi \ + | ${AWK} '{ print $$2 }'`; \ + for dir in $$dirlist; do \ + ${INSTALL_DATA_DIR} ${PREFIX}/$$dir; \ + done + filelist=`${GREP} "^include/pgsql/" ${PKGDIR}/PLIST.spi \ + | ${SED} "s,^include/pgsql/,,g"`; \ + cd ${WRKSRC}/include; for file in $$filelist; do \ + ${INSTALL_DATA} $$file ${PREFIX}/include/pgsql/$$file; \ + done + .for PROG in ecpg pg_dump pg_encoding pg_id pg_passwd pg_version postgres psql strip ${PREFIX}/bin/${PROG} .endfor diff --git a/databases/postgresql/pkg/PLIST b/databases/postgresql/pkg/PLIST index c68d565decb..00c0f98b7df 100644 --- a/databases/postgresql/pkg/PLIST +++ b/databases/postgresql/pkg/PLIST @@ -1,4 +1,4 @@ -@comment $NetBSD: PLIST,v 1.14 2000/07/14 04:44:13 jlam Exp $ +@comment $NetBSD: PLIST,v 1.15 2000/07/15 01:23:57 jlam Exp $ ${PGUSER}/.profile.pgsql ${PGUSER}/post-install-notes bin/createdb @@ -1029,19 +1029,3 @@ share/postgresql/pg_hba.conf.sample share/postgresql/pg_ident.conf.sample share/postgresql/pg_options.sample share/postgresql/postmaster.opts.default.sample -@dirrm share/postgresql -@dirrm share/doc/postgresql -@dirrm share/doc/html/postgresql/user -@dirrm share/doc/html/postgresql/tutorial -@dirrm share/doc/html/postgresql/programmer -@dirrm share/doc/html/postgresql/postgres -@dirrm share/doc/html/postgresql/admin -@dirrm share/doc/html/postgresql -@dirrm include/pgsql/utils -@dirrm include/pgsql/libpq -@dirrm include/pgsql/libpq++ -@dirrm include/pgsql/lib -@dirrm include/pgsql/executor -@dirrm include/pgsql/commands -@dirrm include/pgsql/access -@dirrm include/pgsql diff --git a/databases/postgresql/pkg/PLIST.dirrm b/databases/postgresql/pkg/PLIST.dirrm new file mode 100644 index 00000000000..cf16f6c57fc --- /dev/null +++ b/databases/postgresql/pkg/PLIST.dirrm @@ -0,0 +1,17 @@ +@comment $NetBSD: PLIST.dirrm,v 1.3 2000/07/15 01:23:57 jlam Exp $ +@dirrm share/postgresql +@dirrm share/doc/postgresql +@dirrm share/doc/html/postgresql/user +@dirrm share/doc/html/postgresql/tutorial +@dirrm share/doc/html/postgresql/programmer +@dirrm share/doc/html/postgresql/postgres +@dirrm share/doc/html/postgresql/admin +@dirrm share/doc/html/postgresql +@dirrm include/pgsql/utils +@dirrm include/pgsql/libpq +@dirrm include/pgsql/libpq++ +@dirrm include/pgsql/lib +@dirrm include/pgsql/executor +@dirrm include/pgsql/commands +@dirrm include/pgsql/access +@dirrm include/pgsql diff --git a/databases/postgresql/pkg/PLIST.spi b/databases/postgresql/pkg/PLIST.spi new file mode 100644 index 00000000000..0a6d42dcefc --- /dev/null +++ b/databases/postgresql/pkg/PLIST.spi @@ -0,0 +1,89 @@ +@comment $NetBSD: PLIST.spi,v 1.1 2000/07/15 01:23:58 jlam Exp $ +include/pgsql/access/funcindex.h +include/pgsql/access/heapam.h +include/pgsql/access/htup.h +include/pgsql/access/ibit.h +include/pgsql/access/itup.h +include/pgsql/access/relscan.h +include/pgsql/access/sdir.h +include/pgsql/access/skey.h +include/pgsql/access/strat.h +include/pgsql/access/transam.h +include/pgsql/access/tupdesc.h +include/pgsql/access/tupmacs.h +include/pgsql/access/xact.h +include/pgsql/catalog/catname.h +include/pgsql/catalog/pg_am.h +include/pgsql/catalog/pg_attribute.h +include/pgsql/catalog/pg_class.h +include/pgsql/catalog/pg_index.h +include/pgsql/catalog/pg_language.h +include/pgsql/catalog/pg_proc.h +include/pgsql/catalog/pg_type.h +include/pgsql/executor/execdefs.h +include/pgsql/executor/execdesc.h +include/pgsql/executor/executor.h +include/pgsql/executor/hashjoin.h +include/pgsql/executor/tuptable.h +include/pgsql/lib/fstack.h +include/pgsql/nodes/execnodes.h +include/pgsql/nodes/memnodes.h +include/pgsql/nodes/nodes.h +include/pgsql/nodes/params.h +include/pgsql/nodes/parsenodes.h +include/pgsql/nodes/pg_list.h +include/pgsql/nodes/plannodes.h +include/pgsql/nodes/primnodes.h +include/pgsql/nodes/relation.h +include/pgsql/parser/parse_node.h +include/pgsql/parser/parse_type.h +include/pgsql/rewrite/prs2lock.h +include/pgsql/storage/block.h +include/pgsql/storage/buf.h +include/pgsql/storage/buf_internals.h +include/pgsql/storage/buffile.h +include/pgsql/storage/bufmgr.h +include/pgsql/storage/bufpage.h +include/pgsql/storage/fd.h +include/pgsql/storage/ipc.h +include/pgsql/storage/item.h +include/pgsql/storage/itemid.h +include/pgsql/storage/itemptr.h +include/pgsql/storage/lmgr.h +include/pgsql/storage/lock.h +include/pgsql/storage/off.h +include/pgsql/storage/page.h +include/pgsql/storage/shmem.h +include/pgsql/storage/sinval.h +include/pgsql/storage/sinvaladt.h +include/pgsql/storage/spin.h +include/pgsql/tcop/dest.h +include/pgsql/tcop/pquery.h +include/pgsql/tcop/tcopprot.h +include/pgsql/tcop/utility.h +include/pgsql/utils/array.h +include/pgsql/utils/builtins.h +include/pgsql/utils/date.h +include/pgsql/utils/datetime.h +include/pgsql/utils/datum.h +include/pgsql/utils/fcache.h +include/pgsql/utils/hsearch.h +include/pgsql/utils/inet.h +include/pgsql/utils/int8.h +include/pgsql/utils/lztext.h +include/pgsql/utils/memutils.h +include/pgsql/utils/nabstime.h +include/pgsql/utils/numeric.h +include/pgsql/utils/pg_lzcompress.h +include/pgsql/utils/portal.h +include/pgsql/utils/rel.h +include/pgsql/utils/syscache.h +include/pgsql/utils/timestamp.h +include/pgsql/utils/tqual.h +include/pgsql/utils/varbit.h +@dirrm include/pgsql/tcop +@dirrm include/pgsql/storage +@dirrm include/pgsql/rewrite +@dirrm include/pgsql/parser +@dirrm include/pgsql/nodes +@dirrm include/pgsql/catalog -- cgit v1.2.3