summaryrefslogtreecommitdiff
path: root/databases
diff options
context:
space:
mode:
authorrecht <recht@pkgsrc.org>2004-07-24 22:15:50 +0000
committerrecht <recht@pkgsrc.org>2004-07-24 22:15:50 +0000
commit0af9cf0e6f02da1c0cd45b7a9db659b94afaccb4 (patch)
treefd6e780ec63cce104b28eb495d485148040f13db /databases
parentdba14855c678b6949f12a059dcf32f5bc4b7bc51 (diff)
downloadpkgsrc-0af9cf0e6f02da1c0cd45b7a9db659b94afaccb4.tar.gz
reimport of postgresql-client as postgresql73-client
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.
Diffstat (limited to 'databases')
-rw-r--r--databases/postgresql73-client/DESCR9
-rw-r--r--databases/postgresql73-client/Makefile37
-rw-r--r--databases/postgresql73-client/PLIST126
-rw-r--r--databases/postgresql73-client/files/exclude7
4 files changed, 179 insertions, 0 deletions
diff --git a/databases/postgresql73-client/DESCR b/databases/postgresql73-client/DESCR
new file mode 100644
index 00000000000..a485664e6f1
--- /dev/null
+++ b/databases/postgresql73-client/DESCR
@@ -0,0 +1,9 @@
+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/postgresql73-client/Makefile b/databases/postgresql73-client/Makefile
new file mode 100644
index 00000000000..a1c1174c306
--- /dev/null
+++ b/databases/postgresql73-client/Makefile
@@ -0,0 +1,37 @@
+# $NetBSD: Makefile,v 1.1.1.1 2004/07/24 22:15:50 recht Exp $
+
+PKGNAME= postgresql73-client-${BASE_VERS}
+SVR4_PKGNAME= pstgc
+COMMENT= PostgreSQL database client programs
+
+USE_BUILDLINK3= yes
+
+.include "../../databases/postgresql73/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/postgresql73-lib/buildlink3.mk"
+.include "../../devel/readline/buildlink3.mk"
+.include "../../devel/zlib/buildlink3.mk"
+
+.include "../../mk/bsd.pkg.mk"
diff --git a/databases/postgresql73-client/PLIST b/databases/postgresql73-client/PLIST
new file mode 100644
index 00000000000..2e731c8808e
--- /dev/null
+++ b/databases/postgresql73-client/PLIST
@@ -0,0 +1,126 @@
+@comment $NetBSD: PLIST,v 1.1.1.1 2004/07/24 22:15:51 recht 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/postgresql73-client/files/exclude b/databases/postgresql73-client/files/exclude
new file mode 100644
index 00000000000..518cae6ff4b
--- /dev/null
+++ b/databases/postgresql73-client/files/exclude
@@ -0,0 +1,7 @@
+# $NetBSD: exclude,v 1.1.1.1 2004/07/24 22:15:51 recht Exp $
+#
+man1/ecpg.1
+man1/pgtclsh.1
+man1/pgtksh.1
+man1/postgres.1
+man1/postmaster.1