aboutsummaryrefslogtreecommitdiffstats
path: root/net/beanstalkd/Makefile
blob: bbf03f690a5aee4bbccd737d248cf7ad78eda229 (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
31
32
33
34
35
36
37
# New ports collection makefile for:    beanstalkd
# Date created:                         Apr 11, 2008
# Whom:                                 Vsevolod Stakhov <vsevolod@FreeBSD.org>
#
# $FreeBSD$
#

PORTNAME=   beanstalkd
PORTVERSION=    0.11
PORTREVISION=   1
CATEGORIES= net
MASTER_SITES=   http://xph.us/software/beanstalkd/rel/

MAINTAINER= vsevolod@FreeBSD.org
COMMENT=    Fast, distributed, in-memory workqueue service

LIB_DEPENDS=    event-1.4:${PORTSDIR}/devel/libevent

USE_RC_SUBR=    beanstalkd
USE_GMAKE=  yes
MAKE_ENV+=  EVENT_CFLAGS=-I${LOCALBASE}/include EVENT_LDFLAGS=-L${LOCALBASE}/lib

PLIST_FILES=    bin/beanstalkd

PORTDOCS=       protocol.txt

do-install:
    @${INSTALL_PROGRAM} ${WRKSRC}/beanstalkd ${PREFIX}/bin
.if !defined(NOPORTDOCS)
    @${ECHO_MSG} "===>   Installing documentation for ${PKGNAME}"
    @${MKDIR} ${DOCSDIR}
.for i in ${PORTDOCS}
    ${INSTALL_DATA} ${WRKSRC}/doc/${i} ${DOCSDIR}
.endfor
.endif

.include <bsd.port.mk>