Lines 6-12
Link Here
|
6 |
# |
6 |
# |
7 |
|
7 |
|
8 |
PORTNAME= gearmand |
8 |
PORTNAME= gearmand |
9 |
PORTVERSION= 0.8 |
9 |
PORTVERSION= 0.9 |
10 |
CATEGORIES= devel |
10 |
CATEGORIES= devel |
11 |
MASTER_SITES= http://launchpad.net/gearmand/trunk/${PORTVERSION}/+download/ |
11 |
MASTER_SITES= http://launchpad.net/gearmand/trunk/${PORTVERSION}/+download/ |
12 |
|
12 |
|
Lines 14-19
Link Here
|
14 |
COMMENT= Gearman C Server and Library |
14 |
COMMENT= Gearman C Server and Library |
15 |
|
15 |
|
16 |
LIB_DEPENDS= event:${PORTSDIR}/devel/libevent \ |
16 |
LIB_DEPENDS= event:${PORTSDIR}/devel/libevent \ |
|
|
17 |
memcached:${PORTSDIR}/databases/libmemcached \ |
17 |
uuid:${PORTSDIR}/misc/e2fsprogs-libuuid |
18 |
uuid:${PORTSDIR}/misc/e2fsprogs-libuuid |
18 |
|
19 |
|
19 |
CONFIGURE_ENV= LDFLAGS="-L${LOCALBASE}/lib" |
20 |
CONFIGURE_ENV= LDFLAGS="-L${LOCALBASE}/lib" |
Lines 23-28
Link Here
|
23 |
USE_LDCONFIG= yes |
24 |
USE_LDCONFIG= yes |
24 |
USE_RC_SUBR= gearmand.sh |
25 |
USE_RC_SUBR= gearmand.sh |
25 |
|
26 |
|
|
|
27 |
OPTIONS= PQ "Enable PostgreSQL support" off \ |
28 |
SQLITE3 "Enable SQLite3 support" off |
29 |
|
26 |
MAN1= gearman.1 |
30 |
MAN1= gearman.1 |
27 |
MAN3= gearman_bugreport.3 \ |
31 |
MAN3= gearman_bugreport.3 \ |
28 |
gearman_client_add_server.3 \ |
32 |
gearman_client_add_server.3 \ |
Lines 148-153
Link Here
|
148 |
gearman_queue_libmemcached_conf.3 \ |
152 |
gearman_queue_libmemcached_conf.3 \ |
149 |
gearman_queue_libmemcached_deinit.3 \ |
153 |
gearman_queue_libmemcached_deinit.3 \ |
150 |
gearman_queue_libmemcached_init.3 \ |
154 |
gearman_queue_libmemcached_init.3 \ |
|
|
155 |
gearman_queue_libpq_conf.3 \ |
156 |
gearman_queue_libpq_deinit.3 \ |
157 |
gearman_queue_libpq_init.3 \ |
158 |
gearman_queue_libsqlite3_conf.3 \ |
159 |
gearman_queue_libsqlite3_deinit.3 \ |
160 |
gearman_queue_libsqlite3_init.3 \ |
151 |
gearman_server_client_add.3 \ |
161 |
gearman_server_client_add.3 \ |
152 |
gearman_server_client_create.3 \ |
162 |
gearman_server_client_create.3 \ |
153 |
gearman_server_client_free.3 \ |
163 |
gearman_server_client_free.3 \ |
Lines 262-267
Link Here
|
262 |
gearmand_queue_libdrizzle_init.3 \ |
272 |
gearmand_queue_libdrizzle_init.3 \ |
263 |
gearmand_queue_libmemcached_deinit.3 \ |
273 |
gearmand_queue_libmemcached_deinit.3 \ |
264 |
gearmand_queue_libmemcached_init.3 \ |
274 |
gearmand_queue_libmemcached_init.3 \ |
|
|
275 |
gearmand_queue_libpq_deinit.3 \ |
276 |
gearmand_queue_libpq_init.3 \ |
277 |
gearmand_queue_libsqlite3_deinit.3 \ |
278 |
gearmand_queue_libsqlite3_init.3 \ |
265 |
gearmand_run.3 \ |
279 |
gearmand_run.3 \ |
266 |
gearmand_set_backlog.3 \ |
280 |
gearmand_set_backlog.3 \ |
267 |
gearmand_set_log.3 \ |
281 |
gearmand_set_log.3 \ |
Lines 273-276
Link Here
|
273 |
gearmand_wakeup.3 |
287 |
gearmand_wakeup.3 |
274 |
MAN8= gearmand.8 |
288 |
MAN8= gearmand.8 |
275 |
|
289 |
|
276 |
.include <bsd.port.mk> |
290 |
.include <bsd.port.pre.mk> |
|
|
291 |
|
292 |
.ifdef(WITH_PQ) |
293 |
CONFIGURE_ARGS+= --with-libpq-prefix |
294 |
USE_PGSQL= yes |
295 |
.else |
296 |
CONFIGURE_ARGS+= --without-libpq-prefix |
297 |
.endif |
298 |
|
299 |
.ifdef(WITH_SQLITE3) |
300 |
CONFIGURE_ARGS+= --with-libsqlite3-prefix |
301 |
USE_SQLITE= yes |
302 |
.else |
303 |
CONFIGURE_ARGS+= --without-libsqlite3-prefix |
304 |
.endif |
305 |
|
306 |
.include <bsd.port.post.mk> |