aboutsummaryrefslogtreecommitdiff
path: root/databases/memcacheq/Makefile
diff options
context:
space:
mode:
authorSteve Wills <swills@FreeBSD.org>2011-07-16 23:27:39 +0000
committerSteve Wills <swills@FreeBSD.org>2011-07-16 23:27:39 +0000
commit74f300b9710e31fdc1d19dda9f146e656d050b5e (patch)
tree946dc15d9d9e23b9a40225804189f6418980844a /databases/memcacheq/Makefile
parent12382421d52b51662d03298128d44e659960ce04 (diff)
MemcacheQ is a Simple Queue Service over Memcache.
Features: * damn simple * very fast * multiple queue * concurrent well * memcache protocol compatible WWW: http://memcachedb.org/memcacheq/ PR: ports/153422 Submitted by: Mikhail T. <m.tsatsenko at gmail.com>
Notes
Notes: svn path=/head/; revision=277821
Diffstat (limited to 'databases/memcacheq/Makefile')
-rw-r--r--databases/memcacheq/Makefile46
1 files changed, 46 insertions, 0 deletions
diff --git a/databases/memcacheq/Makefile b/databases/memcacheq/Makefile
new file mode 100644
index 000000000000..f396e86d596a
--- /dev/null
+++ b/databases/memcacheq/Makefile
@@ -0,0 +1,46 @@
+# New ports collection makefile for: databases/memcacheq
+# Date created: 2010-12-23
+# Whom: Mikhail T. <m.tsatsenko@gmail.com>
+#
+# $FreeBSD$
+#
+
+PORTNAME= memcacheq
+PORTVERSION= 0.2.0
+CATEGORIES= databases
+MASTER_SITES= ${MASTER_SITE_GOOGLE_CODE} \
+ ${MASTER_SITE_GENTOO}
+MASTER_SITE_SUBDIR= distfiles
+
+MAINTAINER= m.tsatsenko@gmail.com
+COMMENT= Simple queue service over Memcache
+
+LIB_DEPENDS= event-1.4:${PORTSDIR}/devel/libevent
+
+CFLAGS+= -I"${BDB_INCLUDE_DIR}"
+LDFLAGS+= -l"${BDB_LIB_NAME}" -L"${LOCALBASE}/lib"
+CONFIGURE_ENV+= LDFLAGS="${LDFLAGS}"
+
+USE_RC_SUBR= memcacheq
+USE_BDB= 47+
+GNU_CONFIGURE= YES
+CONFIGURE_ARGS= --with-libevent=${LOCALBASE} --with-bdb=${LOCALBASE} --enable-threads
+
+PLIST_FILES= bin/memcacheq
+PLIST_DIRS= ${DOCSDIR_REL}
+PORTDOCS= README
+
+MCQDIR?= /var/db/memcacheq
+
+.include <bsd.port.pre.mk>
+
+post-install:
+.if !defined(NOPORTDOCS)
+ @${ECHO_MSG} "===> Installing documentation for ${PKGNAME}"
+ @${MKDIR} ${DOCSDIR}
+ ${INSTALL_DATA} ${WRKSRC}/README ${DOCSDIR}
+.endif
+ ${MKDIR} ${MCQDIR} || ${TRUE}
+ ${CHOWN} nobody:nobody ${MCQDIR}
+
+.include <bsd.port.post.mk>