aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMartin Wilke <miwi@FreeBSD.org>2009-01-10 15:02:48 +0000
committerMartin Wilke <miwi@FreeBSD.org>2009-01-10 15:02:48 +0000
commitd367f15350857a1bc582bbcad7a50ec11a162bb8 (patch)
tree225f013ffa38fc66568809a20590ac6f61f4d1dd
parent5f5613977ccc430b3a87ddb26cd72ec35f650559 (diff)
downloadports-d367f15350857a1bc582bbcad7a50ec11a162bb8.tar.gz
ports-d367f15350857a1bc582bbcad7a50ec11a162bb8.zip
Notes
-rw-r--r--www/Makefile1
-rw-r--r--www/mod_memcache/Makefile22
-rw-r--r--www/mod_memcache/distinfo3
-rw-r--r--www/mod_memcache/files/patch-configure11
-rw-r--r--www/mod_memcache/pkg-descr5
-rw-r--r--www/mod_memcache/pkg-plist4
6 files changed, 46 insertions, 0 deletions
diff --git a/www/Makefile b/www/Makefile
index d1e490d897c2..5093086bf161 100644
--- a/www/Makefile
+++ b/www/Makefile
@@ -459,6 +459,7 @@
SUBDIR += mod_macro
SUBDIR += mod_macro2
SUBDIR += mod_macro22
+ SUBDIR += mod_memcache
SUBDIR += mod_mp3
SUBDIR += mod_musicindex
SUBDIR += mod_mya
diff --git a/www/mod_memcache/Makefile b/www/mod_memcache/Makefile
new file mode 100644
index 000000000000..d02c2f233c97
--- /dev/null
+++ b/www/mod_memcache/Makefile
@@ -0,0 +1,22 @@
+# New ports collection makefile for: mod_memcache
+# Date created: 2009-01-06
+# Whom: Gea-Suan Lin <gslin@gslin.org>
+#
+# $FreeBSD$
+#
+
+PORTNAME= mod_memcache
+PORTVERSION= 0.1.0
+CATEGORIES= www
+MASTER_SITES= ${MASTER_SITE_GOOGLE_CODE}
+
+MAINTAINER= gslin@gslin.org
+COMMENT= Apache 2.2.x module to manage apr_memcache connections
+
+LIB_DEPENDS= apr-1:${PORTSDIR}/devel/apr
+
+GNU_CONFIGURE= yes
+PROJECTHOST= modmemcache
+USE_APACHE= 2.2+
+
+.include <bsd.port.mk>
diff --git a/www/mod_memcache/distinfo b/www/mod_memcache/distinfo
new file mode 100644
index 000000000000..8eb0cafd8c87
--- /dev/null
+++ b/www/mod_memcache/distinfo
@@ -0,0 +1,3 @@
+MD5 (mod_memcache-0.1.0.tar.gz) = 9954ce906620d3367bd2fd123b1b94d5
+SHA256 (mod_memcache-0.1.0.tar.gz) = 719aa73ea768889bf16d84450296486d3be9865fd35ecbf1d8e154f239408acd
+SIZE (mod_memcache-0.1.0.tar.gz) = 291514
diff --git a/www/mod_memcache/files/patch-configure b/www/mod_memcache/files/patch-configure
new file mode 100644
index 000000000000..fc13ec64ab46
--- /dev/null
+++ b/www/mod_memcache/files/patch-configure
@@ -0,0 +1,11 @@
+--- configure.orig 2009-01-06 11:53:39.000000000 +0800
++++ configure 2009-01-06 11:54:03.000000000 +0800
+@@ -20143,7 +20143,7 @@
+ for x in $test_paths ; do
+ echo "$as_me:$LINENO: checking for apr_memcache library in ${x}" >&5
+ echo $ECHO_N "checking for apr_memcache library in ${x}... $ECHO_C" >&6
+- if test -f ${x}/include/apr_memcache-0/apr_memcache.h; then
++ if test -f ${x}/include/apr-1/apr_memcache.h; then
+ echo "$as_me:$LINENO: result: yes" >&5
+ echo "${ECHO_T}yes" >&6
+ APR_MEMCACHE_LIBS="-R${x}/lib -L${x}/lib -lapr_memcache"
diff --git a/www/mod_memcache/pkg-descr b/www/mod_memcache/pkg-descr
new file mode 100644
index 000000000000..ddf02c312156
--- /dev/null
+++ b/www/mod_memcache/pkg-descr
@@ -0,0 +1,5 @@
+mod_memcache manages the parsing of memcached server configuration and
+exports a single function for use by other modules to access a
+configured apr_memcache object.
+
+WWW: http://code.google.com/p/modmemcache/
diff --git a/www/mod_memcache/pkg-plist b/www/mod_memcache/pkg-plist
new file mode 100644
index 000000000000..f1d748024a8a
--- /dev/null
+++ b/www/mod_memcache/pkg-plist
@@ -0,0 +1,4 @@
+@comment $FreeBSD$
+%%APACHEMODDIR%%/mod_memcache.so
+%%APACHEMODDIR%%/mod_memcache_example.so
+@dirrmtry %%APACHEMODDIR%%