summaryrefslogtreecommitdiffstats
path: root/www/httpsqs/Makefile
blob: e7f2eb13d33447e127cf783911f78ea62241270f (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
# New ports collection makefile for:	httpsqs
# Date created:		2011-04-22
# Whom:			Zhihao Yuan <lichray@gmail.com>
#
# $FreeBSD$
#

PORTNAME=	httpsqs
PORTVERSION=	1.7
CATEGORIES=	www devel
MASTER_SITES=	${MASTER_SITE_GOOGLE_CODE}

MAINTAINER=	lichray@gmail.com
COMMENT=	Simple Queue Service based on HTTP GET/POST protocol

LICENSE=	BSD

LIB_DEPENDS+=	tokyocabinet:${PORTSDIR}/databases/tokyocabinet \
	event-2.0:${PORTSDIR}/devel/libevent2

USE_PKGCONFIG=	yes

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>
OpenPOWER on IntegriCloud