aboutsummaryrefslogtreecommitdiffstats
path: root/devel
diff options
context:
space:
mode:
authorlwhsu <lwhsu@FreeBSD.org>2009-01-29 14:58:29 +0800
committerlwhsu <lwhsu@FreeBSD.org>2009-01-29 14:58:29 +0800
commit9f2c58dc75669d25e7f0aea3aa6c1d955736a6ff (patch)
tree93f121b3b4d7f453f6a3d3afce9ac73afa2afb4e /devel
parent2a37c4f5c76fe15fd856573fffa9ff220c233a58 (diff)
downloadfreebsd-ports-gnome-9f2c58dc75669d25e7f0aea3aa6c1d955736a6ff.tar.gz
freebsd-ports-gnome-9f2c58dc75669d25e7f0aea3aa6c1d955736a6ff.tar.zst
freebsd-ports-gnome-9f2c58dc75669d25e7f0aea3aa6c1d955736a6ff.zip
Add gearmand 0.2, gearman C Server and Library.
PR: ports/131088 Submitted by: Gea-Suan Lin <gslin at gslin.org>
Diffstat (limited to 'devel')
-rw-r--r--devel/Makefile1
-rw-r--r--devel/gearmand/Makefile27
-rw-r--r--devel/gearmand/distinfo3
-rw-r--r--devel/gearmand/files/gearmand.sh.in23
-rw-r--r--devel/gearmand/pkg-descr8
-rw-r--r--devel/gearmand/pkg-plist25
6 files changed, 87 insertions, 0 deletions
diff --git a/devel/Makefile b/devel/Makefile
index 74da2a740042..1b2c87e14483 100644
--- a/devel/Makefile
+++ b/devel/Makefile
@@ -405,6 +405,7 @@
SUBDIR += gdb6
SUBDIR += gdbmods
SUBDIR += geany
+ SUBDIR += gearmand
SUBDIR += generate
SUBDIR += gengameng
SUBDIR += gengetopt
diff --git a/devel/gearmand/Makefile b/devel/gearmand/Makefile
new file mode 100644
index 000000000000..29b19de2c2de
--- /dev/null
+++ b/devel/gearmand/Makefile
@@ -0,0 +1,27 @@
+# New ports collection makefile for: gearmand
+# Date created: 2009-01-29
+# Whom: Gea-Suan Lin <gslin@gslin.org>
+#
+# $FreeBSD$
+#
+
+PORTNAME= gearmand
+PORTVERSION= 0.2
+CATEGORIES= devel
+MASTER_SITES= http://launchpad.net/gearmand/trunk/${PORTVERSION}/+download/
+
+MAINTAINER= gslin@gslin.org
+COMMENT= Gearman C Server and Library
+
+LIB_DEPENDS= event:${PORTSDIR}/devel/libevent \
+ uuid:${PORTSDIR}/misc/e2fsprogs-libuuid
+
+CONFIGURE_ENV= CFLAGS="-I${LOCALBASE}/include" LDFLAGS="-L${LOCALBASE}/lib"
+CONFLICTS= p5-Gearman-Server-[0-9]*
+FETCH_ARGS= -pRr
+GNU_CONFIGURE= yes
+USE_GNOME= gnomehack
+USE_LDCONFIG= yes
+USE_RC_SUBR= gearmand.sh
+
+.include <bsd.port.mk>
diff --git a/devel/gearmand/distinfo b/devel/gearmand/distinfo
new file mode 100644
index 000000000000..48e2e7cfa06a
--- /dev/null
+++ b/devel/gearmand/distinfo
@@ -0,0 +1,3 @@
+MD5 (gearmand-0.2.tar.gz) = 525fb59029b4d2d55e3b8d04286bd818
+SHA256 (gearmand-0.2.tar.gz) = d9c6b4caf848008874062d737746046d373ec10af97db0dc0a55c8b9278b4fc5
+SIZE (gearmand-0.2.tar.gz) = 391152
diff --git a/devel/gearmand/files/gearmand.sh.in b/devel/gearmand/files/gearmand.sh.in
new file mode 100644
index 000000000000..74c554ae943c
--- /dev/null
+++ b/devel/gearmand/files/gearmand.sh.in
@@ -0,0 +1,23 @@
+#!/bin/sh
+#
+# $FreeBSD$
+#
+
+# PROVIDE: gearmand
+# REQUIRE: DAEMON
+
+. "%%RC_SUBR%%"
+
+name="gearmand"
+command="%%PREFIX%%/bin/gearmand"
+
+load_rc_config "$name"
+: ${gearmand_enable="NO"}
+: ${gearmand_flags="-p 4730 -v"}
+: ${gearmand_group="daemon"}
+: ${gearmand_user="daemon"}
+
+command_args="${gearmand_flags} &"
+
+run_rc_command "$1"
+
diff --git a/devel/gearmand/pkg-descr b/devel/gearmand/pkg-descr
new file mode 100644
index 000000000000..b06b0524b611
--- /dev/null
+++ b/devel/gearmand/pkg-descr
@@ -0,0 +1,8 @@
+Gearman provides a generic framework to farm out work to other
+machines or dispatch function calls to machines that are better suited
+to do the work. It allows you to do work in parallel, to load balance
+processing, and to call functions between languages. It can be used in
+a variety of applications, from high-availability web sites to the
+transport for database replication.
+
+WWW: http://www.gearman.org/
diff --git a/devel/gearmand/pkg-plist b/devel/gearmand/pkg-plist
new file mode 100644
index 000000000000..b2cc8780d0d6
--- /dev/null
+++ b/devel/gearmand/pkg-plist
@@ -0,0 +1,25 @@
+@comment $FreeBSD$
+bin/gearmand
+include/libgearman/client.h
+include/libgearman/con.h
+include/libgearman/constants.h
+include/libgearman/gearman.h
+include/libgearman/gearmand.h
+include/libgearman/job.h
+include/libgearman/packet.h
+include/libgearman/server.h
+include/libgearman/server_client.h
+include/libgearman/server_con.h
+include/libgearman/server_function.h
+include/libgearman/server_job.h
+include/libgearman/server_worker.h
+include/libgearman/structs.h
+include/libgearman/task.h
+include/libgearman/worker.h
+lib/libgearman.a
+lib/libgearman.la
+lib/libgearman.so
+lib/libgearman.so.0
+libdata/pkgconfig/gearmand.pc
+@dirrmtry libdata/pkgconfig
+@dirrm include/libgearman