diff options
author | Palle Girgensohn <girgen@FreeBSD.org> | 2005-07-21 22:51:49 +0000 |
---|---|---|
committer | Palle Girgensohn <girgen@FreeBSD.org> | 2005-07-21 22:51:49 +0000 |
commit | 67a16737d6e5b822f01a49c215c8a39fb5619cb8 (patch) | |
tree | 6c961f239627fa97f1fe13f7d8df12b6f9ba3319 /databases | |
parent | b4a4d2220f7e8dfd167d32c21f19c0fc34edb1b9 (diff) | |
download | ports-67a16737d6e5b822f01a49c215c8a39fb5619cb8.tar.gz ports-67a16737d6e5b822f01a49c215c8a39fb5619cb8.zip |
Welcome back to libpgeasy. It was once a part of the standard
distribution (up to 7.2), but now lives its own life. Naturally, we
should have a port for it :-)
Official information:
Pgeasy is a PostgreSQL API that is a cleaner interface to the libpq
library, more like an SQL 4GL interface.
Approved by: ade, seanc (implicit)
Notes
Notes:
svn path=/head/; revision=139850
Diffstat (limited to 'databases')
-rw-r--r-- | databases/Makefile | 1 | ||||
-rw-r--r-- | databases/postgresql-libpgeasy/Makefile | 35 | ||||
-rw-r--r-- | databases/postgresql-libpgeasy/distinfo | 2 | ||||
-rw-r--r-- | databases/postgresql-libpgeasy/pkg-descr | 7 | ||||
-rw-r--r-- | databases/postgresql-libpgeasy/pkg-plist | 15 |
5 files changed, 60 insertions, 0 deletions
diff --git a/databases/Makefile b/databases/Makefile index dbe66f9a924e..b0ec2ddbd7e6 100644 --- a/databases/Makefile +++ b/databases/Makefile @@ -279,6 +279,7 @@ SUBDIR += postgresql-devel SUBDIR += postgresql-docs SUBDIR += postgresql-jdbc + SUBDIR += postgresql-libpgeasy SUBDIR += postgresql-libpq++ SUBDIR += postgresql-libpqxx SUBDIR += postgresql-odbc diff --git a/databases/postgresql-libpgeasy/Makefile b/databases/postgresql-libpgeasy/Makefile new file mode 100644 index 000000000000..e65832882815 --- /dev/null +++ b/databases/postgresql-libpgeasy/Makefile @@ -0,0 +1,35 @@ +# New ports collection makefile for: PostgreSQL library pgeasy +# Date created: October 24st, 2004 +# Whom: Palle Girgensohn <girgen@pingpong.net> +# +# $FreeBSD$ +# + +PKGNAMEPREFIX= postgresql- +PORTNAME= libpgeasy +PORTVERSION= 3.0.4 +CATEGORIES= databases +MASTER_SITES= ${MASTER_SITE_PGSQL} +MASTER_SITE_SUBDIR= projects/gborg/pgeasy/stable +DIST_SUBDIR= postgresql + +MAINTAINER= girgen@FreeBSD.org +COMMENT= An easy-to-use C interface to PostgreSQL + +USE_PGSQL= YES +USE_GMAKE= YES +INSTALLS_SHLIB= YES +GNU_CONFIGURE= YES +DOCSDIR= ${PREFIX}/share/doc/postgresql/${PORTNAME} +EXAMPLESDIR= ${PREFIX}/share/examples/postgresql/${PORTNAME} + +post-install: +.if !defined(NOPORTDOCS) + @- ${MKDIR} -m 755 ${EXAMPLESDIR} ;\ + ${INSTALL} ${WRKSRC}/examples/* ${EXAMPLESDIR} ;\ + ${MKDIR} -m 755 ${DOCSDIR} ;\ + ${INSTALL} ${WRKSRC}/docs/libpgeasy.html ${DOCSDIR} +.endif + +.include <bsd.port.mk> + diff --git a/databases/postgresql-libpgeasy/distinfo b/databases/postgresql-libpgeasy/distinfo new file mode 100644 index 000000000000..4d23439ba0a3 --- /dev/null +++ b/databases/postgresql-libpgeasy/distinfo @@ -0,0 +1,2 @@ +MD5 (postgresql/libpgeasy-3.0.4.tar.gz) = 5aaf078d069c8878588cd2bc7c3a5bc5 +SIZE (postgresql/libpgeasy-3.0.4.tar.gz) = 175985 diff --git a/databases/postgresql-libpgeasy/pkg-descr b/databases/postgresql-libpgeasy/pkg-descr new file mode 100644 index 000000000000..6fdeac536492 --- /dev/null +++ b/databases/postgresql-libpgeasy/pkg-descr @@ -0,0 +1,7 @@ +Pgeasy is a PostgreSQL API that is a cleaner interface to the libpq +library, more like an SQL 4GL interface. + +There are examples in share/examples/postgresql/libpqeasy +and docs in share/doc/postgresql/libpqeasy + +WWW: http://gborg.postgresql.org/project/libpgeasy/ diff --git a/databases/postgresql-libpgeasy/pkg-plist b/databases/postgresql-libpgeasy/pkg-plist new file mode 100644 index 000000000000..d2724ac79a0e --- /dev/null +++ b/databases/postgresql-libpgeasy/pkg-plist @@ -0,0 +1,15 @@ +include/libpgeasy.h +lib/libpgeasy.a +lib/libpgeasy.la +lib/libpgeasy.so +lib/libpgeasy.so.3 +%%PORTDOCS%%%%EXAMPLESDIR%%/Makefile +%%PORTDOCS%%%%EXAMPLESDIR%%/pginsert.c +%%PORTDOCS%%%%EXAMPLESDIR%%/pgmultiresult.c +%%PORTDOCS%%%%EXAMPLESDIR%%/pgnulltest.c +%%PORTDOCS%%%%EXAMPLESDIR%%/pgwordcount.c +%%PORTDOCS%%%%DOCSDIR%%/libpgeasy.html +%%PORTDOCS%%@dirrm %%EXAMPLESDIR%% +%%PORTDOCS%%@dirrm %%DOCSDIR%% +@unexec rmdir %D/share/examples/postgresql 2>/dev/null || true +@unexec rmdir %D/share/doc/postgresql 2>/dev/null || true |