summaryrefslogtreecommitdiff
path: root/databases/postgresql-libpgeasy
diff options
context:
space:
mode:
authorPalle Girgensohn <girgen@FreeBSD.org>2005-07-21 22:51:49 +0000
committerPalle Girgensohn <girgen@FreeBSD.org>2005-07-21 22:51:49 +0000
commit67a16737d6e5b822f01a49c215c8a39fb5619cb8 (patch)
tree6c961f239627fa97f1fe13f7d8df12b6f9ba3319 /databases/postgresql-libpgeasy
parent- Update comment to match existing options (diff)
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/postgresql-libpgeasy')
-rw-r--r--databases/postgresql-libpgeasy/Makefile35
-rw-r--r--databases/postgresql-libpgeasy/distinfo2
-rw-r--r--databases/postgresql-libpgeasy/pkg-descr7
-rw-r--r--databases/postgresql-libpgeasy/pkg-plist15
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