diff options
author | girgen <girgen@FreeBSD.org> | 2005-07-22 06:51:49 +0800 |
---|---|---|
committer | girgen <girgen@FreeBSD.org> | 2005-07-22 06:51:49 +0800 |
commit | e68ebbc1cd1e55a620a118896b8ec945bc81b12e (patch) | |
tree | 6aedbedd63b27659e8320fb58aabef4bb1ea13f7 /databases/postgresql-libpgeasy | |
parent | 27b3e8a8ba748e2d022eded73a34003b1bf2621b (diff) | |
download | freebsd-ports-gnome-e68ebbc1cd1e55a620a118896b8ec945bc81b12e.tar.gz freebsd-ports-gnome-e68ebbc1cd1e55a620a118896b8ec945bc81b12e.tar.zst freebsd-ports-gnome-e68ebbc1cd1e55a620a118896b8ec945bc81b12e.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)
Diffstat (limited to 'databases/postgresql-libpgeasy')
-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 |
4 files changed, 59 insertions, 0 deletions
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 |