summaryrefslogtreecommitdiff
path: root/databases
diff options
context:
space:
mode:
authorrecht <recht@pkgsrc.org>2004-07-24 22:48:13 +0000
committerrecht <recht@pkgsrc.org>2004-07-24 22:48:13 +0000
commite181ac3e68c2279691abd66b12fa57768e64d883 (patch)
tree9e0930ff5b6833301aa97db348272399350e42bc /databases
parent8dc45652d46a220002347a3b36987cfcc6720ea4 (diff)
downloadpkgsrc-e181ac3e68c2279691abd66b12fa57768e64d883.tar.gz
Delete old postgresql packages now that we have the postgresql73 ones.
Diffstat (limited to 'databases')
-rw-r--r--databases/postgresql-client/DESCR9
-rw-r--r--databases/postgresql-client/Makefile37
-rw-r--r--databases/postgresql-client/PLIST126
-rw-r--r--databases/postgresql-client/files/exclude7
-rw-r--r--databases/postgresql-docs/DESCR9
-rw-r--r--databases/postgresql-docs/Makefile27
-rw-r--r--databases/postgresql-docs/PLIST624
-rw-r--r--databases/postgresql-lib/DESCR9
-rw-r--r--databases/postgresql-lib/INSTALL14
-rw-r--r--databases/postgresql-lib/Makefile47
-rw-r--r--databases/postgresql-lib/PLIST368
-rw-r--r--databases/postgresql-lib/buildlink3.mk25
-rw-r--r--databases/postgresql-lib/files/man.lib3
-rw-r--r--databases/postgresql-plperl/DESCR5
-rw-r--r--databases/postgresql-plperl/MESSAGE7
-rw-r--r--databases/postgresql-plperl/Makefile22
-rw-r--r--databases/postgresql-plperl/PLIST2
-rw-r--r--databases/postgresql-pltcl/DESCR4
-rw-r--r--databases/postgresql-pltcl/MESSAGE7
-rw-r--r--databases/postgresql-pltcl/Makefile23
-rw-r--r--databases/postgresql-pltcl/PLIST6
-rw-r--r--databases/postgresql-server/DEINSTALL20
-rw-r--r--databases/postgresql-server/DESCR9
-rw-r--r--databases/postgresql-server/MESSAGE17
-rw-r--r--databases/postgresql-server/Makefile73
-rw-r--r--databases/postgresql-server/PLIST38
-rw-r--r--databases/postgresql-server/files/man.server4
-rw-r--r--databases/postgresql-server/files/pgsql.sh142
-rw-r--r--databases/postgresql/DESCR9
-rw-r--r--databases/postgresql/Makefile20
-rw-r--r--databases/postgresql/Makefile.common90
-rw-r--r--databases/postgresql/PLIST2
-rw-r--r--databases/postgresql/distinfo12
-rw-r--r--databases/postgresql/files/GNUmakefile.libpgtcl20
-rw-r--r--databases/postgresql/files/GNUmakefile.libpq20
-rw-r--r--databases/postgresql/files/Makefile.custom15
-rw-r--r--databases/postgresql/patches/patch-aa40
-rw-r--r--databases/postgresql/patches/patch-ac31
-rw-r--r--databases/postgresql/patches/patch-ad48
-rw-r--r--databases/postgresql/patches/patch-ae41
-rw-r--r--databases/postgresql/patches/patch-af13
-rw-r--r--databases/postgresql/patches/patch-ag16
-rw-r--r--databases/postgresql/patches/patch-ah43
-rw-r--r--databases/postgresql/patches/patch-ai9
-rw-r--r--databases/py-postgresql/DESCR4
-rw-r--r--databases/py-postgresql/Makefile39
-rw-r--r--databases/py-postgresql/PLIST15
-rw-r--r--databases/tcl-postgresql/DESCR2
-rw-r--r--databases/tcl-postgresql/Makefile28
-rw-r--r--databases/tcl-postgresql/PLIST8
-rw-r--r--databases/tcl-postgresql/buildlink3.mk21
-rw-r--r--databases/tcl-postgresql/files/man.tcl3
-rw-r--r--databases/tk-postgresql/DESCR1
-rw-r--r--databases/tk-postgresql/Makefile34
-rw-r--r--databases/tk-postgresql/PLIST3
-rw-r--r--databases/tk-postgresql/files/man.tk3
56 files changed, 0 insertions, 2274 deletions
diff --git a/databases/postgresql-client/DESCR b/databases/postgresql-client/DESCR
deleted file mode 100644
index a485664e6f1..00000000000
--- a/databases/postgresql-client/DESCR
+++ /dev/null
@@ -1,9 +0,0 @@
-PostgreSQL is a robust, next-generation, Object-Relational DBMS (ORDBMS),
-derived from the Berkeley Postgres database management system. While
-PostgreSQL retains the powerful object-relational data model, rich data types
-and easy extensibility of Postgres, it replaces the PostQuel query language
-with an extended subset of SQL.
-
-PostgreSQL is free and the complete source is available.
-
-This package contains the database client programs.
diff --git a/databases/postgresql-client/Makefile b/databases/postgresql-client/Makefile
deleted file mode 100644
index 7ee158dd8bc..00000000000
--- a/databases/postgresql-client/Makefile
+++ /dev/null
@@ -1,37 +0,0 @@
-# $NetBSD: Makefile,v 1.25 2004/06/26 13:32:45 darcy Exp $
-
-PKGNAME= postgresql-client-${BASE_VERS}
-SVR4_PKGNAME= pstgc
-COMMENT= PostgreSQL database client programs
-
-USE_BUILDLINK3= yes
-
-.include "../../databases/postgresql/Makefile.common"
-
-CONFIGURE_ARGS+= --with-openssl=${SSLBASE}
-CONFIGURE_ARGS+= --with-zlib
-CONFIGURE_ARGS+= --with-readline
-MAKE_ENV+= INSTALLED_LIBPQ=1
-
-BUILD_DIRS= ${WRKSRC}/src/bin
-
-pre-build:
- cd ${WRKSRC}/src/bin/psql && \
- ${RM} -f pqsignal.h && \
- ${LN} -sf ${BUILDLINK_DIR}/include/postgresql/server/libpq/pqsignal.h pqsignal.h
- for file in parser/parse.h utils/fmgroids.h; do \
- src="${BUILDLINK_DIR}/include/postgresql/server/$$file"; \
- dest="${WRKSRC}/src/include/$$file"; \
- ${RM} -f $$dest; \
- ${LN} -sf $$src $$dest; \
- done
-
-post-install:
- cd ${PREFIX}/man && \
- ${PAX} -O -crzf ${WRKSRC}/doc/man.tar.gz `${GREP} -v ^# ${FILESDIR}/exclude`
-
-.include "../../databases/postgresql-lib/buildlink3.mk"
-.include "../../devel/readline/buildlink3.mk"
-.include "../../devel/zlib/buildlink3.mk"
-
-.include "../../mk/bsd.pkg.mk"
diff --git a/databases/postgresql-client/PLIST b/databases/postgresql-client/PLIST
deleted file mode 100644
index 5e6084d4860..00000000000
--- a/databases/postgresql-client/PLIST
+++ /dev/null
@@ -1,126 +0,0 @@
-@comment $NetBSD: PLIST,v 1.3 2003/01/05 20:12:21 jlam Exp $
-bin/clusterdb
-bin/createdb
-bin/createlang
-bin/createuser
-bin/dropdb
-bin/droplang
-bin/dropuser
-bin/initdb
-bin/initlocation
-bin/ipcclean
-bin/pg_config
-bin/pg_controldata
-bin/pg_ctl
-bin/pg_dump
-bin/pg_dumpall
-bin/pg_encoding
-bin/pg_id
-bin/pg_resetxlog
-bin/pg_restore
-bin/psql
-bin/vacuumdb
-man/man1/clusterdb.1
-man/man1/createdb.1
-man/man1/createlang.1
-man/man1/createuser.1
-man/man1/dropdb.1
-man/man1/droplang.1
-man/man1/dropuser.1
-man/man1/initdb.1
-man/man1/initlocation.1
-man/man1/ipcclean.1
-man/man1/pg_config.1
-man/man1/pg_controldata.1
-man/man1/pg_ctl.1
-man/man1/pg_dump.1
-man/man1/pg_dumpall.1
-man/man1/pg_resetxlog.1
-man/man1/pg_restore.1
-man/man1/psql.1
-man/man1/vacuumdb.1
-man/manl/abort.l
-man/manl/alter_database.l
-man/manl/alter_group.l
-man/manl/alter_table.l
-man/manl/alter_trigger.l
-man/manl/alter_user.l
-man/manl/analyze.l
-man/manl/begin.l
-man/manl/checkpoint.l
-man/manl/close.l
-man/manl/cluster.l
-man/manl/comment.l
-man/manl/commit.l
-man/manl/copy.l
-man/manl/create_aggregate.l
-man/manl/create_cast.l
-man/manl/create_constraint_trigger.l
-man/manl/create_conversion.l
-man/manl/create_database.l
-man/manl/create_domain.l
-man/manl/create_function.l
-man/manl/create_group.l
-man/manl/create_index.l
-man/manl/create_language.l
-man/manl/create_operator.l
-man/manl/create_operator_class.l
-man/manl/create_rule.l
-man/manl/create_schema.l
-man/manl/create_sequence.l
-man/manl/create_table.l
-man/manl/create_table_as.l
-man/manl/create_trigger.l
-man/manl/create_type.l
-man/manl/create_user.l
-man/manl/create_view.l
-man/manl/deallocate.l
-man/manl/declare.l
-man/manl/delete.l
-man/manl/drop_aggregate.l
-man/manl/drop_cast.l
-man/manl/drop_conversion.l
-man/manl/drop_database.l
-man/manl/drop_domain.l
-man/manl/drop_function.l
-man/manl/drop_group.l
-man/manl/drop_index.l
-man/manl/drop_language.l
-man/manl/drop_operator.l
-man/manl/drop_operator_class.l
-man/manl/drop_rule.l
-man/manl/drop_schema.l
-man/manl/drop_sequence.l
-man/manl/drop_table.l
-man/manl/drop_trigger.l
-man/manl/drop_type.l
-man/manl/drop_user.l
-man/manl/drop_view.l
-man/manl/end.l
-man/manl/execute.l
-man/manl/explain.l
-man/manl/fetch.l
-man/manl/grant.l
-man/manl/insert.l
-man/manl/listen.l
-man/manl/load.l
-man/manl/lock.l
-man/manl/move.l
-man/manl/notify.l
-man/manl/prepare.l
-man/manl/reindex.l
-man/manl/reset.l
-man/manl/revoke.l
-man/manl/rollback.l
-man/manl/select.l
-man/manl/select_into.l
-man/manl/set.l
-man/manl/set_constraints.l
-man/manl/set_session_authorization.l
-man/manl/set_transaction.l
-man/manl/show.l
-man/manl/start_transaction.l
-man/manl/truncate.l
-man/manl/unlisten.l
-man/manl/update.l
-man/manl/vacuum.l
diff --git a/databases/postgresql-client/files/exclude b/databases/postgresql-client/files/exclude
deleted file mode 100644
index 01293b119f4..00000000000
--- a/databases/postgresql-client/files/exclude
+++ /dev/null
@@ -1,7 +0,0 @@
-# $NetBSD: exclude,v 1.2 2003/01/05 20:12:22 jlam Exp $
-#
-man1/ecpg.1
-man1/pgtclsh.1
-man1/pgtksh.1
-man1/postgres.1
-man1/postmaster.1
diff --git a/databases/postgresql-docs/DESCR b/databases/postgresql-docs/DESCR
deleted file mode 100644
index 89dd99e91c2..00000000000
--- a/databases/postgresql-docs/DESCR
+++ /dev/null
@@ -1,9 +0,0 @@
-PostgreSQL is a robust, next-generation, Object-Relational DBMS (ORDBMS),
-derived from the Berkeley Postgres database management system. While
-PostgreSQL retains the powerful object-relational data model, rich data types
-and easy extensibility of Postgres, it replaces the PostQuel query language
-with an extended subset of SQL.
-
-PostgreSQL is free and the complete source is available.
-
-This package contains the database documentation.
diff --git a/databases/postgresql-docs/Makefile b/databases/postgresql-docs/Makefile
deleted file mode 100644
index 5074db2ef82..00000000000
--- a/databases/postgresql-docs/Makefile
+++ /dev/null
@@ -1,27 +0,0 @@
-# $NetBSD: Makefile,v 1.9 2004/04/27 05:44:22 snj Exp $
-
-PKGNAME= postgresql-docs-${BASE_VERS}
-SVR4_PKGNAME= pstgd
-COMMENT= PostgreSQL database system documentation
-
-USE_BUILDLINK3= yes
-
-.include "../../databases/postgresql/Makefile.common"
-
-BUILD_DIRS= ${WRKSRC}/doc
-DOCDIR= ${PREFIX}/share/doc/postgresql
-
-# The manpage documentation is installed with the relevant packages.
-pre-build:
- cd ${WRKSRC}/doc && ${RM} -f man.tar.gz
-
-post-install:
- ${INSTALL_DATA_DIR} ${DOCDIR}
- cd ${WRKSRC}/doc; for file in \
- FAQ* KNOWN_BUGS MISSING_FEATURES README.* TODO \
- bug.template; \
- do \
- ${INSTALL_DATA} $${file} ${DOCDIR}/$${file}; \
- done
-
-.include "../../mk/bsd.pkg.mk"
diff --git a/databases/postgresql-docs/PLIST b/databases/postgresql-docs/PLIST
deleted file mode 100644
index 225d3b9dc07..00000000000
--- a/databases/postgresql-docs/PLIST
+++ /dev/null
@@ -1,624 +0,0 @@
-@comment $NetBSD: PLIST,v 1.8 2004/07/08 06:29:02 cube Exp $
-share/doc/html/postgresql/admin-preface.html
-share/doc/html/postgresql/admin.html
-share/doc/html/postgresql/app-clusterdb.html
-share/doc/html/postgresql/app-createdb.html
-share/doc/html/postgresql/app-createlang.html
-share/doc/html/postgresql/app-createuser.html
-share/doc/html/postgresql/app-dropdb.html
-share/doc/html/postgresql/app-droplang.html
-share/doc/html/postgresql/app-dropuser.html
-share/doc/html/postgresql/app-ecpg.html
-share/doc/html/postgresql/app-initdb.html
-share/doc/html/postgresql/app-initlocation.html
-share/doc/html/postgresql/app-ipcclean.html
-share/doc/html/postgresql/app-pg-ctl.html
-share/doc/html/postgresql/app-pg-dumpall.html
-share/doc/html/postgresql/app-pgconfig.html
-share/doc/html/postgresql/app-pgcontroldata.html
-share/doc/html/postgresql/app-pgdump.html
-share/doc/html/postgresql/app-pgresetxlog.html
-share/doc/html/postgresql/app-pgrestore.html
-share/doc/html/postgresql/app-pgtclsh.html
-share/doc/html/postgresql/app-pgtksh.html
-share/doc/html/postgresql/app-postgres.html
-share/doc/html/postgresql/app-postmaster.html
-share/doc/html/postgresql/app-psql.html
-share/doc/html/postgresql/app-vacuumdb.html
-share/doc/html/postgresql/applevel-consistency.html
-share/doc/html/postgresql/arch-pg.html
-share/doc/html/postgresql/arrays.html
-share/doc/html/postgresql/auth-methods.html
-share/doc/html/postgresql/backup-file.html
-share/doc/html/postgresql/backup.html
-share/doc/html/postgresql/biblio.html
-share/doc/html/postgresql/bki-commands.html
-share/doc/html/postgresql/bki-example.html
-share/doc/html/postgresql/bki.html
-share/doc/html/postgresql/bug-reporting.html
-share/doc/html/postgresql/catalog-pg-aggregate.html
-share/doc/html/postgresql/catalog-pg-am.html
-share/doc/html/postgresql/catalog-pg-amop.html
-share/doc/html/postgresql/catalog-pg-amproc.html
-share/doc/html/postgresql/catalog-pg-attrdef.html
-share/doc/html/postgresql/catalog-pg-attribute.html
-share/doc/html/postgresql/catalog-pg-cast.html
-share/doc/html/postgresql/catalog-pg-class.html
-share/doc/html/postgresql/catalog-pg-constraint.html
-share/doc/html/postgresql/catalog-pg-conversion.html
-share/doc/html/postgresql/catalog-pg-database.html
-share/doc/html/postgresql/catalog-pg-depend.html
-share/doc/html/postgresql/catalog-pg-description.html
-share/doc/html/postgresql/catalog-pg-group.html
-share/doc/html/postgresql/catalog-pg-index.html
-share/doc/html/postgresql/catalog-pg-inherits.html
-share/doc/html/postgresql/catalog-pg-language.html
-share/doc/html/postgresql/catalog-pg-largeobject.html
-share/doc/html/postgresql/catalog-pg-listener.html
-share/doc/html/postgresql/catalog-pg-namespace.html
-share/doc/html/postgresql/catalog-pg-opclass.html
-share/doc/html/postgresql/catalog-pg-operator.html
-share/doc/html/postgresql/catalog-pg-proc.html
-share/doc/html/postgresql/catalog-pg-rewrite.html
-share/doc/html/postgresql/catalog-pg-shadow.html
-share/doc/html/postgresql/catalog-pg-statistic.html
-share/doc/html/postgresql/catalog-pg-trigger.html
-share/doc/html/postgresql/catalog-pg-type.html
-share/doc/html/postgresql/catalogs.gif
-share/doc/html/postgresql/catalogs.html
-share/doc/html/postgresql/charset.html
-share/doc/html/postgresql/client-authentication-problems.html
-share/doc/html/postgresql/client-authentication.html
-share/doc/html/postgresql/compiler.html
-share/doc/html/postgresql/connect-estab.html
-share/doc/html/postgresql/connections.gif
-share/doc/html/postgresql/creating-cluster.html
-share/doc/html/postgresql/cvs-tree.html
-share/doc/html/postgresql/cvs.html
-share/doc/html/postgresql/cvsup.html
-share/doc/html/postgresql/datatype-binary.html
-share/doc/html/postgresql/datatype-bit.html
-share/doc/html/postgresql/datatype-boolean.html
-share/doc/html/postgresql/datatype-character.html
-share/doc/html/postgresql/datatype-datetime.html
-share/doc/html/postgresql/datatype-geometric.html
-share/doc/html/postgresql/datatype-money.html
-share/doc/html/postgresql/datatype-net-types.html
-share/doc/html/postgresql/datatype-oid.html
-share/doc/html/postgresql/datatype-pseudo.html
-share/doc/html/postgresql/datatype.html
-share/doc/html/postgresql/datetime-appendix.html
-share/doc/html/postgresql/ddl-alter.html
-share/doc/html/postgresql/ddl-constraints.html
-share/doc/html/postgresql/ddl-depend.html
-share/doc/html/postgresql/ddl-inherit.html
-share/doc/html/postgresql/ddl-others.html
-share/doc/html/postgresql/ddl-priv.html
-share/doc/html/postgresql/ddl-schemas.html
-share/doc/html/postgresql/ddl-system-columns.html
-share/doc/html/postgresql/ddl.html
-share/doc/html/postgresql/developer.html
-share/doc/html/postgresql/disk-full.html
-share/doc/html/postgresql/diskusage.html
-share/doc/html/postgresql/dml-delete.html
-share/doc/html/postgresql/dml-update.html
-share/doc/html/postgresql/dml.html
-share/doc/html/postgresql/doc-build.html
-share/doc/html/postgresql/doc-sources.html
-share/doc/html/postgresql/doc-style.html
-share/doc/html/postgresql/doc-toolsets.html
-share/doc/html/postgresql/docguide.html
-share/doc/html/postgresql/ecpg-commands.html
-share/doc/html/postgresql/ecpg-connect.html
-share/doc/html/postgresql/ecpg-develop.html
-share/doc/html/postgresql/ecpg-disconnect.html
-share/doc/html/postgresql/ecpg-errors.html
-share/doc/html/postgresql/ecpg-include.html
-share/doc/html/postgresql/ecpg-library.html
-share/doc/html/postgresql/ecpg-porting.html
-share/doc/html/postgresql/ecpg-process.html
-share/doc/html/postgresql/ecpg-variables.html
-share/doc/html/postgresql/ecpg.html
-share/doc/html/postgresql/executor.html
-share/doc/html/postgresql/explicit-joins.html
-share/doc/html/postgresql/explicit-locking.html
-share/doc/html/postgresql/extend.html
-share/doc/html/postgresql/features.html
-share/doc/html/postgresql/functions-aggregate.html
-share/doc/html/postgresql/functions-binarystring.html
-share/doc/html/postgresql/functions-comparison.html
-share/doc/html/postgresql/functions-conditional.html
-share/doc/html/postgresql/functions-datetime.html
-share/doc/html/postgresql/functions-formatting.html
-share/doc/html/postgresql/functions-geometry.html
-share/doc/html/postgresql/functions-matching.html
-share/doc/html/postgresql/functions-math.html
-share/doc/html/postgresql/functions-misc.html
-share/doc/html/postgresql/functions-net.html
-share/doc/html/postgresql/functions-sequence.html
-share/doc/html/postgresql/functions-string.html
-share/doc/html/postgresql/functions-subquery.html
-share/doc/html/postgresql/functions.html
-share/doc/html/postgresql/geqo-biblio.html
-share/doc/html/postgresql/geqo-intro2.html
-share/doc/html/postgresql/geqo-pg-intro.html
-share/doc/html/postgresql/geqo.html
-share/doc/html/postgresql/gist.html
-share/doc/html/postgresql/groups.html
-share/doc/html/postgresql/history.html
-share/doc/html/postgresql/index.html
-share/doc/html/postgresql/indexcost.html
-share/doc/html/postgresql/indexes-examine.html
-share/doc/html/postgresql/indexes-functional.html
-share/doc/html/postgresql/indexes-multicolumn.html
-share/doc/html/postgresql/indexes-opclass.html
-share/doc/html/postgresql/indexes-partial.html
-share/doc/html/postgresql/indexes-types.html
-share/doc/html/postgresql/indexes-unique.html
-share/doc/html/postgresql/indexes.html
-share/doc/html/postgresql/install-getsource.html
-share/doc/html/postgresql/install-post.html
-share/doc/html/postgresql/install-procedure.html
-share/doc/html/postgresql/install-requirements.html
-share/doc/html/postgresql/install-upgrading.html
-share/doc/html/postgresql/install-win32.html
-share/doc/html/postgresql/installation.html
-share/doc/html/postgresql/jdbc-binary-data.html
-share/doc/html/postgresql/jdbc-datasource.html
-share/doc/html/postgresql/jdbc-ddl.html
-share/doc/html/postgresql/jdbc-ext.html
-share/doc/html/postgresql/jdbc-query.html
-share/doc/html/postgresql/jdbc-reading.html
-share/doc/html/postgresql/jdbc-thread.html
-share/doc/html/postgresql/jdbc-update.html
-share/doc/html/postgresql/jdbc-use.html
-share/doc/html/postgresql/jdbc.html
-share/doc/html/postgresql/kernel-resources.html
-share/doc/html/postgresql/largeobjects.html
-share/doc/html/postgresql/libpgtcl-loading.html
-share/doc/html/postgresql/libpgtcl-ref.html
-share/doc/html/postgresql/libpq-async.html
-share/doc/html/postgresql/libpq-build.html
-share/doc/html/postgresql/libpq-connect.html
-share/doc/html/postgresql/libpq-control.html
-share/doc/html/postgresql/libpq-copy.html
-share/doc/html/postgresql/libpq-envars.html
-share/doc/html/postgresql/libpq-example.html
-share/doc/html/postgresql/libpq-exec.html
-share/doc/html/postgresql/libpq-fastpath.html
-share/doc/html/postgresql/libpq-files.html
-share/doc/html/postgresql/libpq-notify.html
-share/doc/html/postgresql/libpq-threading.html
-share/doc/html/postgresql/libpq-trace.html
-share/doc/html/postgresql/libpq.html
-share/doc/html/postgresql/ln17989.html
-share/doc/html/postgresql/ln24842.html
-share/doc/html/postgresql/ln37286.html
-share/doc/html/postgresql/ln52002.html
-share/doc/html/postgresql/ln25.html
-share/doc/html/postgresql/ln659.html
-share/doc/html/postgresql/lo-funcs.html
-share/doc/html/postgresql/lo-implementation.html
-share/doc/html/postgresql/lo-interfaces.html
-share/doc/html/postgresql/lo-libpq.html
-share/doc/html/postgresql/locking-indexes.html
-share/doc/html/postgresql/logfile-maintenance.html
-share/doc/html/postgresql/maintenance.html
-share/doc/html/postgresql/manage-ag-alternate-locs.html
-share/doc/html/postgresql/manage-ag-config.html
-share/doc/html/postgresql/manage-ag-createdb.html
-share/doc/html/postgresql/manage-ag-dropdb.html
-share/doc/html/postgresql/manage-ag-templatedbs.html
-share/doc/html/postgresql/managing-databases.html
-share/doc/html/postgresql/migration.html
-share/doc/html/postgresql/monitoring-locks.html
-share/doc/html/postgresql/monitoring-stats.html
-share/doc/html/postgresql/monitoring.html
-share/doc/html/postgresql/multibyte.html
-share/doc/html/postgresql/mvcc.html
-share/doc/html/postgresql/nls-programmer.html
-share/doc/html/postgresql/nls.html
-share/doc/html/postgresql/notation.html
-share/doc/html/postgresql/overview.html
-share/doc/html/postgresql/page.html
-share/doc/html/postgresql/parser-stage.html
-share/doc/html/postgresql/performance-tips.html
-share/doc/html/postgresql/perm-functions.html
-share/doc/html/postgresql/pg-system-catalogs.html
-share/doc/html/postgresql/pgtcl-pgconndefaults.html
-share/doc/html/postgresql/pgtcl-pgconnect.html
-share/doc/html/postgresql/pgtcl-pgdisconnect.html
-share/doc/html/postgresql/pgtcl-pgexec.html
-share/doc/html/postgresql/pgtcl-pgexecute.html
-share/doc/html/postgresql/pgtcl-pglisten.html
-share/doc/html/postgresql/pgtcl-pgloclose.html
-share/doc/html/postgresql/pgtcl-pglocreat.html
-share/doc/html/postgresql/pgtcl-pgloexport.html
-share/doc/html/postgresql/pgtcl-pgloimport.html
-share/doc/html/postgresql/pgtcl-pglolseek.html
-share/doc/html/postgresql/pgtcl-pgloopen.html
-share/doc/html/postgresql/pgtcl-pgloread.html
-share/doc/html/postgresql/pgtcl-pglotell.html
-share/doc/html/postgresql/pgtcl-pglounlink.html
-share/doc/html/postgresql/pgtcl-pglowrite.html
-share/doc/html/postgresql/pgtcl-pgon-connection-loss.html
-share/doc/html/postgresql/pgtcl-pgresult.html
-share/doc/html/postgresql/pgtcl-pgselect.html
-share/doc/html/postgresql/pgtcl.html
-share/doc/html/postgresql/planner-optimizer.html
-share/doc/html/postgresql/planner-stats.html
-share/doc/html/postgresql/plperl-data.html
-share/doc/html/postgresql/plperl-database.html
-share/doc/html/postgresql/plperl-missing.html
-share/doc/html/postgresql/plperl-trusted.html
-share/doc/html/postgresql/plperl.html
-share/doc/html/postgresql/plpgsql-control-structures.html
-share/doc/html/postgresql/plpgsql-cursors.html
-share/doc/html/postgresql/plpgsql-declarations.html
-share/doc/html/postgresql/plpgsql-errors-and-messages.html
-share/doc/html/postgresql/plpgsql-examples.html
-share/doc/html/postgresql/plpgsql-expressions.html
-share/doc/html/postgresql/plpgsql-porting.html
-share/doc/html/postgresql/plpgsql-statements.html
-share/doc/html/postgresql/plpgsql-structure.html
-share/doc/html/postgresql/plpgsql-trigger.html
-share/doc/html/postgresql/plpgsql.html
-share/doc/html/postgresql/plpython-database.html
-share/doc/html/postgresql/plpython-trigger.html
-share/doc/html/postgresql/plpython-trusted.html
-share/doc/html/postgresql/plpython.html
-share/doc/html/postgresql/pltcl-description.html
-share/doc/html/postgresql/pltcl.html
-share/doc/html/postgresql/populate.html
-share/doc/html/postgresql/postmaster-shutdown.html
-share/doc/html/postgresql/postmaster-start.html
-share/doc/html/postgresql/privileges.html
-share/doc/html/postgresql/programmer-client.html
-share/doc/html/postgresql/programmer-pl.html
-share/doc/html/postgresql/programmer-preface.html
-share/doc/html/postgresql/programmer-server.html
-share/doc/html/postgresql/programmer.html
-share/doc/html/postgresql/protocol-message-formats.html
-share/doc/html/postgresql/protocol-message-types.html
-share/doc/html/postgresql/protocol-protocol.html
-share/doc/html/postgresql/protocol.html
-share/doc/html/postgresql/pygresql-close.html
-share/doc/html/postgresql/pygresql-connect.html
-share/doc/html/postgresql/pygresql-db-clear.html
-share/doc/html/postgresql/pygresql-db-delete.html
-share/doc/html/postgresql/pygresql-db-get-attnames.html
-share/doc/html/postgresql/pygresql-db-get-databases.html
-share/doc/html/postgresql/pygresql-db-get-tables.html
-share/doc/html/postgresql/pygresql-db-get.html
-share/doc/html/postgresql/pygresql-db-insert.html
-share/doc/html/postgresql/pygresql-db-pkey.html
-share/doc/html/postgresql/pygresql-db-update.html
-share/doc/html/postgresql/pygresql-endcopy.html
-share/doc/html/postgresql/pygresql-fileno.html
-share/doc/html/postgresql/pygresql-get-defbase.html
-share/doc/html/postgresql/pygresql-get-defhost.html
-share/doc/html/postgresql/pygresql-get-defopt.html
-share/doc/html/postgresql/pygresql-get-defport.html
-share/doc/html/postgresql/pygresql-get-deftty.html
-share/doc/html/postgresql/pygresql-getline.html
-share/doc/html/postgresql/pygresql-getlo.html
-share/doc/html/postgresql/pygresql-getnotify.html
-share/doc/html/postgresql/pygresql-inserttable.html
-share/doc/html/postgresql/pygresql-locreate.html
-share/doc/html/postgresql/pygresql-loimport.html
-share/doc/html/postgresql/pygresql-pg-db.html
-share/doc/html/postgresql/pygresql-pg-functions.html
-share/doc/html/postgresql/pygresql-pg-pglarge.html
-share/doc/html/postgresql/pygresql-pg-pgobject.html
-share/doc/html/postgresql/pygresql-pg-pgqueryobject.html
-share/doc/html/postgresql/pygresql-pglargeobject-close.html
-share/doc/html/postgresql/pygresql-pglargeobject-export.html
-share/doc/html/postgresql/pygresql-pglargeobject-open.html
-share/doc/html/postgresql/pygresql-pglargeobject-read.html
-share/doc/html/postgresql/pygresql-pglargeobject-seek.html
-share/doc/html/postgresql/pygresql-pglargeobject-size.html
-share/doc/html/postgresql/pygresql-pglargeobject-tell.html
-share/doc/html/postgresql/pygresql-pglargeobject-unlink.html
-share/doc/html/postgresql/pygresql-pglargeobject-write.html
-share/doc/html/postgresql/pygresql-pgqueryobject-dictresult.html
-share/doc/html/postgresql/pygresql-pgqueryobject-fieldname.html
-share/doc/html/postgresql/pygresql-pgqueryobject-fieldnum.html
-share/doc/html/postgresql/pygresql-pgqueryobject-getresult.html
-share/doc/html/postgresql/pygresql-pgqueryobject-listfields.html
-share/doc/html/postgresql/pygresql-pgqueryobject-ntuples.html
-share/doc/html/postgresql/pygresql-putline.html
-share/doc/html/postgresql/pygresql-query.html
-share/doc/html/postgresql/pygresql-reset.html
-share/doc/html/postgresql/pygresql-set-defbase.html
-share/doc/html/postgresql/pygresql-set-defhost.html
-share/doc/html/postgresql/pygresql-set-defopt.html
-share/doc/html/postgresql/pygresql-set-defport.html
-share/doc/html/postgresql/pygresql-set-deftty.html
-share/doc/html/postgresql/pygresql.html
-share/doc/html/postgresql/queries-limit.html
-share/doc/html/postgresql/queries-order.html
-share/doc/html/postgresql/queries-select-lists.html
-share/doc/html/postgresql/queries-table-expressions.html
-share/doc/html/postgresql/queries-union.html
-share/doc/html/postgresql/queries.html
-share/doc/html/postgresql/querytree.html
-share/doc/html/postgresql/recode.html
-share/doc/html/postgresql/reference-client.html
-share/doc/html/postgresql/reference-preface.html
-share/doc/html/postgresql/reference-server.html
-share/doc/html/postgresql/reference.html
-share/doc/html/postgresql/regress-evaluation.html
-share/doc/html/postgresql/regress-platform.html
-share/doc/html/postgresql/regress-run.html
-share/doc/html/postgresql/regress.html
-share/doc/html/postgresql/release-0-01.html
-share/doc/html/postgresql/release-0-02.html
-share/doc/html/postgresql/release-0-03.html
-share/doc/html/postgresql/release-1-0.html
-share/doc/html/postgresql/release-1-01.html
-share/doc/html/postgresql/release-1-02.html
-share/doc/html/postgresql/release-1-09.html
-share/doc/html/postgresql/release-6-0.html
-share/doc/html/postgresql/release-6-1-1.html
-share/doc/html/postgresql/release-6-1.html
-share/doc/html/postgresql/release-6-2-1.html
-share/doc/html/postgresql/release-6-2.html
-share/doc/html/postgresql/release-6-3-1.html
-share/doc/html/postgresql/release-6-3-2.html
-share/doc/html/postgresql/release-6-3.html
-share/doc/html/postgresql/release-6-4-1.html
-share/doc/html/postgresql/release-6-4-2.html
-share/doc/html/postgresql/release-6-4.html
-share/doc/html/postgresql/release-6-5-1.html
-share/doc/html/postgresql/release-6-5-2.html
-share/doc/html/postgresql/release-6-5-3.html
-share/doc/html/postgresql/release-6-5.html
-share/doc/html/postgresql/release-7-0-1.html
-share/doc/html/postgresql/release-7-0-2.html
-share/doc/html/postgresql/release-7-0-3.html
-share/doc/html/postgresql/release-7-0.html
-share/doc/html/postgresql/release-7-1-1.html
-share/doc/html/postgresql/release-7-1-2.html
-share/doc/html/postgresql/release-7-1-3.html
-share/doc/html/postgresql/release-7-1.html
-share/doc/html/postgresql/release-7-2-1.html
-share/doc/html/postgresql/release-7-2-2.html
-share/doc/html/postgresql/release-7-2-3.html
-share/doc/html/postgresql/release-7-2-4.html
-share/doc/html/postgresql/release-7-2.html
-share/doc/html/postgresql/release-7-3-1.html
-share/doc/html/postgresql/release-7-3-2.html
-share/doc/html/postgresql/release-7-3-3.html
-share/doc/html/postgresql/release-7-3-4.html
-share/doc/html/postgresql/release-7-3-5.html
-share/doc/html/postgresql/release-7-3.html
-share/doc/html/postgresql/release.html
-share/doc/html/postgresql/resources.html
-share/doc/html/postgresql/routine-reindex.html
-share/doc/html/postgresql/routine-vacuuming.html
-share/doc/html/postgresql/rule-system.html
-share/doc/html/postgresql/rules-insert.html
-share/doc/html/postgresql/rules-permissions.html
-share/doc/html/postgresql/rules-status.html
-share/doc/html/postgresql/rules-triggers.html
-share/doc/html/postgresql/rules-views.html
-share/doc/html/postgresql/rules.html
-share/doc/html/postgresql/runtime-config.html
-share/doc/html/postgresql/runtime.html
-share/doc/html/postgresql/setindex.html
-share/doc/html/postgresql/source.html
-share/doc/html/postgresql/spi-examples.html
-share/doc/html/postgresql/spi-interface-support.html
-share/doc/html/postgresql/spi-memory.html
-share/doc/html/postgresql/spi-spiconnect.html
-share/doc/html/postgresql/spi-spicopytuple.html
-share/doc/html/postgresql/spi-spicopytupledesc.html
-share/doc/html/postgresql/spi-spicopytupleintoslot.html
-share/doc/html/postgresql/spi-spicursor-close.html
-share/doc/html/postgresql/spi-spicursor-fetch.html
-share/doc/html/postgresql/spi-spicursor-find.html
-share/doc/html/postgresql/spi-spicursor-move.html
-share/doc/html/postgresql/spi-spicursor-open.html
-share/doc/html/postgresql/spi-spiexec.html
-share/doc/html/postgresql/spi-spiexecp.html
-share/doc/html/postgresql/spi-spifinish.html
-share/doc/html/postgresql/spi-spifname.html
-share/doc/html/postgresql/spi-spifnumber.html
-share/doc/html/postgresql/spi-spifreeplan.html
-share/doc/html/postgresql/spi-spifreetuple.html
-share/doc/html/postgresql/spi-spifreetuptable.html
-share/doc/html/postgresql/spi-spigetbinval.html
-share/doc/html/postgresql/spi-spigetrelname.html
-share/doc/html/postgresql/spi-spigettype.html
-share/doc/html/postgresql/spi-spigettypeid.html
-share/doc/html/postgresql/spi-spigetvalue.html
-share/doc/html/postgresql/spi-spimodifytuple.html
-share/doc/html/postgresql/spi-spipalloc.html
-share/doc/html/postgresql/spi-spipfree.html
-share/doc/html/postgresql/spi-spiprepare.html
-share/doc/html/postgresql/spi-spirepalloc.html
-share/doc/html/postgresql/spi-spisaveplan.html
-share/doc/html/postgresql/spi-visibility.html
-share/doc/html/postgresql/spi.html
-share/doc/html/postgresql/sql-abort.html
-share/doc/html/postgresql/sql-alterdatabase.html
-share/doc/html/postgresql/sql-altergroup.html
-share/doc/html/postgresql/sql-altertable.html
-share/doc/html/postgresql/sql-altertrigger.html
-share/doc/html/postgresql/sql-alteruser.html
-share/doc/html/postgresql/sql-analyze.html
-share/doc/html/postgresql/sql-begin.html
-share/doc/html/postgresql/sql-checkpoint.html
-share/doc/html/postgresql/sql-close.html
-share/doc/html/postgresql/sql-cluster.html
-share/doc/html/postgresql/sql-commands.html
-share/doc/html/postgresql/sql-comment.html
-share/doc/html/postgresql/sql-commit.html
-share/doc/html/postgresql/sql-copy.html
-share/doc/html/postgresql/sql-createaggregate.html
-share/doc/html/postgresql/sql-createcast.html
-share/doc/html/postgresql/sql-createconstraint.html
-share/doc/html/postgresql/sql-createconversion.html
-share/doc/html/postgresql/sql-createdatabase.html
-share/doc/html/postgresql/sql-createdomain.html
-share/doc/html/postgresql/sql-createfunction.html
-share/doc/html/postgresql/sql-creategroup.html
-share/doc/html/postgresql/sql-createindex.html
-share/doc/html/postgresql/sql-createlanguage.html
-share/doc/html/postgresql/sql-createopclass.html
-share/doc/html/postgresql/sql-createoperator.html
-share/doc/html/postgresql/sql-createrule.html
-share/doc/html/postgresql/sql-createschema.html
-share/doc/html/postgresql/sql-createsequence.html
-share/doc/html/postgresql/sql-createtable.html
-share/doc/html/postgresql/sql-createtableas.html
-share/doc/html/postgresql/sql-createtrigger.html
-share/doc/html/postgresql/sql-createtype.html
-share/doc/html/postgresql/sql-createuser.html
-share/doc/html/postgresql/sql-createview.html
-share/doc/html/postgresql/sql-deallocate.html
-share/doc/html/postgresql/sql-declare.html
-share/doc/html/postgresql/sql-delete.html
-share/doc/html/postgresql/sql-dropaggregate.html
-share/doc/html/postgresql/sql-dropcast.html
-share/doc/html/postgresql/sql-dropconversion.html
-share/doc/html/postgresql/sql-dropdatabase.html
-share/doc/html/postgresql/sql-dropdomain.html
-share/doc/html/postgresql/sql-dropfunction.html
-share/doc/html/postgresql/sql-dropgroup.html
-share/doc/html/postgresql/sql-dropindex.html
-share/doc/html/postgresql/sql-droplanguage.html
-share/doc/html/postgresql/sql-dropopclass.html
-share/doc/html/postgresql/sql-dropoperator.html
-share/doc/html/postgresql/sql-droprule.html
-share/doc/html/postgresql/sql-dropschema.html
-share/doc/html/postgresql/sql-dropsequence.html
-share/doc/html/postgresql/sql-droptable.html
-share/doc/html/postgresql/sql-droptrigger.html
-share/doc/html/postgresql/sql-droptype.html
-share/doc/html/postgresql/sql-dropuser.html
-share/doc/html/postgresql/sql-dropview.html
-share/doc/html/postgresql/sql-end.html
-share/doc/html/postgresql/sql-execute.html
-share/doc/html/postgresql/sql-explain.html
-share/doc/html/postgresql/sql-expressions.html
-share/doc/html/postgresql/sql-fetch.html
-share/doc/html/postgresql/sql-grant.html
-share/doc/html/postgresql/sql-insert.html
-share/doc/html/postgresql/sql-keywords-appendix.html
-share/doc/html/postgresql/sql-listen.html
-share/doc/html/postgresql/sql-load.html
-share/doc/html/postgresql/sql-lock.html
-share/doc/html/postgresql/sql-move.html
-share/doc/html/postgresql/sql-notify.html
-share/doc/html/postgresql/sql-prepare.html
-share/doc/html/postgresql/sql-reindex.html
-share/doc/html/postgresql/sql-reset.html
-share/doc/html/postgresql/sql-revoke.html
-share/doc/html/postgresql/sql-rollback.html
-share/doc/html/postgresql/sql-select.html
-share/doc/html/postgresql/sql-selectinto.html
-share/doc/html/postgresql/sql-set-constraints.html
-share/doc/html/postgresql/sql-set-session-authorization.html
-share/doc/html/postgresql/sql-set-transaction.html
-share/doc/html/postgresql/sql-set.html
-share/doc/html/postgresql/sql-show.html
-share/doc/html/postgresql/sql-start-transaction.html
-share/doc/html/postgresql/sql-syntax.html
-share/doc/html/postgresql/sql-truncate.html
-share/doc/html/postgresql/sql-unlisten.html
-share/doc/html/postgresql/sql-update.html
-share/doc/html/postgresql/sql-vacuum.html
-share/doc/html/postgresql/ssh-tunnels.html
-share/doc/html/postgresql/ssl-tcp.html
-share/doc/html/postgresql/stylesheet.css
-share/doc/html/postgresql/supported-platforms.html
-share/doc/html/postgresql/transaction-iso.html
-share/doc/html/postgresql/trigger-datachanges.html
-share/doc/html/postgresql/trigger-examples.html
-share/doc/html/postgresql/trigger-manager.html
-share/doc/html/postgresql/triggers.html
-share/doc/html/postgresql/tutorial-accessdb.html
-share/doc/html/postgresql/tutorial-advanced.html
-share/doc/html/postgresql/tutorial-agg.html
-share/doc/html/postgresql/tutorial-arch.html
-share/doc/html/postgresql/tutorial-concepts.html
-share/doc/html/postgresql/tutorial-conclusion.html
-share/doc/html/postgresql/tutorial-createdb.html
-share/doc/html/postgresql/tutorial-delete.html
-share/doc/html/postgresql/tutorial-fk.html
-share/doc/html/postgresql/tutorial-inheritance.html
-share/doc/html/postgresql/tutorial-join.html
-share/doc/html/postgresql/tutorial-populate.html
-share/doc/html/postgresql/tutorial-preface.html
-share/doc/html/postgresql/tutorial-select.html
-share/doc/html/postgresql/tutorial-sql.html
-share/doc/html/postgresql/tutorial-start.html
-share/doc/html/postgresql/tutorial-table.html
-share/doc/html/postgresql/tutorial-transactions.html
-share/doc/html/postgresql/tutorial-update.html
-share/doc/html/postgresql/tutorial-views.html
-share/doc/html/postgresql/tutorial.html
-share/doc/html/postgresql/type-system.html
-share/doc/html/postgresql/typeconv-func.html
-share/doc/html/postgresql/typeconv-oper.html
-share/doc/html/postgresql/typeconv-query.html
-share/doc/html/postgresql/typeconv-union-case.html
-share/doc/html/postgresql/typeconv.html
-share/doc/html/postgresql/units-history.html
-share/doc/html/postgresql/unsupported-features-sql99.html
-share/doc/html/postgresql/user-attributes.html
-share/doc/html/postgresql/user-manag.html
-share/doc/html/postgresql/user-preface-thisbook.html
-share/doc/html/postgresql/user-preface.html
-share/doc/html/postgresql/user.html
-share/doc/html/postgresql/wal-configuration.html
-share/doc/html/postgresql/wal-implementation.html
-share/doc/html/postgresql/wal.html
-share/doc/html/postgresql/x1779.html
-share/doc/html/postgresql/x11962.html
-share/doc/html/postgresql/xaggr.html
-share/doc/html/postgresql/xfunc-c.html
-share/doc/html/postgresql/xfunc-internal.html
-share/doc/html/postgresql/xfunc-overload.html
-share/doc/html/postgresql/xfunc-pl.html
-share/doc/html/postgresql/xfunc-plhandler.html
-share/doc/html/postgresql/xfunc-sql.html
-share/doc/html/postgresql/xfunc-tablefunctions.html
-share/doc/html/postgresql/xfunc.html
-share/doc/html/postgresql/xindex-am.html
-share/doc/html/postgresql/xindex-opclass-features.html
-share/doc/html/postgresql/xindex-opclass.html
-share/doc/html/postgresql/xindex-operators.html
-share/doc/html/postgresql/xindex-strategies.html
-share/doc/html/postgresql/xindex-support.html
-share/doc/html/postgresql/xindex.html
-share/doc/html/postgresql/xoper-example.html
-share/doc/html/postgresql/xoper-optimization.html
-share/doc/html/postgresql/xoper.html
-share/doc/html/postgresql/xplang-install.html
-share/doc/html/postgresql/xplang.html
-share/doc/html/postgresql/xtypes.html
-share/doc/postgresql/FAQ
-share/doc/postgresql/FAQ_AIX
-share/doc/postgresql/FAQ_DEV
-share/doc/postgresql/FAQ_HPUX
-share/doc/postgresql/FAQ_IRIX
-share/doc/postgresql/FAQ_MSWIN
-share/doc/postgresql/FAQ_QNX4
-share/doc/postgresql/FAQ_SCO
-share/doc/postgresql/FAQ_Solaris
-share/doc/postgresql/FAQ_german
-share/doc/postgresql/FAQ_hungarian
-share/doc/postgresql/FAQ_japanese
-share/doc/postgresql/FAQ_polish
-share/doc/postgresql/FAQ_russian
-share/doc/postgresql/FAQ_turkish
-share/doc/postgresql/KNOWN_BUGS
-share/doc/postgresql/MISSING_FEATURES
-share/doc/postgresql/README.mb.big5
-share/doc/postgresql/README.mb.jp
-share/doc/postgresql/TODO
-share/doc/postgresql/bug.template
-@dirrm share/doc/postgresql
-@dirrm share/doc/html/postgresql
diff --git a/databases/postgresql-lib/DESCR b/databases/postgresql-lib/DESCR
deleted file mode 100644
index 8e9d35b4af6..00000000000
--- a/databases/postgresql-lib/DESCR
+++ /dev/null
@@ -1,9 +0,0 @@
-PostgreSQL is a robust, next-generation, Object-Relational DBMS (ORDBMS),
-derived from the Berkeley Postgres database management system. While
-PostgreSQL retains the powerful object-relational data model, rich data types
-and easy extensibility of Postgres, it replaces the PostQuel query language
-with an extended subset of SQL.
-
-PostgreSQL is free and the complete source is available.
-
-This package contains the database headers and libraries.
diff --git a/databases/postgresql-lib/INSTALL b/databases/postgresql-lib/INSTALL
deleted file mode 100644
index 50d1fb1653b..00000000000
--- a/databases/postgresql-lib/INSTALL
+++ /dev/null
@@ -1,14 +0,0 @@
-#!/bin/sh
-#
-# $NetBSD: INSTALL,v 1.2 2004/01/21 08:59:32 jlam Exp $
-
-case ${STAGE} in
-VIEW-INSTALL)
- ${RM} -f ${PKG_PREFIX}/include/pgsql
- ${LN} -fs postgresql ${PKG_PREFIX}/include/pgsql
- ;;
-
-VIEW-DEINSTALL)
- ${RM} -f ${PKG_PREFIX}/include/pgsql
- ;;
-esac
diff --git a/databases/postgresql-lib/Makefile b/databases/postgresql-lib/Makefile
deleted file mode 100644
index b03b8d9f952..00000000000
--- a/databases/postgresql-lib/Makefile
+++ /dev/null
@@ -1,47 +0,0 @@
-# $NetBSD: Makefile,v 1.19 2004/06/26 13:32:45 darcy Exp $
-
-PKGNAME= postgresql-lib-${BASE_VERS}
-SVR4_PKGNAME= pstgl
-COMMENT= PostgreSQL database headers and libraries
-
-PKG_INSTALLATION_TYPES= overwrite pkgviews
-USE_BUILDLINK3= yes
-
-.include "../../databases/postgresql/Makefile.common"
-
-CONFIGURE_ARGS+= --with-openssl=${SSLBASE}
-BUILD_DIRS= ${WRKSRC}/src/include
-BUILD_DIRS+= ${WRKSRC}/src/interfaces
-BUILD_DIRS+= ${WRKSRC}/src/pl
-
-USE_PKGINSTALL= yes
-DEINSTALL_EXTRA_TMPL= ${.CURDIR}/INSTALL
-INSTALL_EXTRA_TMPL= ${.CURDIR}/INSTALL
-
-INSTALLATION_DIRS= man
-
-.if ${OPSYS} == "FreeBSD"
-PLIST_SUBST+= LIBECPG="@comment "
-PLIST_SUBST+= LIBPQ="@comment "
-.else
-PLIST_SUBST+= LIBECPG=
-PLIST_SUBST+= LIBPQ=
-.endif
-
-post-buildlink:
-#
-# Avoid conflict between "${LOCALBASE}/include/openssl/des.h" and
-# "/usr/include/crypt.h" -- we want the definitions in the former.
-#
-.if (${OPSYS} == "SunOS")
- ${TOUCH} ${BUILDLINK_DIR}/include/crypt.h
-.endif
-
-post-install:
- cd ${WRKSRC}/src/include && ${SETENV} ${MAKE_ENV} \
- ${MAKE_PROGRAM} install-all-headers
- ${GTAR} zxCf ${PREFIX}/man ${WRKSRC}/doc/man.tar.gz \
- `${SED} -e "s|^#.*||" ${FILESDIR}/man.lib`
-
-.include "../../security/openssl/buildlink3.mk"
-.include "../../mk/bsd.pkg.mk"
diff --git a/databases/postgresql-lib/PLIST b/databases/postgresql-lib/PLIST
deleted file mode 100644
index 1edf3b5f9f1..00000000000
--- a/databases/postgresql-lib/PLIST
+++ /dev/null
@@ -1,368 +0,0 @@
-@comment $NetBSD: PLIST,v 1.7 2004/06/28 23:57:05 grant Exp $
-bin/ecpg
-include/postgresql/ecpgerrno.h
-include/postgresql/ecpglib.h
-include/postgresql/ecpgtype.h
-include/postgresql/internal/c.h
-include/postgresql/internal/lib/dllist.h
-include/postgresql/internal/libpq-int.h
-include/postgresql/internal/libpq/pqcomm.h
-include/postgresql/internal/postgres_fe.h
-include/postgresql/internal/pqexpbuffer.h
-include/postgresql/libpq-fe.h
-include/postgresql/libpq/libpq-fs.h
-include/postgresql/pg_config.h
-include/postgresql/pg_config_os.h
-include/postgresql/postgres_ext.h
-include/postgresql/server/access/attnum.h
-include/postgresql/server/access/clog.h
-include/postgresql/server/access/genam.h
-include/postgresql/server/access/gist.h
-include/postgresql/server/access/gistscan.h
-include/postgresql/server/access/hash.h
-include/postgresql/server/access/heapam.h
-include/postgresql/server/access/hio.h
-include/postgresql/server/access/htup.h
-include/postgresql/server/access/ibit.h
-include/postgresql/server/access/iqual.h
-include/postgresql/server/access/istrat.h
-include/postgresql/server/access/itup.h
-include/postgresql/server/access/nbtree.h
-include/postgresql/server/access/printtup.h
-include/postgresql/server/access/relscan.h
-include/postgresql/server/access/rmgr.h
-include/postgresql/server/access/rtree.h
-include/postgresql/server/access/rtscan.h
-include/postgresql/server/access/sdir.h
-include/postgresql/server/access/skey.h
-include/postgresql/server/access/strat.h
-include/postgresql/server/access/transam.h
-include/postgresql/server/access/tupdesc.h
-include/postgresql/server/access/tupmacs.h
-include/postgresql/server/access/tuptoaster.h
-include/postgresql/server/access/valid.h
-include/postgresql/server/access/xact.h
-include/postgresql/server/access/xlog.h
-include/postgresql/server/access/xlogdefs.h
-include/postgresql/server/access/xlogutils.h
-include/postgresql/server/bootstrap/bootstrap.h
-include/postgresql/server/c.h
-include/postgresql/server/catalog/catalog.h
-include/postgresql/server/catalog/catname.h
-include/postgresql/server/catalog/catversion.h
-include/postgresql/server/catalog/dependency.h
-include/postgresql/server/catalog/heap.h
-include/postgresql/server/catalog/index.h
-include/postgresql/server/catalog/indexing.h
-include/postgresql/server/catalog/namespace.h
-include/postgresql/server/catalog/pg_aggregate.h
-include/postgresql/server/catalog/pg_am.h
-include/postgresql/server/catalog/pg_amop.h
-include/postgresql/server/catalog/pg_amproc.h
-include/postgresql/server/catalog/pg_attrdef.h
-include/postgresql/server/catalog/pg_attribute.h
-include/postgresql/server/catalog/pg_cast.h
-include/postgresql/server/catalog/pg_class.h
-include/postgresql/server/catalog/pg_constraint.h
-include/postgresql/server/catalog/pg_control.h
-include/postgresql/server/catalog/pg_conversion.h
-include/postgresql/server/catalog/pg_database.h
-include/postgresql/server/catalog/pg_depend.h
-include/postgresql/server/catalog/pg_description.h
-include/postgresql/server/catalog/pg_group.h
-include/postgresql/server/catalog/pg_index.h
-include/postgresql/server/catalog/pg_inherits.h
-include/postgresql/server/catalog/pg_language.h
-include/postgresql/server/catalog/pg_largeobject.h
-include/postgresql/server/catalog/pg_listener.h
-include/postgresql/server/catalog/pg_namespace.h
-include/postgresql/server/catalog/pg_opclass.h
-include/postgresql/server/catalog/pg_operator.h
-include/postgresql/server/catalog/pg_proc.h
-include/postgresql/server/catalog/pg_rewrite.h
-include/postgresql/server/catalog/pg_shadow.h
-include/postgresql/server/catalog/pg_statistic.h
-include/postgresql/server/catalog/pg_trigger.h
-include/postgresql/server/catalog/pg_type.h
-include/postgresql/server/catalog/pg_version.h
-include/postgresql/server/commands/async.h
-include/postgresql/server/commands/cluster.h
-include/postgresql/server/commands/comment.h
-include/postgresql/server/commands/conversioncmds.h
-include/postgresql/server/commands/copy.h
-include/postgresql/server/commands/dbcommands.h
-include/postgresql/server/commands/defrem.h
-include/postgresql/server/commands/explain.h
-include/postgresql/server/commands/lockcmds.h
-include/postgresql/server/commands/portalcmds.h
-include/postgresql/server/commands/prepare.h
-include/postgresql/server/commands/proclang.h
-include/postgresql/server/commands/schemacmds.h
-include/postgresql/server/commands/sequence.h
-include/postgresql/server/commands/tablecmds.h
-include/postgresql/server/commands/trigger.h
-include/postgresql/server/commands/user.h
-include/postgresql/server/commands/vacuum.h
-include/postgresql/server/commands/variable.h
-include/postgresql/server/commands/version.h
-include/postgresql/server/commands/view.h
-include/postgresql/server/dynloader.h
-include/postgresql/server/executor/execdebug.h
-include/postgresql/server/executor/execdefs.h
-include/postgresql/server/executor/execdesc.h
-include/postgresql/server/executor/executor.h
-include/postgresql/server/executor/functions.h
-include/postgresql/server/executor/hashjoin.h
-include/postgresql/server/executor/instrument.h
-include/postgresql/server/executor/nodeAgg.h
-include/postgresql/server/executor/nodeAppend.h
-include/postgresql/server/executor/nodeFunctionscan.h
-include/postgresql/server/executor/nodeGroup.h
-include/postgresql/server/executor/nodeHash.h
-include/postgresql/server/executor/nodeHashjoin.h
-include/postgresql/server/executor/nodeIndexscan.h
-include/postgresql/server/executor/nodeLimit.h
-include/postgresql/server/executor/nodeMaterial.h
-include/postgresql/server/executor/nodeMergejoin.h
-include/postgresql/server/executor/nodeNestloop.h
-include/postgresql/server/executor/nodeResult.h
-include/postgresql/server/executor/nodeSeqscan.h
-include/postgresql/server/executor/nodeSetOp.h
-include/postgresql/server/executor/nodeSort.h
-include/postgresql/server/executor/nodeSubplan.h
-include/postgresql/server/executor/nodeSubqueryscan.h
-include/postgresql/server/executor/nodeTidscan.h
-include/postgresql/server/executor/nodeUnique.h
-include/postgresql/server/executor/spi.h
-include/postgresql/server/executor/spi_priv.h
-include/postgresql/server/executor/tuptable.h
-include/postgresql/server/fmgr.h
-include/postgresql/server/funcapi.h
-include/postgresql/server/lib/dllist.h
-include/postgresql/server/lib/lispsort.h
-include/postgresql/server/lib/stringinfo.h
-include/postgresql/server/libpq/auth.h
-include/postgresql/server/libpq/be-fsstubs.h
-include/postgresql/server/libpq/crypt.h
-include/postgresql/server/libpq/hba.h
-include/postgresql/server/libpq/libpq-be.h
-include/postgresql/server/libpq/libpq-fs.h
-include/postgresql/server/libpq/libpq.h
-include/postgresql/server/libpq/password.h
-include/postgresql/server/libpq/pqcomm.h
-include/postgresql/server/libpq/pqformat.h
-include/postgresql/server/libpq/pqsignal.h
-include/postgresql/server/mb/pg_wchar.h
-include/postgresql/server/miscadmin.h
-include/postgresql/server/nodes/execnodes.h
-include/postgresql/server/nodes/makefuncs.h
-include/postgresql/server/nodes/memnodes.h
-include/postgresql/server/nodes/nodeFuncs.h
-include/postgresql/server/nodes/nodes.h
-include/postgresql/server/nodes/params.h
-include/postgresql/server/nodes/parsenodes.h
-include/postgresql/server/nodes/pg_list.h
-include/postgresql/server/nodes/plannodes.h
-include/postgresql/server/nodes/primnodes.h
-include/postgresql/server/nodes/print.h
-include/postgresql/server/nodes/readfuncs.h
-include/postgresql/server/nodes/relation.h
-include/postgresql/server/optimizer/clauses.h
-include/postgresql/server/optimizer/cost.h
-include/postgresql/server/optimizer/geqo.h
-include/postgresql/server/optimizer/geqo_copy.h
-include/postgresql/server/optimizer/geqo_gene.h
-include/postgresql/server/optimizer/geqo_misc.h
-include/postgresql/server/optimizer/geqo_mutation.h
-include/postgresql/server/optimizer/geqo_pool.h
-include/postgresql/server/optimizer/geqo_random.h
-include/postgresql/server/optimizer/geqo_recombination.h
-include/postgresql/server/optimizer/geqo_selection.h
-include/postgresql/server/optimizer/joininfo.h
-include/postgresql/server/optimizer/pathnode.h
-include/postgresql/server/optimizer/paths.h
-include/postgresql/server/optimizer/plancat.h
-include/postgresql/server/optimizer/planmain.h
-include/postgresql/server/optimizer/planner.h
-include/postgresql/server/optimizer/prep.h
-include/postgresql/server/optimizer/restrictinfo.h
-include/postgresql/server/optimizer/subselect.h
-include/postgresql/server/optimizer/tlist.h
-include/postgresql/server/optimizer/var.h
-include/postgresql/server/parser/analyze.h
-include/postgresql/server/parser/gramparse.h
-include/postgresql/server/parser/keywords.h
-include/postgresql/server/parser/parse.h
-include/postgresql/server/parser/parse_agg.h
-include/postgresql/server/parser/parse_clause.h
-include/postgresql/server/parser/parse_coerce.h
-include/postgresql/server/parser/parse_expr.h
-include/postgresql/server/parser/parse_func.h
-include/postgresql/server/parser/parse_node.h
-include/postgresql/server/parser/parse_oper.h
-include/postgresql/server/parser/parse_relation.h
-include/postgresql/server/parser/parse_target.h
-include/postgresql/server/parser/parse_type.h
-include/postgresql/server/parser/parser.h
-include/postgresql/server/parser/parsetree.h
-include/postgresql/server/parser/scansup.h
-include/postgresql/server/pg_config.h
-include/postgresql/server/pg_config_os.h
-include/postgresql/server/pgstat.h
-include/postgresql/server/port/aix.h
-include/postgresql/server/port/beos.h
-include/postgresql/server/port/bsdi.h
-include/postgresql/server/port/darwin.h
-include/postgresql/server/port/dgux.h
-include/postgresql/server/port/freebsd.h
-include/postgresql/server/port/hpux.h
-include/postgresql/server/port/irix5.h
-include/postgresql/server/port/linux.h
-include/postgresql/server/port/netbsd.h
-include/postgresql/server/port/nextstep.h
-include/postgresql/server/port/openbsd.h
-include/postgresql/server/port/osf.h
-include/postgresql/server/port/qnx4.h
-include/postgresql/server/port/sco.h
-include/postgresql/server/port/solaris.h
-include/postgresql/server/port/sunos4.h
-include/postgresql/server/port/svr4.h
-include/postgresql/server/port/ultrix4.h
-include/postgresql/server/port/univel.h
-include/postgresql/server/port/unixware.h
-include/postgresql/server/port/win.h
-include/postgresql/server/port/win32.h
-include/postgresql/server/postgres.h
-include/postgresql/server/postgres_ext.h
-include/postgresql/server/postgres_fe.h
-include/postgresql/server/regex/cclass.h
-include/postgresql/server/regex/cname.h
-include/postgresql/server/regex/regex.h
-include/postgresql/server/regex/regex2.h
-include/postgresql/server/regex/utils.h
-include/postgresql/server/rewrite/prs2lock.h
-include/postgresql/server/rewrite/rewriteDefine.h
-include/postgresql/server/rewrite/rewriteHandler.h
-include/postgresql/server/rewrite/rewriteManip.h
-include/postgresql/server/rewrite/rewriteRemove.h
-include/postgresql/server/rewrite/rewriteSupport.h
-include/postgresql/server/rusagestub.h
-include/postgresql/server/storage/backendid.h
-include/postgresql/server/storage/block.h
-include/postgresql/server/storage/buf.h
-include/postgresql/server/storage/buf_internals.h
-include/postgresql/server/storage/buffile.h
-include/postgresql/server/storage/bufmgr.h
-include/postgresql/server/storage/bufpage.h
-include/postgresql/server/storage/fd.h
-include/postgresql/server/storage/freespace.h
-include/postgresql/server/storage/ipc.h
-include/postgresql/server/storage/item.h
-include/postgresql/server/storage/itemid.h
-include/postgresql/server/storage/itempos.h
-include/postgresql/server/storage/itemptr.h
-include/postgresql/server/storage/large_object.h
-include/postgresql/server/storage/lmgr.h
-include/postgresql/server/storage/lock.h
-include/postgresql/server/storage/lwlock.h
-include/postgresql/server/storage/off.h
-include/postgresql/server/storage/page.h
-include/postgresql/server/storage/pg_sema.h
-include/postgresql/server/storage/pg_shmem.h
-include/postgresql/server/storage/pmsignal.h
-include/postgresql/server/storage/pos.h
-include/postgresql/server/storage/proc.h
-include/postgresql/server/storage/relfilenode.h
-include/postgresql/server/storage/s_lock.h
-include/postgresql/server/storage/shmem.h
-include/postgresql/server/storage/sinval.h
-include/postgresql/server/storage/sinvaladt.h
-include/postgresql/server/storage/smgr.h
-include/postgresql/server/storage/spin.h
-include/postgresql/server/strdup.h
-include/postgresql/server/tcop/dest.h
-include/postgresql/server/tcop/fastpath.h
-include/postgresql/server/tcop/pquery.h
-include/postgresql/server/tcop/tcopdebug.h
-include/postgresql/server/tcop/tcopprot.h
-include/postgresql/server/tcop/utility.h
-include/postgresql/server/utils/acl.h
-include/postgresql/server/utils/array.h
-include/postgresql/server/utils/ascii.h
-include/postgresql/server/utils/bit.h
-include/postgresql/server/utils/builtins.h
-include/postgresql/server/utils/cash.h
-include/postgresql/server/utils/catcache.h
-include/postgresql/server/utils/date.h
-include/postgresql/server/utils/datetime.h
-include/postgresql/server/utils/datum.h
-include/postgresql/server/utils/dynahash.h
-include/postgresql/server/utils/dynamic_loader.h
-include/postgresql/server/utils/elog.h
-include/postgresql/server/utils/fcache.h
-include/postgresql/server/utils/fmgroids.h
-include/postgresql/server/utils/fmgrtab.h
-include/postgresql/server/utils/formatting.h
-include/postgresql/server/utils/geo_decls.h
-include/postgresql/server/utils/guc.h
-include/postgresql/server/utils/hsearch.h
-include/postgresql/server/utils/inet.h
-include/postgresql/server/utils/int8.h
-include/postgresql/server/utils/inval.h
-include/postgresql/server/utils/logtape.h
-include/postgresql/server/utils/lsyscache.h
-include/postgresql/server/utils/memutils.h
-include/postgresql/server/utils/nabstime.h
-include/postgresql/server/utils/numeric.h
-include/postgresql/server/utils/palloc.h
-include/postgresql/server/utils/pg_crc.h
-include/postgresql/server/utils/pg_locale.h
-include/postgresql/server/utils/pg_lzcompress.h
-include/postgresql/server/utils/portal.h
-include/postgresql/server/utils/ps_status.h
-include/postgresql/server/utils/rel.h
-include/postgresql/server/utils/relcache.h
-include/postgresql/server/utils/selfuncs.h
-include/postgresql/server/utils/sets.h
-include/postgresql/server/utils/syscache.h
-include/postgresql/server/utils/timestamp.h
-include/postgresql/server/utils/tqual.h
-include/postgresql/server/utils/tuplesort.h
-include/postgresql/server/utils/tuplestore.h
-include/postgresql/server/utils/varbit.h
-include/postgresql/sql3types.h
-include/postgresql/sqlca.h
-lib/libecpg.a
-lib/libecpg.so
-lib/libecpg.so.3
-${LIBECPG}lib/libecpg.so.3.6
-lib/libpq.a
-lib/libpq.so
-lib/libpq.so.3
-${LIBPQ}lib/libpq.so.3.0
-lib/postgresql/plpgsql.so
-man/man1/ecpg.1
-@dirrm lib/postgresql
-@dirrm include/postgresql/server/utils
-@dirrm include/postgresql/server/tcop
-@dirrm include/postgresql/server/storage
-@dirrm include/postgresql/server/rewrite
-@dirrm include/postgresql/server/regex
-@dirrm include/postgresql/server/port
-@dirrm include/postgresql/server/parser
-@dirrm include/postgresql/server/optimizer
-@dirrm include/postgresql/server/nodes
-@dirrm include/postgresql/server/mb
-@dirrm include/postgresql/server/libpq
-@dirrm include/postgresql/server/lib
-@dirrm include/postgresql/server/executor
-@dirrm include/postgresql/server/commands
-@dirrm include/postgresql/server/catalog
-@dirrm include/postgresql/server/bootstrap
-@dirrm include/postgresql/server/access
-@dirrm include/postgresql/server
-@dirrm include/postgresql/libpq
-@dirrm include/postgresql/internal/libpq
-@dirrm include/postgresql/internal/lib
-@dirrm include/postgresql/internal
-@dirrm include/postgresql
diff --git a/databases/postgresql-lib/buildlink3.mk b/databases/postgresql-lib/buildlink3.mk
deleted file mode 100644
index 7cf4a3647d9..00000000000
--- a/databases/postgresql-lib/buildlink3.mk
+++ /dev/null
@@ -1,25 +0,0 @@
-# $NetBSD: buildlink3.mk,v 1.9 2004/05/09 06:11:51 snj Exp $
-
-BUILDLINK_DEPTH:= ${BUILDLINK_DEPTH}+
-POSTGRESQL_LIB_BUILDLINK3_MK:= ${POSTGRESQL_LIB_BUILDLINK3_MK}+
-
-.if !empty(BUILDLINK_DEPTH:M+)
-BUILDLINK_DEPENDS+= postgresql-lib
-.endif
-
-BUILDLINK_PACKAGES:= ${BUILDLINK_PACKAGES:Npostgresql-lib}
-BUILDLINK_PACKAGES+= postgresql-lib
-
-.if !empty(POSTGRESQL_LIB_BUILDLINK3_MK:M+)
-BUILDLINK_DEPENDS.postgresql-lib+= postgresql-lib>=7.3.1
-BUILDLINK_RECOMMENDED.postgresql-lib?= postgresql-lib>=7.3.4nb2
-BUILDLINK_PKGSRCDIR.postgresql-lib?= ../../databases/postgresql-lib
-BUILDLINK_INCDIRS.postgresql-lib?= include/postgresql
-BUILDLINK_FILES.postgresql-lib+= include/pgsql/*
-BUILDLINK_FILES.postgresql-lib+= include/pgsql/server/*.h
-BUILDLINK_FILES.postgresql-lib+= include/pgsql/server/utils/*.h
-.endif # POSTGRESQL_LIB_BUILDLINK3_MK
-
-.include "../../security/openssl/buildlink3.mk"
-
-BUILDLINK_DEPTH:= ${BUILDLINK_DEPTH:S/+$//}
diff --git a/databases/postgresql-lib/files/man.lib b/databases/postgresql-lib/files/man.lib
deleted file mode 100644
index bafc82a6aa9..00000000000
--- a/databases/postgresql-lib/files/man.lib
+++ /dev/null
@@ -1,3 +0,0 @@
-# $NetBSD: man.lib,v 1.1.1.1 2001/05/14 14:47:35 jlam Exp $
-#
-man1/ecpg.1
diff --git a/databases/postgresql-plperl/DESCR b/databases/postgresql-plperl/DESCR
deleted file mode 100644
index 9057591c0ba..00000000000
--- a/databases/postgresql-plperl/DESCR
+++ /dev/null
@@ -1,5 +0,0 @@
-PL/Perl allows you to write functions in the Perl programming language
-that may be used in SQL queries as if they were built into Postgres.
-The PL/Perl intepreter is a full Perl interpreter. However, certain
-operations have been disabled in order to maintain the security of the
-system.
diff --git a/databases/postgresql-plperl/MESSAGE b/databases/postgresql-plperl/MESSAGE
deleted file mode 100644
index bcfd145f5c1..00000000000
--- a/databases/postgresql-plperl/MESSAGE
+++ /dev/null
@@ -1,7 +0,0 @@
-===========================================================================
-$NetBSD: MESSAGE,v 1.1 2001/11/01 00:12:39 zuntum Exp $
-
-Please see the PL/Perl section of the PostgreSQL Programmer's Guide
-(databases/postgresql-docs) for information on programming with
-${PKGNAME}.
-===========================================================================
diff --git a/databases/postgresql-plperl/Makefile b/databases/postgresql-plperl/Makefile
deleted file mode 100644
index 68e71fbdecd..00000000000
--- a/databases/postgresql-plperl/Makefile
+++ /dev/null
@@ -1,22 +0,0 @@
-# $NetBSD: Makefile,v 1.14 2004/06/26 13:32:45 darcy Exp $
-
-PKGNAME= postgresql-plperl-${BASE_VERS}
-COMMENT= PL/Perl procedural language for the PostgreSQL backend
-
-DEPENDS+= postgresql-server>=${BASE_VERS}:../../databases/postgresql-server
-
-USE_BUILDLINK3= yes
-
-.include "../postgresql/Makefile.common"
-
-CONFIGURE_ARGS+= --with-openssl=${SSLBASE}
-CONFIGURE_ARGS+= --with-perl
-CONFIGURE_ENV+= PERL="${PERL5}"
-
-BUILD_DIRS= ${WRKSRC}/src/pl/plperl
-MAKEFILE= GNUmakefile
-
-.include "../postgresql-lib/buildlink3.mk"
-.include "../../lang/libperl/buildlink3.mk"
-
-.include "../../mk/bsd.pkg.mk"
diff --git a/databases/postgresql-plperl/PLIST b/databases/postgresql-plperl/PLIST
deleted file mode 100644
index 23b0a546aac..00000000000
--- a/databases/postgresql-plperl/PLIST
+++ /dev/null
@@ -1,2 +0,0 @@
-@comment $NetBSD: PLIST,v 1.2 2002/04/04 07:41:03 jlam Exp $
-lib/postgresql/plperl.so
diff --git a/databases/postgresql-pltcl/DESCR b/databases/postgresql-pltcl/DESCR
deleted file mode 100644
index e1aca2980b9..00000000000
--- a/databases/postgresql-pltcl/DESCR
+++ /dev/null
@@ -1,4 +0,0 @@
-PL/Tcl is a dynamic loadable extension for the PostgreSQL database system
-that enables the Tcl language to be used to create functions and
-trigger-procedures. It offers most of the capabilities a function
-writer has in the C language.
diff --git a/databases/postgresql-pltcl/MESSAGE b/databases/postgresql-pltcl/MESSAGE
deleted file mode 100644
index 72704e7d7a1..00000000000
--- a/databases/postgresql-pltcl/MESSAGE
+++ /dev/null
@@ -1,7 +0,0 @@
-===========================================================================
-$NetBSD: MESSAGE,v 1.1 2001/11/01 00:12:40 zuntum Exp $
-
-Please see the PL/Tcl section of the PostgreSQL Programmer's Guide
-(databases/postgresql-docs) for information on programming with
-${PKGNAME}.
-===========================================================================
diff --git a/databases/postgresql-pltcl/Makefile b/databases/postgresql-pltcl/Makefile
deleted file mode 100644
index 9112baaf9cb..00000000000
--- a/databases/postgresql-pltcl/Makefile
+++ /dev/null
@@ -1,23 +0,0 @@
-# $NetBSD: Makefile,v 1.16 2004/06/26 13:32:45 darcy Exp $
-
-PKGNAME= postgresql-pltcl-${BASE_VERS}
-COMMENT= PL/Tcl procedural language for the PostgreSQL backend
-
-DEPENDS+= postgresql-server>=${BASE_VERS}:../../databases/postgresql-server
-
-USE_BUILDLINK3= yes
-
-.include "../postgresql/Makefile.common"
-
-CONFIGURE_ARGS+= --with-openssl=${SSLBASE}
-CONFIGURE_ARGS+= --with-tcl
-CONFIGURE_ARGS+= --with-tclconfig="${BUILDLINK_PREFIX.tcl}/lib"
-CONFIGURE_ENV+= TCLSH="${TCLSH}"
-TCLSH= ${LOCALBASE}/bin/tclsh
-
-BUILD_DIRS= ${WRKSRC}/src/pl/tcl
-
-.include "../postgresql-lib/buildlink3.mk"
-.include "../../lang/tcl/buildlink3.mk"
-
-.include "../../mk/bsd.pkg.mk"
diff --git a/databases/postgresql-pltcl/PLIST b/databases/postgresql-pltcl/PLIST
deleted file mode 100644
index bd95b359da0..00000000000
--- a/databases/postgresql-pltcl/PLIST
+++ /dev/null
@@ -1,6 +0,0 @@
-@comment $NetBSD: PLIST,v 1.3 2003/01/05 20:12:26 jlam Exp $
-bin/pltcl_delmod
-bin/pltcl_listmod
-bin/pltcl_loadmod
-lib/postgresql/pltcl.so
-share/postgresql/unknown.pltcl
diff --git a/databases/postgresql-server/DEINSTALL b/databases/postgresql-server/DEINSTALL
deleted file mode 100644
index aab9c52f4b3..00000000000
--- a/databases/postgresql-server/DEINSTALL
+++ /dev/null
@@ -1,20 +0,0 @@
-# $NetBSD: DEINSTALL,v 1.2 2001/11/19 16:23:08 jlam Exp $
-
-case ${STAGE} in
-DEINSTALL)
- ${CAT} << EOF
-===========================================================================
-
-If you intend to upgrade your PostgreSQL installation, you may need to
-perform a dump-and-restore to move your current databases into the newer
-PostgreSQL installation. Please dump your databases *prior* to installing
-the new PostgreSQL.
-
-Please see the Backup and Restore section of the PostgreSQL Administrator's
-Guide (databases/postgresql-docs) for complete information on how to
-perform the databases dump.
-
-===========================================================================
-EOF
- ;;
-esac
diff --git a/databases/postgresql-server/DESCR b/databases/postgresql-server/DESCR
deleted file mode 100644
index 68bb2b05748..00000000000
--- a/databases/postgresql-server/DESCR
+++ /dev/null
@@ -1,9 +0,0 @@
-PostgreSQL is a robust, next-generation, Object-Relational DBMS (ORDBMS),
-derived from the Berkeley Postgres database management system. While
-PostgreSQL retains the powerful object-relational data model, rich data types
-and easy extensibility of Postgres, it replaces the PostQuel query language
-with an extended subset of SQL.
-
-PostgreSQL is free and the complete source is available.
-
-This package contains the database server programs.
diff --git a/databases/postgresql-server/MESSAGE b/databases/postgresql-server/MESSAGE
deleted file mode 100644
index 20320ad1e42..00000000000
--- a/databases/postgresql-server/MESSAGE
+++ /dev/null
@@ -1,17 +0,0 @@
-===========================================================================
-$NetBSD: MESSAGE,v 1.7 2002/10/19 18:01:19 jlam Exp $
-
-To enable this package, put the following into your /etc/rc.conf:
-
- pgsql=yes
- pgsql_flags="-i" # allows TCP/IP connections
- pgsql_flags="-i -l" # enables SSL connections (TCP/IP and
- # ~pgsql/data/server.crt required)
-
-and ensure that
-
- ${RCD_SCRIPTS_DIR}/pgsql start
-
-is run at the appropriate time.
-
-===========================================================================
diff --git a/databases/postgresql-server/Makefile b/databases/postgresql-server/Makefile
deleted file mode 100644
index 3d66f9dc9fe..00000000000
--- a/databases/postgresql-server/Makefile
+++ /dev/null
@@ -1,73 +0,0 @@
-# $NetBSD: Makefile,v 1.40 2004/06/26 13:32:45 darcy Exp $
-
-PKGNAME= postgresql-server-${BASE_VERS}
-SVR4_PKGNAME= pstgs
-COMMENT= PostgreSQL database server programs
-
-DEPENDS+= postgresql-client>=${BASE_VERS}:../../databases/postgresql-client
-
-# mips has no TAS implementation
-NOT_FOR_PLATFORM= *-*-mips
-
-USE_BUILDLINK3= yes
-
-.include "../../databases/postgresql/Makefile.common"
-
-USE_PKGINSTALL= yes
-DEINSTALL_EXTRA_TMPL+= ${.CURDIR}/DEINSTALL
-
-CONFIGURE_ARGS+= --with-openssl=${SSLBASE}
-BUILD_DIRS= ${WRKSRC}/src/backend
-BUILD_DIRS+= ${WRKSRC}/src/backend/utils/mb/conversion_procs
-
-.if defined(USE_PAM)
-. include "../../security/PAM/buildlink3.mk"
-CONFIGURE_ARGS+= --with-pam
-.endif
-
-# PGUSER username of the database administrator
-# PGGROUP group of the database administrator
-# PGHOME home directory of the database administrator and location of
-# the databases
-#
-PGUSER?= pgsql
-PGGROUP?= pgsql
-PGHOME?= ${PREFIX}/${PGUSER}
-FILES_SUBST+= PGUSER=${PGUSER}
-FILES_SUBST+= PGGROUP=${PGGROUP}
-FILES_SUBST+= PGHOME=${PGHOME}
-BUILD_DEFS= PGUSER PGGROUP PGHOME
-
-PKG_USERS= ${PGUSER}:${PGGROUP}::PostgreSQL\\ database\\ administrator:${PGHOME}:${SH}
-PKG_GROUPS= ${PGGROUP}
-
-RCD_SCRIPTS= pgsql
-
-post-buildlink:
-#
-# Avoid conflict between "${LOCALBASE}/include/openssl/des.h" and
-# "/usr/include/crypt.h" -- we want the definitions in the former.
-#
-.if (${OPSYS} == "SunOS")
- ${TOUCH} ${BUILDLINK_DIR}/include/crypt.h
-.endif
-
-pre-install:
- @case "X${PGUSER}" in \
- Xbin|Xetc|Xinclude|Xinfo|Xlib|Xlibdata|Xlibexec|Xman|Xsbin|Xshare) \
- ${ECHO} "You have chosen PGUSER=${PGUSER} which will"; \
- ${ECHO} "cause trouble, because the postgres home directory"; \
- ${ECHO} "would be ${PGHOME}. Please"; \
- ${ECHO} "set PGUSER to something more reasonable"; \
- ${ECHO} "like pgsql."; \
- ${ECHO} ""; \
- ${FALSE}; \
- ;; \
- esac
-
-post-install:
- ${GTAR} zxCf ${PREFIX}/man ${WRKSRC}/doc/man.tar.gz \
- `${SED} -e "s|^#.*||" ${FILESDIR}/man.server`
-
-.include "../../databases/postgresql-lib/buildlink3.mk"
-.include "../../mk/bsd.pkg.mk"
diff --git a/databases/postgresql-server/PLIST b/databases/postgresql-server/PLIST
deleted file mode 100644
index 29d84db9e16..00000000000
--- a/databases/postgresql-server/PLIST
+++ /dev/null
@@ -1,38 +0,0 @@
-@comment $NetBSD: PLIST,v 1.5 2004/04/23 22:07:53 reed Exp $
-bin/postgres
-bin/postmaster
-lib/postgresql/ascii_and_mic.so
-lib/postgresql/cyrillic_and_mic.so
-lib/postgresql/euc_cn_and_mic.so
-lib/postgresql/euc_jp_and_sjis.so
-lib/postgresql/euc_kr_and_mic.so
-lib/postgresql/euc_tw_and_big5.so
-lib/postgresql/latin2_and_win1250.so
-lib/postgresql/latin_and_mic.so
-lib/postgresql/utf8_and_ascii.so
-lib/postgresql/utf8_and_big5.so
-lib/postgresql/utf8_and_cyrillic.so
-lib/postgresql/utf8_and_euc_cn.so
-lib/postgresql/utf8_and_euc_jp.so
-lib/postgresql/utf8_and_euc_kr.so
-lib/postgresql/utf8_and_euc_tw.so
-lib/postgresql/utf8_and_gb18030.so
-lib/postgresql/utf8_and_gbk.so
-lib/postgresql/utf8_and_iso8859.so
-lib/postgresql/utf8_and_iso8859_1.so
-lib/postgresql/utf8_and_johab.so
-lib/postgresql/utf8_and_sjis.so
-lib/postgresql/utf8_and_tcvn.so
-lib/postgresql/utf8_and_uhc.so
-lib/postgresql/utf8_and_win1250.so
-lib/postgresql/utf8_and_win1256.so
-lib/postgresql/utf8_and_win874.so
-man/man1/postgres.1
-man/man1/postmaster.1
-share/postgresql/conversion_create.sql
-share/postgresql/postgres.bki
-share/postgresql/postgres.description
-share/postgresql/pg_hba.conf.sample
-share/postgresql/pg_ident.conf.sample
-share/postgresql/postgresql.conf.sample
-@unexec ${RMDIR} -p %D/share/postgresql 2>/dev/null || ${TRUE}
diff --git a/databases/postgresql-server/files/man.server b/databases/postgresql-server/files/man.server
deleted file mode 100644
index b1bccc40072..00000000000
--- a/databases/postgresql-server/files/man.server
+++ /dev/null
@@ -1,4 +0,0 @@
-# $NetBSD: man.server,v 1.1.1.1 2001/05/14 14:50:26 jlam Exp $
-#
-man1/postgres.1
-man1/postmaster.1
diff --git a/databases/postgresql-server/files/pgsql.sh b/databases/postgresql-server/files/pgsql.sh
deleted file mode 100644
index a8d8c9dcdca..00000000000
--- a/databases/postgresql-server/files/pgsql.sh
+++ /dev/null
@@ -1,142 +0,0 @@
-#!@RCD_SCRIPTS_SHELL@
-#
-# $NetBSD: pgsql.sh,v 1.21 2003/11/14 01:46:39 explorer Exp $
-#
-# PostgreSQL database rc.d control script
-#
-# PROVIDE: pgsql
-# REQUIRE: DAEMON
-# KEYWORD: shutdown
-#
-# You will need to set some variables in /etc/rc.conf to start PostgreSQL:
-#
-# pgsql=YES
-#
-# The following variables are optional:
-#
-# pgsql_flags="-i" # allows TCP/IP connections
-# pgsql_flags="-i -l" # enables SSL connections
-# pgsql_home="/path/to/home" # path to pgsql database directory
-#
-# "pgsql_flags" contains options for the PostgreSQL postmaster. See
-# postmaster(1) for possible options.
-
-if [ -f /etc/rc.subr ]; then
- . /etc/rc.subr
-fi
-
-name="pgsql"
-rcvar=$name
-pgsql_user="@PGUSER@"
-pgsql_group="@PGGROUP@"
-eval pgsql_home="~$pgsql_user"
-
-command="@PREFIX@/bin/postmaster"
-ctl_command="@PREFIX@/bin/pg_ctl"
-extra_commands="initdb"
-
-if [ -f /etc/rc.subr -a -d /etc/rc.d -a -f /etc/rc.d/DAEMON ]; then
- load_rc_config $name
-elif [ -f /etc/rc.conf ]; then
- . /etc/rc.conf
-fi
-
-pidfile="${pgsql_home}/data/postmaster.pid"
-common_args="-D ${pgsql_home}/data"
-start_command_args="-w -s -l ${pgsql_home}/errlog"
-stop_command_args="-s -m fast"
-
-initdb_cmd="pgsql_initdb"
-start_precmd="pgsql_precmd"
-start_cmd="pgsql_doit start"
-restart_cmd="pgsql_doit restart"
-stop_cmd="pgsql_doit stop"
-
-ulimit -n 4096
-
-pgsql_precmd()
-{
- if [ ! -d ${pgsql_home}/data/base ]; then
- pgsql_initdb
- fi
-}
-
-pgsql_initdb()
-{
- initdb="@PREFIX@/bin/initdb"
-
- if [ ! -x ${initdb} ]; then
- return 1
- fi
- if [ -d ${pgsql_home}/data/base ]; then
- @ECHO@ "The PostgreSQL template databases have already been initialized."
- @ECHO@ "Skipping database initialization."
- else
- @ECHO@ "Initializing PostgreSQL databases."
- @MKDIR@ -p ${pgsql_home}
- @CHOWN@ ${pgsql_user} ${pgsql_home}
- @CHGRP@ ${pgsql_group} ${pgsql_home}
- @CHMOD@ 0750 ${pgsql_home}
- eval doit_command=\"${initdb} ${common_args} ${flags}\"
- doit="@SU@ -m ${pgsql_user} -c '${doit_command}'"
- eval $doit
- fi
-}
-
-pgsql_doit()
-{
- action=$1
-
- case ${action} in
- start|restart)
- if [ -n "${pgsql_flags}" ]; then
- start_command_args="${start_command_args} -o \\\"${pgsql_flags}\\\""
- fi
- command_args="${common_args} ${start_command_args} ${command_args}"
- ;;
- stop)
- command_args="${common_args} ${stop_command_args} ${command_args}"
- ;;
- *)
- command_args="${common_args} ${command_args}"
- ;;
- esac
-
- if [ ! -x ${ctl_command} ]; then
- return
- fi
-
- case ${action} in
- start) @ECHO@ "Starting ${name}." ;;
- stop) @ECHO@ "Stopping ${name}." ;;
- restart) @ECHO@ "Restarting ${name}." ;;
- esac
-
- eval doit_command=\"${ctl_command} ${action} ${command_args}\"
- doit="@SU@ -m ${pgsql_user} -c '${doit_command}'"
- eval $doit
-}
-
-if [ -f /etc/rc.subr -a -d /etc/rc.d -a -f /etc/rc.d/DAEMON ]; then
- load_rc_config $name
- run_rc_command "$1"
-else
- if [ -f /etc/rc.conf ]; then
- . /etc/rc.conf
- fi
- case "$1" in
- initdb)
- eval ${initdb_cmd}
- ;;
- restart)
- eval ${restart_cmd}
- ;;
- stop)
- eval ${stop_cmd}
- ;;
- *)
- eval ${start_precmd}
- eval ${start_cmd}
- ;;
- esac
-fi
diff --git a/databases/postgresql/DESCR b/databases/postgresql/DESCR
deleted file mode 100644
index 9f6b5b5b0f9..00000000000
--- a/databases/postgresql/DESCR
+++ /dev/null
@@ -1,9 +0,0 @@
-PostgreSQL is a robust, next-generation, Object-Relational DBMS (ORDBMS),
-derived from the Berkeley Postgres database management system. While
-PostgreSQL retains the powerful object-relational data model, rich data types
-and easy extensibility of Postgres, it replaces the PostQuel query language
-with an extended subset of SQL.
-
-PostgreSQL is free and the complete source is available.
-
-This is the meta-package for the PostgreSQL database system.
diff --git a/databases/postgresql/Makefile b/databases/postgresql/Makefile
deleted file mode 100644
index 066982262f6..00000000000
--- a/databases/postgresql/Makefile
+++ /dev/null
@@ -1,20 +0,0 @@
-# $NetBSD: Makefile,v 1.73 2004/06/26 09:23:46 darcy Exp $
-
-PKGNAME= postgresql-${BASE_VERS}
-COMMENT= Robust, next generation, object-relational DBMS
-
-DEPENDS+= postgresql-client>=${BASE_VERS}:../../databases/postgresql-client
-DEPENDS+= postgresql-server>=${BASE_VERS}:../../databases/postgresql-server
-DEPENDS+= postgresql-docs>=${BASE_VERS}:../../databases/postgresql-docs
-
-.include "Makefile.common"
-
-EXTRACT_ONLY= # empty
-NO_CHECKSUM= YES
-NO_CONFIGURE= YES
-NO_BUILD= YES
-
-do-install: # empty
-do-patch: # empty
-
-.include "../../mk/bsd.pkg.mk"
diff --git a/databases/postgresql/Makefile.common b/databases/postgresql/Makefile.common
deleted file mode 100644
index 74a02509086..00000000000
--- a/databases/postgresql/Makefile.common
+++ /dev/null
@@ -1,90 +0,0 @@
-# $NetBSD: Makefile.common,v 1.43 2004/06/24 16:50:51 darcy Exp $
-#
-# This Makefile fragment is included by all PostgreSQL packages built from
-# the main sources of the PostgreSQL distribution except jdbc-postgresql.
-#
-# The PostgreSQL package naming scheme, aside from the obvious piecewise
-# packages, is as follows:
-#
-# <lang>-postgresql client-side interface to PostgreSQL
-# postgresql-<lang> server-side module for PostgreSQL backend
-
-DISTNAME?= postgresql-${DIST_VERS}
-CATEGORIES+= databases
-MASTER_SITES?= http://www.postgresql.org/ftpsite/source/v${DIST_VERS}/ \
- ftp://ftp.postgresql.org/pub/source/v${DIST_VERS}/ \
- ftp://ftp.de.postgresql.org/mirror/postgresql/source/v${DIST_VERS}/ \
- ftp://gd.tuwien.ac.at/db/www.postgresql.org/pub/source/v${DIST_VERS}/ \
- ftp://ftp.sunsite.auc.dk/mirrors/postgresql/source/v${DIST_VERS}/ \
- ftp://ftp.jaist.ac.jp/pub/dbms/postgres95/source/v${DIST_VERS}/
-
-MAINTAINER?= tech-pkg@NetBSD.org
-HOMEPAGE?= http://www.postgresql.org/
-
-CONFLICTS+= postgresql-[0-6]* postgresql-7.0*
-
-DISTINFO_FILE?= ${.CURDIR}/../postgresql/distinfo
-COMMON_FILESDIR?= ${.CURDIR}/../postgresql/files
-PATCHDIR?= ${.CURDIR}/../postgresql/patches
-
-# Version numbering scheme:
-#
-# DIST_VERS version number on the postgresql distfile
-# BASE_VERS pkgsrc-mangled version number (convert pl -> .)
-#
-# Note: Do not forget jdbc-postgresql when updating version
-DIST_VERS?= 7.3.6
-BASE_VERS?= ${DIST_VERS}
-
-BUILDLINK_DEPENDS.postgresql-lib?= postgresql-lib>=${BASE_VERS}
-BUILDLINK_DEPENDS.tcl-postgresql?= tcl-postgresql>=${BASE_VERS}
-
-USE_GNU_TOOLS+= make
-GNU_CONFIGURE= YES
-PKG_SYSCONFSUBDIR= postgresql
-
-.include "../../mk/bsd.prefs.mk"
-
-PGSQL_TEMPLATE.SunOS= solaris
-.if !defined(PGSQL_TEMPLATE.${OPSYS})
-PGSQL_TEMPLATE.${OPSYS}= ${LOWER_OPSYS}
-.endif
-
-CONFIGURE_ARGS+= --with-template="${PGSQL_TEMPLATE.${OPSYS}}"
-CONFIGURE_ARGS+= --without-readline
-CONFIGURE_ARGS+= --without-zlib
-
-CONFIGURE_ARGS+= --includedir=${PREFIX}/include/postgresql
-CONFIGURE_ARGS+= --sysconfdir=${PKG_SYSCONFDIR}
-CONFIGURE_ARGS+= --with-htmldir=${PREFIX}/share/doc/html/postgresql
-
-CONFIGURE_ARGS+= --without-java
-CONFIGURE_ARGS+= --without-perl
-CONFIGURE_ARGS+= --without-python
-CONFIGURE_ARGS+= --without-tcl
-CONFIGURE_ARGS+= --without-tk
-
-# Postgresql explicitly forbids any use of -ffast-math
-CFLAGS:= ${CFLAGS:S/-ffast-math//}
-
-post-extract:
- if [ -d ${WRKSRC}/src ]; then \
- ${RM} -f ${WRKSRC}/src/Makefile.custom; \
- ${CP} -f ${COMMON_FILESDIR}/Makefile.custom \
- ${WRKSRC}/src/Makefile.custom; \
- fi
- if [ -d ${WRKSRC}/src/interfaces/libpq ]; then \
- ${RM} -f ${WRKSRC}/src/interfaces/libpq/GNUmakefile; \
- ${CP} -f ${COMMON_FILESDIR}/GNUmakefile.libpq \
- ${WRKSRC}/src/interfaces/libpq/GNUmakefile; \
- fi
- if [ -d ${WRKSRC}/src/interfaces/libpgtcl ]; then \
- ${RM} -f ${WRKSRC}/src/interfaces/libpgtcl/GNUmakefile; \
- ${CP} -f ${COMMON_FILESDIR}/GNUmakefile.libpgtcl \
- ${WRKSRC}/src/interfaces/libpgtcl/GNUmakefile; \
- fi
-
-pre-configure:
- cd ${WRKSRC} && ${AUTOCONF}
-
-.include "../../mk/autoconf.mk"
diff --git a/databases/postgresql/PLIST b/databases/postgresql/PLIST
deleted file mode 100644
index f99346ddde4..00000000000
--- a/databases/postgresql/PLIST
+++ /dev/null
@@ -1,2 +0,0 @@
-@comment $NetBSD: PLIST,v 1.1 2001/11/01 00:12:33 zuntum Exp $
-@comment this plist intentionally left empty
diff --git a/databases/postgresql/distinfo b/databases/postgresql/distinfo
deleted file mode 100644
index 48667e3c061..00000000000
--- a/databases/postgresql/distinfo
+++ /dev/null
@@ -1,12 +0,0 @@
-$NetBSD: distinfo,v 1.19 2004/06/24 16:50:51 darcy Exp $
-
-SHA1 (postgresql-7.3.6.tar.gz) = 5135ed429a22f8290eece18d67a459716a80871a
-Size (postgresql-7.3.6.tar.gz) = 11288430 bytes
-SHA1 (patch-aa) = 61fbeb664b0d89c83a36c79cca3fbdc78d6f5059
-SHA1 (patch-ac) = 5a647cc31873ae81a5bd5a6cf4ec6f44a43448e7
-SHA1 (patch-ad) = d9e010b38855bf9f1d7b85404ea6770066831093
-SHA1 (patch-ae) = 5b46ea9782da574ee0c4b1c02534e0f74d640559
-SHA1 (patch-af) = 8268b66b062f0228e73ecaf928104f0c9bdc02f5
-SHA1 (patch-ag) = 6d12184b8401e63b8a05c620beb27f28248c22da
-SHA1 (patch-ah) = 210c0dda3c32481280fe5f2a9525d33f1d989c6d
-SHA1 (patch-ai) = d7889e05ab7963f2b93b46c953cbf1a44e9c0fe5
diff --git a/databases/postgresql/files/GNUmakefile.libpgtcl b/databases/postgresql/files/GNUmakefile.libpgtcl
deleted file mode 100644
index 96ba35af44d..00000000000
--- a/databases/postgresql/files/GNUmakefile.libpgtcl
+++ /dev/null
@@ -1,20 +0,0 @@
-# $NetBSD: GNUmakefile.libpgtcl,v 1.1 2003/01/05 20:19:35 jlam Exp $
-#
-# This GNUmakefile overrides the `all' target of $(libpgtcl_srcdir)/Makefile
-# to be empty if INSTALLED_LIBPGTCL is defined. This handles the submake
-# targets sprinkled throughout the PostgreSQL Makefiles that execute
-#
-# @$(MAKE) -C $(libpgtcl_builddir) all
-#
-# to ensure that the libpgtcl libraries are built first. If INSTALLED_LIBPGTCL
-# is defined, then have the `all' target simple return success.
-
-ifdef INSTALLED_LIBPGTCL
-all:
- @test -f libpgtcl.a || touch libpgtcl.a
-endif
-
-%: force
- @$(MAKE) -f Makefile $@
-
-force: ;
diff --git a/databases/postgresql/files/GNUmakefile.libpq b/databases/postgresql/files/GNUmakefile.libpq
deleted file mode 100644
index 59c310b5aee..00000000000
--- a/databases/postgresql/files/GNUmakefile.libpq
+++ /dev/null
@@ -1,20 +0,0 @@
-# $NetBSD: GNUmakefile.libpq,v 1.1 2001/05/14 14:52:37 jlam Exp $
-#
-# This GNUmakefile overrides the `all' target of $(libpq_srcdir)/Makefile
-# to be empty if INSTALLED_LIBPQ is defined. This handles the submake
-# targets sprinkled throughout the PostgreSQL Makefiles that execute
-#
-# @$(MAKE) -C $(libpq_builddir) all
-#
-# to ensure that the libpq libraries are built first. If INSTALLED_LIBPQ
-# is defined, then have the `all' target simple return success.
-
-ifdef INSTALLED_LIBPQ
-all:
- @test -f libpq.a || touch libpq.a
-endif
-
-%: force
- @$(MAKE) -f Makefile $@
-
-force: ;
diff --git a/databases/postgresql/files/Makefile.custom b/databases/postgresql/files/Makefile.custom
deleted file mode 100644
index 3a129d28144..00000000000
--- a/databases/postgresql/files/Makefile.custom
+++ /dev/null
@@ -1,15 +0,0 @@
-# $NetBSD: Makefile.custom,v 1.8 2004/01/21 18:41:27 jlam Exp $
-#
-# This file is included by Makefile.global, which is included by every
-# sub-Makefile in the build tree. Makefiles for shared libraries include
-# Makefile.global then Makefile.shlib.
-
-pkglibdir = $(exec_prefix)/lib/postgresql
-
-ifdef INSTALLED_LIBPQ
-libpq = -lpq
-endif
-
-ifdef INSTALLED_LIBPGTCL
-libpgtcl = -lpgtcl
-endif
diff --git a/databases/postgresql/patches/patch-aa b/databases/postgresql/patches/patch-aa
deleted file mode 100644
index 8db0c97d78a..00000000000
--- a/databases/postgresql/patches/patch-aa
+++ /dev/null
@@ -1,40 +0,0 @@
-$NetBSD: patch-aa,v 1.11 2003/04/03 18:06:13 toshii Exp $
-
---- configure.in.orig Mon Feb 3 04:56:45 2003
-+++ configure.in
-@@ -330,6 +330,16 @@
-
-
- #
-+# Location for HTML documentation
-+#
-+htmldir='${docdir}/html'
-+AC_MSG_CHECKING([where to install HTML documentation])
-+PGAC_ARG_REQ(with, htmldir, [ --with-htmldir=DIR install HTML documentation into DIR], [htmldir=$withval])
-+AC_MSG_RESULT([$htmldir])
-+AC_SUBST([htmldir])
-+
-+
-+#
- # Tcl/Tk
- #
- AC_MSG_CHECKING([whether to build with Tcl])
-@@ -373,6 +383,18 @@
- PGAC_ARG_BOOL(with, python, no, [ --with-python build Python interface module])
- AC_MSG_RESULT([$with_python])
- AC_SUBST(with_python)
-+
-+# If python is enabled (above), then optionally byte-compile the modules.
-+AC_MSG_CHECKING([whether to byte-compile Python modules])
-+if test "$with_python" = yes; then
-+ PGAC_ARG_BOOL(with, python_compile, no,
-+ [ --with-python-compile byte-compile modules if Python is enabled])
-+else
-+ with_python_compile=no
-+fi
-+AC_MSG_RESULT([$with_python_compile])
-+AC_SUBST([with_python_compile])
-+
-
- #
- # Optionally build the Java/JDBC tools
diff --git a/databases/postgresql/patches/patch-ac b/databases/postgresql/patches/patch-ac
deleted file mode 100644
index 8f84b146c40..00000000000
--- a/databases/postgresql/patches/patch-ac
+++ /dev/null
@@ -1,31 +0,0 @@
-$NetBSD: patch-ac,v 1.12 2003/01/05 20:12:13 jlam Exp $
-
---- doc/Makefile.orig Wed Nov 27 18:21:20 2002
-+++ doc/Makefile
-@@ -70,7 +70,7 @@ endif # found_man
-
- install: all installdirs
- ifdef found_html
-- gzip -d -c postgres.tar.gz | ( cd $(DESTDIR)$(docdir)/html && $(TAR) xf - )
-+ gzip -d -c postgres.tar.gz | ( cd $(DESTDIR)$(htmldir) && $(TAR) xf - )
- endif
- ifdef found_man
- for file in man1/*.1 man$(sqlmansectnum)/*.$(sqlmansect) ; do \
-@@ -81,7 +81,7 @@ endif
-
- installdirs:
- ifdef found_html
-- $(mkinstalldirs) $(DESTDIR)$(docdir)/html
-+ $(mkinstalldirs) $(DESTDIR)$(htmldir)
- endif
- ifdef found_man
- $(mkinstalldirs) $(addprefix $(DESTDIR)$(mandir)/man, 1 $(sqlmansectnum))
-@@ -90,7 +90,7 @@ endif
-
- uninstall:
- ifdef found_html
-- -rm -f $(addprefix $(DESTDIR)$(docdir)/html/, $(shell gunzip -c $(srcdir)/postgres.tar.gz | tar tf -))
-+ -rm -f $(addprefix $(DESTDIR)$(htmldir)/, $(shell gunzip -c $(srcdir)/postgres.tar.gz | tar tf -))
- endif
- ifdef found_man
- -rm -f $(addprefix $(DESTDIR)$(mandir)/, $(shell gunzip -c $(srcdir)/man.tar.gz | tar tf - | sed -e 's,man$(sqlmansect_dummy)/,man$(sqlmansectnum)/,' -e 's/.$(sqlmansect_dummy)$$/.$(sqlmansect)/'))
diff --git a/databases/postgresql/patches/patch-ad b/databases/postgresql/patches/patch-ad
deleted file mode 100644
index 35ffec5f6d8..00000000000
--- a/databases/postgresql/patches/patch-ad
+++ /dev/null
@@ -1,48 +0,0 @@
-$NetBSD: patch-ad,v 1.13 2003/04/03 18:06:13 toshii Exp $
-
---- src/Makefile.global.in.orig Thu Sep 5 07:54:18 2002
-+++ src/Makefile.global.in
-@@ -111,6 +111,13 @@
- endif
- endif
-
-+htmldir := @htmldir@
-+ifeq "$(findstring pgsql, $(htmldir))" ""
-+ifeq "$(findstring postgres, $(htmldir))" ""
-+override htmldir := $(docdir)/postgresql
-+endif
-+endif
-+
- javadir := $(DESTDIR)$(datadir)/java
- localedir := @localedir@
-
-@@ -124,6 +131,7 @@
- with_java = @with_java@
- with_perl = @with_perl@
- with_python = @with_python@
-+with_python_compile = @with_python_compile@
- with_tcl = @with_tcl@
- with_tk = @with_tk@
- enable_shared = @enable_shared@
-@@ -285,13 +293,20 @@
- libpq_builddir = $(top_builddir)/src/interfaces/libpq
- libpq = -L$(libpq_builddir) -lpq
-
-+libpgtcl_srcdir = $(top_srcdir)/src/interfaces/libpgtcl
-+libpgtcl_builddir = $(top_builddir)/src/interfaces/libpgtcl
-+libpgtcl = -L$(libpgtcl_builddir) -lpgtcl
-+
- submake-libpq:
- $(MAKE) -C $(libpq_builddir) all
-
- submake-libpgport:
- $(MAKE) -C $(top_builddir)/src/port all
-
--.PHONY: submake-libpq submake-libpgport
-+submake-libpgtcl:
-+ $(MAKE) -C $(libpgtcl_builddir) all
-+
-+.PHONY: submake-libpq submake-libpgport submake-libpgtcl
-
-
- ##########################################################################
diff --git a/databases/postgresql/patches/patch-ae b/databases/postgresql/patches/patch-ae
deleted file mode 100644
index 446e8c093a2..00000000000
--- a/databases/postgresql/patches/patch-ae
+++ /dev/null
@@ -1,41 +0,0 @@
-$NetBSD: patch-ae,v 1.14 2003/01/05 20:12:13 jlam Exp $
-
---- src/bin/pgtclsh/Makefile.orig Thu Jun 20 16:29:42 2002
-+++ src/bin/pgtclsh/Makefile
-@@ -15,19 +15,17 @@ top_builddir = ../../..
- include $(top_builddir)/src/Makefile.global
-
-
--libpgtcl_srcdir = $(top_srcdir)/src/interfaces/libpgtcl
--libpgtcl_builddir = $(top_builddir)/src/interfaces/libpgtcl
--libpgtcl = -L$(libpgtcl_builddir) -lpgtcl
--
- override CPPFLAGS := -I$(libpgtcl_srcdir) $(CPPFLAGS) $(TK_XINCLUDES)
-
-
- # If we are here then Tcl is available
- PROGRAMS = pgtclsh
-+INSTALL_TARGETS = install-tcl
-
- # Add Tk targets if Tk is available
- ifeq ($(with_tk), yes)
- PROGRAMS += pgtksh
-+INSTALL_TARGETS += install-tk
- endif
-
- all: submake $(PROGRAMS)
-@@ -42,9 +40,13 @@ pgtksh: pgtkAppInit.o
- submake:
- $(MAKE) -C $(libpgtcl_builddir) all
-
--install: all installdirs
-+install: $(INSTALL_TARGETS)
-+
-+install-tcl: pgtclsh installdirs
- $(INSTALL_PROGRAM) pgtclsh $(DESTDIR)$(bindir)/pgtclsh
-+
- ifeq ($(with_tk), yes)
-+install-tk: pgtksh installdirs
- $(INSTALL_PROGRAM) pgtksh $(DESTDIR)$(bindir)/pgtksh
- endif
-
diff --git a/databases/postgresql/patches/patch-af b/databases/postgresql/patches/patch-af
deleted file mode 100644
index 55346290886..00000000000
--- a/databases/postgresql/patches/patch-af
+++ /dev/null
@@ -1,13 +0,0 @@
-$NetBSD: patch-af,v 1.16 2004/06/24 16:50:51 darcy Exp $
-
---- src/interfaces/ecpg/lib/Makefile.orig Tue Dec 10 23:08:04 2002
-+++ src/interfaces/ecpg/lib/Makefile
-@@ -14,7 +14,7 @@ include $(top_builddir)/src/Makefile.glo
-
- NAME= ecpg
- SO_MAJOR_VERSION= 3
--SO_MINOR_VERSION= 4.1
-+SO_MINOR_VERSION= 6
-
- override CPPFLAGS := -I$(top_srcdir)/src/interfaces/ecpg/include -I$(libpq_srcdir) $(CPPFLAGS)
-
diff --git a/databases/postgresql/patches/patch-ag b/databases/postgresql/patches/patch-ag
deleted file mode 100644
index a1309dad55d..00000000000
--- a/databases/postgresql/patches/patch-ag
+++ /dev/null
@@ -1,16 +0,0 @@
-$NetBSD: patch-ag,v 1.10 2003/01/05 20:12:14 jlam Exp $
-
---- src/include/Makefile.orig Tue Aug 28 10:20:28 2001
-+++ src/include/Makefile
-@@ -15,7 +15,10 @@ top_builddir = ../..
- include $(top_builddir)/src/Makefile.global
-
-
--all: pg_config.h pg_config_os.h
-+all: pg_config.h pg_config_os.h utils/fmgroids.h parser/parse.h
-+
-+utils/fmgroids.h parser/parse.h:
-+ $(MAKE) -C $(top_builddir)/src/backend $(top_builddir)/src/include/$@
-
-
- # Install only selected headers
diff --git a/databases/postgresql/patches/patch-ah b/databases/postgresql/patches/patch-ah
deleted file mode 100644
index 21d3933420c..00000000000
--- a/databases/postgresql/patches/patch-ah
+++ /dev/null
@@ -1,43 +0,0 @@
-$NetBSD: patch-ah,v 1.12 2003/04/03 18:06:13 toshii Exp $
-
---- src/interfaces/python/GNUmakefile.orig Thu Dec 13 13:39:04 2001
-+++ src/interfaces/python/GNUmakefile
-@@ -19,7 +19,14 @@ include $(top_srcdir)/src/Makefile.shlib
-
- override CPPFLAGS := -I$(libpq_srcdir) $(CPPFLAGS) $(python_includespec)
-
--all: all-lib
-+PY_SCRIPTS = pg.py pgdb.py
-+ifeq ($(with_python_compile), yes)
-+PY_COMPILED_SCRIPTS = $(PY_SCRIPTS:%.py=%.pyc) $(PY_SCRIPTS:%.py=%.pyo)
-+else
-+PY_COMPILED_SCRIPTS =
-+endif
-+
-+all: all-lib $(PY_COMPILED_SCRIPTS)
-
- all-lib: libpq-all
-
-@@ -27,6 +34,12 @@ all-lib: libpq-all
- libpq-all:
- $(MAKE) -C $(libpq_builddir) all
-
-+%.pyc: %.py
-+ $(PYTHON) -c "import py_compile; py_compile.compile(\"$<\")"
-+
-+%.pyo: %.py
-+ $(PYTHON) -O -c "import py_compile; py_compile.compile(\"$<\")"
-+
- install-warning-msg := { \
- echo "*** Skipping the installation of the Python interface module for lack"; \
- echo "*** of permissions. To install it, change to the directory"; \
-@@ -35,6 +48,9 @@ echo "*** become the appropriate user, a
-
- install: all installdirs
- @if test -w $(DESTDIR)$(python_moduleexecdir) && test -w $(DESTDIR)$(python_moduledir); then \
-+ for i in $(PY_SCRIPTS) $(PY_COMPILED_SCRIPTS); do \
-+ $(INSTALL_DATA) $$i $(python_moduledir) ; \
-+ done ; \
- echo "$(INSTALL_SHLIB) $(shlib) $(DESTDIR)$(python_moduleexecdir)/_pgmodule$(DLSUFFIX)"; \
- $(INSTALL_SHLIB) $(shlib) $(DESTDIR)$(python_moduleexecdir)/_pgmodule$(DLSUFFIX); \
- \
diff --git a/databases/postgresql/patches/patch-ai b/databases/postgresql/patches/patch-ai
deleted file mode 100644
index 91ee4bd0e08..00000000000
--- a/databases/postgresql/patches/patch-ai
+++ /dev/null
@@ -1,9 +0,0 @@
-$NetBSD: patch-ai,v 1.10 2003/04/03 18:06:14 toshii Exp $
-
---- src/interfaces/python/Setup.in.raw.orig Sun Mar 25 14:44:04 2001
-+++ src/interfaces/python/Setup.in.raw
-@@ -1,3 +1,3 @@
- *shared*
-
--_pg pgmodule.c -I@libpq_srcdir@ @INCLUDES@ -L@libpq_builddir@ -lpq @EXTRA_LIBS@
-+_pg pgmodule.c -I@libpq_srcdir@ @INCLUDES@ @libpq@ @EXTRA_LIBS@
diff --git a/databases/py-postgresql/DESCR b/databases/py-postgresql/DESCR
deleted file mode 100644
index 4a9c558b4ab..00000000000
--- a/databases/py-postgresql/DESCR
+++ /dev/null
@@ -1,4 +0,0 @@
-PyGreSQL is a python module that interfaces to a PostgreSQL database. It
-embeds the PostgreSQL query library to allow easy use of the powerful
-PostgreSQL features from a Python script. This also includes support for
-the Python DB-API.
diff --git a/databases/py-postgresql/Makefile b/databases/py-postgresql/Makefile
deleted file mode 100644
index d4897325e6f..00000000000
--- a/databases/py-postgresql/Makefile
+++ /dev/null
@@ -1,39 +0,0 @@
-# $NetBSD: Makefile,v 1.34 2004/07/24 22:45:15 recht Exp $
-
-PKGNAME= ${PYPKGPREFIX}-postgresql-3.3
-PKGREVISION= 3
-CATEGORIES= databases python
-
-MAINTAINER= darcy@NetBSD.org
-COMMENT= Python interface to PostgreSQL
-
-USE_BUILDLINK3= yes
-
-.include "../postgresql/Makefile.common"
-
-CONFIGURE_ARGS+= --with-python
-CONFIGURE_ARGS+= --with-python-compile
-CONFIGURE_ENV+= PYTHON="${PYTHONBIN}"
-
-MAKEFILE= GNUmakefile
-MAKE_ENV+= INSTALLED_LIBPQ=1
-MAKEFLAGS+= PYTHON_VERSION=${PYVERSSUFFIX}
-
-PY_PATCHPLIST= yes
-PLIST_SUBST+= PYPKGPREFIX=${PYPKGPREFIX}
-
-BUILD_DIRS= ${WRKSRC}/src/interfaces/python
-DOCDIR= ${PREFIX}/share/doc/${PYPKGPREFIX}-postgresql
-
-post-install:
- ${INSTALL_DATA_DIR} ${DOCDIR}/tutorial
- ${INSTALL_DATA} ${WRKSRC}/README ${DOCDIR}
- for file in ${WRKSRC}/src/interfaces/python/tutorial/*.py; do \
- ${INSTALL_DATA} $${file} ${DOCDIR}/tutorial; \
- done
-
-.include "../../time/py-mxDateTime/buildlink3.mk"
-.include "../../lang/python/extension.mk"
-
-.include "../../mk/pgsql.buildlink3.mk"
-.include "../../mk/bsd.pkg.mk"
diff --git a/databases/py-postgresql/PLIST b/databases/py-postgresql/PLIST
deleted file mode 100644
index b71d9c00677..00000000000
--- a/databases/py-postgresql/PLIST
+++ /dev/null
@@ -1,15 +0,0 @@
-@comment $NetBSD: PLIST,v 1.4 2003/08/18 10:09:51 drochner Exp $
-${PYSITELIB}/_pgmodule.so
-${PYSITELIB}/pg.py
-${PYSITELIB}/pg.pyc
-${PYSITELIB}/pg.pyo
-${PYSITELIB}/pgdb.py
-${PYSITELIB}/pgdb.pyc
-${PYSITELIB}/pgdb.pyo
-share/doc/${PYPKGPREFIX}-postgresql/README
-share/doc/${PYPKGPREFIX}-postgresql/tutorial/advanced.py
-share/doc/${PYPKGPREFIX}-postgresql/tutorial/basics.py
-share/doc/${PYPKGPREFIX}-postgresql/tutorial/func.py
-share/doc/${PYPKGPREFIX}-postgresql/tutorial/syscat.py
-@dirrm share/doc/${PYPKGPREFIX}-postgresql/tutorial
-@dirrm share/doc/${PYPKGPREFIX}-postgresql
diff --git a/databases/tcl-postgresql/DESCR b/databases/tcl-postgresql/DESCR
deleted file mode 100644
index a6d6ddcf608..00000000000
--- a/databases/tcl-postgresql/DESCR
+++ /dev/null
@@ -1,2 +0,0 @@
-Tcl interface to PostgreSQL, including front-end clients and a loadable
-shared object for Tcl clients.
diff --git a/databases/tcl-postgresql/Makefile b/databases/tcl-postgresql/Makefile
deleted file mode 100644
index c3dc0ffc002..00000000000
--- a/databases/tcl-postgresql/Makefile
+++ /dev/null
@@ -1,28 +0,0 @@
-# $NetBSD: Makefile,v 1.19 2004/03/26 02:27:37 wiz Exp $
-
-PKGNAME= tcl-postgresql-${BASE_VERS}
-PKGREVISION= 3
-COMMENT= Tcl interface to PostgreSQL
-
-USE_BUILDLINK3= yes
-
-.include "../postgresql/Makefile.common"
-
-CONFIGURE_ARGS+= --with-openssl=${SSLBASE}
-CONFIGURE_ARGS+= --with-tcl
-CONFIGURE_ARGS+= --with-tclconfig="${BUILDLINK_PREFIX.tcl}/lib"
-CONFIGURE_ENV+= TCLSH="${TCLSH}"
-TCLSH= ${BUILDLINK_PREFIX.tcl}/bin/tclsh
-MAKE_ENV+= INSTALLED_LIBPQ=1
-
-BUILD_DIRS= ${WRKSRC}/src/interfaces/libpgtcl
-BUILD_DIRS+= ${WRKSRC}/src/bin/pgtclsh
-
-post-install:
- ${GTAR} zxCf ${PREFIX}/man ${WRKSRC}/doc/man.tar.gz \
- `${SED} -e "s|#.*||" ${FILESDIR}/man.tcl`
-
-.include "../postgresql-lib/buildlink3.mk"
-.include "../../lang/tcl/buildlink3.mk"
-
-.include "../../mk/bsd.pkg.mk"
diff --git a/databases/tcl-postgresql/PLIST b/databases/tcl-postgresql/PLIST
deleted file mode 100644
index 2db28b7c46c..00000000000
--- a/databases/tcl-postgresql/PLIST
+++ /dev/null
@@ -1,8 +0,0 @@
-@comment $NetBSD: PLIST,v 1.3 2003/01/05 20:12:29 jlam Exp $
-bin/pgtclsh
-include/postgresql/libpgtcl.h
-lib/libpgtcl.a
-lib/libpgtcl.so
-lib/libpgtcl.so.2
-lib/libpgtcl.so.2.3
-man/man1/pgtclsh.1
diff --git a/databases/tcl-postgresql/buildlink3.mk b/databases/tcl-postgresql/buildlink3.mk
deleted file mode 100644
index f1762811b7f..00000000000
--- a/databases/tcl-postgresql/buildlink3.mk
+++ /dev/null
@@ -1,21 +0,0 @@
-# $NetBSD: buildlink3.mk,v 1.3 2004/03/26 02:27:37 wiz Exp $
-
-BUILDLINK_DEPTH:= ${BUILDLINK_DEPTH}+
-TCL_POSTGRESQL_BUILDLINK3_MK:= ${TCL_POSTGRESQL_BUILDLINK3_MK}+
-
-.if !empty(BUILDLINK_DEPTH:M+)
-BUILDLINK_DEPENDS+= tcl-postgresql
-.endif
-
-BUILDLINK_PACKAGES:= ${BUILDLINK_PACKAGES:Ntcl-postgresql}
-BUILDLINK_PACKAGES+= tcl-postgresql
-
-.if !empty(TCL_POSTGRESQL_BUILDLINK3_MK:M+)
-BUILDLINK_DEPENDS.tcl-postgresql+= tcl-postgresql>=7.3.1
-BUILDLINK_RECOMMENDED.tcl-postgresql?= tcl-postgresql>=7.3.4nb3
-BUILDLINK_PKGSRCDIR.tcl-postgresql?= ../../databases/tcl-postgresql
-.endif # TCL_POSTGRESQL_BUILDLINK3_MK
-
-.include "../../lang/tcl/buildlink3.mk"
-
-BUILDLINK_DEPTH:= ${BUILDLINK_DEPTH:S/+$//}
diff --git a/databases/tcl-postgresql/files/man.tcl b/databases/tcl-postgresql/files/man.tcl
deleted file mode 100644
index 2fe4f39bbb1..00000000000
--- a/databases/tcl-postgresql/files/man.tcl
+++ /dev/null
@@ -1,3 +0,0 @@
-# $NetBSD: man.tcl,v 1.1 2001/05/14 14:53:53 jlam Exp $
-#
-man1/pgtclsh.1
diff --git a/databases/tk-postgresql/DESCR b/databases/tk-postgresql/DESCR
deleted file mode 100644
index 226c475c8b0..00000000000
--- a/databases/tk-postgresql/DESCR
+++ /dev/null
@@ -1 +0,0 @@
-Tk interface to PostgreSQL consisting of a front-end Tcl/Tk client.
diff --git a/databases/tk-postgresql/Makefile b/databases/tk-postgresql/Makefile
deleted file mode 100644
index 5559c1835d1..00000000000
--- a/databases/tk-postgresql/Makefile
+++ /dev/null
@@ -1,34 +0,0 @@
-# $NetBSD: Makefile,v 1.20 2004/03/26 02:27:37 wiz Exp $
-
-PKGNAME= tk-postgresql-${BASE_VERS}
-PKGREVISION= 3
-COMMENT= Tk interface to PostgreSQL
-
-USE_BUILDLINK3= yes
-
-.include "../postgresql/Makefile.common"
-
-USE_X11= yes
-CONFIGURE_ARGS+= --with-openssl=${SSLBASE}
-CONFIGURE_ARGS+= --with-tcl
-CONFIGURE_ARGS+= --with-tk
-CONFIGURE_ARGS+= --with-tclconfig=${BUILDLINK_PREFIX.tcl}/lib
-CONFIGURE_ARGS+= --with-tkconfig=${BUILDLINK_PREFIX.tk}/lib
-CONFIGURE_ENV+= TCLSH="${TCLSH}"
-TCLSH= ${BUILDLINK_PREFIX.tcl}/bin/tclsh
-MAKE_ENV+= INSTALLED_LIBPQ=1 INSTALLED_LIBPGTCL=1
-
-BUILD_DIRS= ${WRKSRC}/src/bin/pgtclsh
-ALL_TARGET= pgtksh
-INSTALL_TARGET= install-tk
-
-post-install:
- ${GTAR} zxCf ${PREFIX}/man ${WRKSRC}/doc/man.tar.gz \
- `${SED} -e "s|#.*||" ${FILESDIR}/man.tk`
-
-.include "../../databases/postgresql-lib/buildlink3.mk"
-.include "../../databases/tcl-postgresql/buildlink3.mk"
-.include "../../lang/tcl/buildlink3.mk"
-.include "../../x11/tk/buildlink3.mk"
-
-.include "../../mk/bsd.pkg.mk"
diff --git a/databases/tk-postgresql/PLIST b/databases/tk-postgresql/PLIST
deleted file mode 100644
index 33ff46e052e..00000000000
--- a/databases/tk-postgresql/PLIST
+++ /dev/null
@@ -1,3 +0,0 @@
-@comment $NetBSD: PLIST,v 1.1 2001/11/01 00:12:55 zuntum Exp $
-bin/pgtksh
-man/man1/pgtksh.1
diff --git a/databases/tk-postgresql/files/man.tk b/databases/tk-postgresql/files/man.tk
deleted file mode 100644
index f02eb73184f..00000000000
--- a/databases/tk-postgresql/files/man.tk
+++ /dev/null
@@ -1,3 +0,0 @@
-# $NetBSD: man.tk,v 1.1 2001/05/14 14:54:16 jlam Exp $
-#
-man1/pgtksh.1