aboutsummaryrefslogtreecommitdiffstats
path: root/www/httpsqs/Makefile
blob: d2d2a1efbb484a910fec7bd42d5435f479959134 (plain) (blame)
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
# Created by: Zhihao Yuan <lichray@gmail.com>
# $FreeBSD$

PORTNAME=   httpsqs
PORTVERSION=    1.7
PORTREVISION=   1
CATEGORIES= www devel
MASTER_SITES=   GOOGLE_CODE

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

LICENSE=    BSD3CLAUSE

LIB_DEPENDS+=   libtokyocabinet.so:${PORTSDIR}/databases/tokyocabinet \
        libevent.so:${PORTSDIR}/devel/libevent2

USES=       pkgconfig

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} ${STAGEDIR}${PREFIX}/bin

.include <bsd.port.mk>