Files
ports/www/httpsqs/Makefile
T
Baptiste Daroussin 2ecfdbfa14 HTTPSQS is a Simple Queue Service based on HTTP GET/POST protocol. It can
handle more than 10000 requests/sec concurrent connections. Currently it's
widely deployed throughout the xoyo.com under the Kingsoft Corporation.

WWW:	https://code.google.com/p/httpsqs/

PR:		ports/156595
Submitted by:	Zhihao Yuan <lichray at gmail.com>
2011-04-27 11:23:33 +00:00

36 lines
793 B
Makefile

# New ports collection makefile for: httpsqs
# Date created: 2011-04-22
# Whom: Zhihao Yuan <lichray@gmail.com>
#
# $FreeBSD$
#
PORTNAME= httpsqs
PORTVERSION= 1.6
CATEGORIES= www devel
MASTER_SITES= ${MASTER_SITE_GOOGLE_CODE}
MAINTAINER= lichray@gmail.com
COMMENT= Simple Queue Service based on HTTP GET/POST protocol
LIB_DEPENDS+= tokyocabinet:${PORTSDIR}/databases/tokyocabinet \
event-2.0:${PORTSDIR}/devel/libevent2
BUILD_DEPENDS+= pkg-config:${PORTSDIR}/devel/pkg-config
MAKE_ENV= LIBS="${PTHREAD_LIBS}"
LICENSE= BSD
PLIST_FILES= bin/${PORTNAME}
post-patch:
${CP} ${PATCHDIR}/Makefile ${WRKSRC}
@${REINPLACE_CMD} -e 's|{ 0 }|"${PREFIX}/bin/${PORTNAME}"|' \
${WRKSRC}/httpsqs.c
post-install:
${INSTALL_PROGRAM} ${WRKSRC}/${PORTNAME} ${PREFIX}/bin
.include <bsd.port.mk>