diff options
author | miwi <miwi@FreeBSD.org> | 2009-09-19 20:00:16 +0800 |
---|---|---|
committer | miwi <miwi@FreeBSD.org> | 2009-09-19 20:00:16 +0800 |
commit | c4dac7f333e329dbcffa11412b671da911f7cf55 (patch) | |
tree | edc8227a4decb603cd24537ef88a82aedf0f4c3d /devel | |
parent | c5c5c8d3c5bfc74b291e4595943241a2dd044dc4 (diff) | |
download | freebsd-ports-gnome-c4dac7f333e329dbcffa11412b671da911f7cf55.tar.gz freebsd-ports-gnome-c4dac7f333e329dbcffa11412b671da911f7cf55.tar.zst freebsd-ports-gnome-c4dac7f333e329dbcffa11412b671da911f7cf55.zip |
- Update to 0.9
- Add support for SQLite and PostgresSQL
PR: 138614
Submitted by: Keith Gaughan <k@stereochro.me> (based on)
Approved by: maintainer
Feature safe: yes
Diffstat (limited to 'devel')
-rw-r--r-- | devel/gearmand/Makefile | 38 | ||||
-rw-r--r-- | devel/gearmand/distinfo | 6 | ||||
-rw-r--r-- | devel/gearmand/pkg-plist | 2 |
3 files changed, 41 insertions, 5 deletions
diff --git a/devel/gearmand/Makefile b/devel/gearmand/Makefile index ea5cb27325ae..95baf25e7b63 100644 --- a/devel/gearmand/Makefile +++ b/devel/gearmand/Makefile @@ -6,7 +6,7 @@ # PORTNAME= gearmand -PORTVERSION= 0.8 +PORTVERSION= 0.9 CATEGORIES= devel MASTER_SITES= http://launchpad.net/gearmand/trunk/${PORTVERSION}/+download/ @@ -14,6 +14,7 @@ MAINTAINER= gslin@gslin.org COMMENT= Gearman C Server and Library LIB_DEPENDS= event:${PORTSDIR}/devel/libevent \ + memcached:${PORTSDIR}/databases/libmemcached \ uuid:${PORTSDIR}/misc/e2fsprogs-libuuid CONFIGURE_ENV= LDFLAGS="-L${LOCALBASE}/lib" @@ -23,6 +24,9 @@ USE_GNOME= gnomehack USE_LDCONFIG= yes USE_RC_SUBR= gearmand.sh +OPTIONS= PQ "Enable PostgreSQL support" off \ + SQLITE3 "Enable SQLite3 support" off + MAN1= gearman.1 MAN3= gearman_bugreport.3 \ gearman_client_add_server.3 \ @@ -148,6 +152,12 @@ MAN3= gearman_bugreport.3 \ gearman_queue_libmemcached_conf.3 \ gearman_queue_libmemcached_deinit.3 \ gearman_queue_libmemcached_init.3 \ + gearman_queue_libpq_conf.3 \ + gearman_queue_libpq_deinit.3 \ + gearman_queue_libpq_init.3 \ + gearman_queue_libsqlite3_conf.3 \ + gearman_queue_libsqlite3_deinit.3 \ + gearman_queue_libsqlite3_init.3 \ gearman_server_client_add.3 \ gearman_server_client_create.3 \ gearman_server_client_free.3 \ @@ -262,6 +272,10 @@ MAN3= gearman_bugreport.3 \ gearmand_queue_libdrizzle_init.3 \ gearmand_queue_libmemcached_deinit.3 \ gearmand_queue_libmemcached_init.3 \ + gearmand_queue_libpq_deinit.3 \ + gearmand_queue_libpq_init.3 \ + gearmand_queue_libsqlite3_deinit.3 \ + gearmand_queue_libsqlite3_init.3 \ gearmand_run.3 \ gearmand_set_backlog.3 \ gearmand_set_log.3 \ @@ -273,4 +287,24 @@ MAN3= gearman_bugreport.3 \ gearmand_wakeup.3 MAN8= gearmand.8 -.include <bsd.port.mk> +.include <bsd.port.pre.mk> + +.ifdef(WITH_PQ) +PLIST_SUB+= PG="" +CONFIGURE_ARGS+= --with-libpq-prefix +USE_PGSQL= yes +.else +PLIST_SUB+= PG="@comment " +CONFIGURE_ARGS+= --without-libpq-prefix +.endif + +.ifdef(WITH_SQLITE3) +PLIST_SUB+= SQLITE="" +CONFIGURE_ARGS+= --with-libsqlite3-prefix +USE_SQLITE= yes +.else +PLIST_SUB+= SQLITE="@comment " +CONFIGURE_ARGS+= --without-libsqlite3-prefix +.endif + +.include <bsd.port.post.mk> diff --git a/devel/gearmand/distinfo b/devel/gearmand/distinfo index 96f250f5b6e1..359643123a12 100644 --- a/devel/gearmand/distinfo +++ b/devel/gearmand/distinfo @@ -1,3 +1,3 @@ -MD5 (gearmand-0.8.tar.gz) = 2118ad03aa055d22374d3a095554e54a -SHA256 (gearmand-0.8.tar.gz) = d28a64adcc99e837f408d0abb56f62cadcdef3fb2b8efa668518384cfbba5773 -SIZE (gearmand-0.8.tar.gz) = 573862 +MD5 (gearmand-0.9.tar.gz) = 8bdedc7809180f5f33ec123e2c47389e +SHA256 (gearmand-0.9.tar.gz) = 4cc4af55d235f3a343d791b7f5b7593cfb7dfc70d68f021a183b905606d2906e +SIZE (gearmand-0.9.tar.gz) = 599884 diff --git a/devel/gearmand/pkg-plist b/devel/gearmand/pkg-plist index 55c2f65920cb..6817dd16d40f 100644 --- a/devel/gearmand/pkg-plist +++ b/devel/gearmand/pkg-plist @@ -12,6 +12,8 @@ include/libgearman/gearmand_thread.h include/libgearman/job.h include/libgearman/packet.h include/libgearman/protocol_http.h +%%PG%%include/libgearman/queue_libpq.h +%%SQLITE%%include/libgearman/queue_libsqlite3.h include/libgearman/server.h include/libgearman/server_client.h include/libgearman/server_con.h |