[33118] trunk/dports/sysutils
brett at macports.org
brett at macports.org
Fri Jan 18 08:47:45 PST 2008
Revision: 33118
http://trac.macosforge.org/projects/macports/changeset/33118
Author: brett at macports.org
Date: 2008-01-18 08:47:43 -0800 (Fri, 18 Jan 2008)
Log Message:
-----------
add beanstalkd
Added Paths:
-----------
trunk/dports/sysutils/beanstalkd/
trunk/dports/sysutils/beanstalkd/Portfile
trunk/dports/sysutils/beanstalkd/patch-Makefile
Added: trunk/dports/sysutils/beanstalkd/Portfile
===================================================================
--- trunk/dports/sysutils/beanstalkd/Portfile (rev 0)
+++ trunk/dports/sysutils/beanstalkd/Portfile 2008-01-18 16:47:43 UTC (rev 33118)
@@ -0,0 +1,30 @@
+# -*- coding: utf-8; mode: tcl; tab-width: 4; indent-tabs-mode: nil; \
+# c-basic-offset: 4 -*- vim:fenc=utf-8:filetype=tcl:et:sw=4:ts=4:sts=4
+# $Id$
+
+PortSystem 1.0
+name beanstalkd
+version 0.6
+description a fast, distributed, in-memory workqueue service
+long_description \
+ beanstalkd is a fast, distributed, in-memory workqueue service. \
+ Its interface is generic, but is intended for use in reducing the \
+ latency of page views in high-volume web applications by running most \
+ time-consuming tasks asynchronously.
+maintainers brett at macports.org
+categories sysutils
+platforms darwin
+homepage http://xph.us/software/beanstalkd/
+master_sites http://xph.us/software/beanstalkd/rel/
+checksums sha1 f83235d089bf32150f9980b32edc4fa61fad9c66
+
+depends_lib port:libevent
+
+use_configure no
+#patchfiles patch-Makefile
+#patch.pre_args -p1
+build.target
+destroot.cmd install
+destroot.target beanstalkd
+destroot.destdir ${destroot}${prefix}/bin
+
Added: trunk/dports/sysutils/beanstalkd/patch-Makefile
===================================================================
--- trunk/dports/sysutils/beanstalkd/patch-Makefile (rev 0)
+++ trunk/dports/sysutils/beanstalkd/patch-Makefile 2008-01-18 16:47:43 UTC (rev 33118)
@@ -0,0 +1,21 @@
+diff -u -r beanstalkd-0.6-orig/Makefile beanstalkd-0.6/Makefile
+--- beanstalkd-0.6-orig/Makefile 2008-01-02 21:16:41.000000000 -0500
++++ beanstalkd-0.6/Makefile 2008-01-18 10:48:25.000000000 -0500
+@@ -1,12 +1,14 @@
+ program := beanstalkd
+-export CFLAGS := $(LDFLAGS) -Wall -Werror
+-export LDFLAGS := $(LDFLAGS) -levent
++export CPPFLAGS := $(CPPFLAGS) -I/opt/local/include
++export CFLAGS := $(CFLAGS) -Wall -Werror -I/opt/local/include
++export LDFLAGS := $(LDFLAGS) -L/opt/local/lib -levent
+
+ sources := $(shell ls *.c | fgrep -v $(program))
+ objects := $(sources:.c=.o)
+ tests := $(sources:%=tests/test_%)
+
+-all: export CFLAGS := $(CFLAGS) -O2
++all: export CFLAGS := $(CFLAGS) -O2 -I/opt/local/include
++all: export LDFLAGS := $(LDFLAGS) -L/opt/local/lib -levent
+ all: $(program)
+
+ debug: export CFLAGS := $(CFLAGS) -g -pg -DDEBUG
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://lists.macosforge.org/pipermail/macports-changes/attachments/20080118/e4e58708/attachment-0001.html
More information about the macports-changes
mailing list