aboutsummaryrefslogblamecommitdiffstats
path: root/databases/twemproxy/Makefile
blob: b138838d5441cb4c96e302da1aa77d226532dcce (plain) (tree)
1
2
3
4
5
6
7


                                                   
                     
                         
                         




                                                                
                       
                                           


                                             










                                                                                                    
# Created by: Steven Kreuzer <skreuzer@FreeBSD.org>
# $FreeBSD$

PORTNAME=   twemproxy
PORTVERSION=    0.4.0
DISTVERSIONPREFIX=  v
CATEGORIES= databases

MAINTAINER= skreuzer@FreeBSD.org
COMMENT=    Fast, light-weight proxy for memcached and redis

LICENSE=    APACHE20

USE_GITHUB= yes
GH_ACCOUNT= twitter

USES=       execinfo autoreconf libtool

CFLAGS+=    -I${LOCALBASE}/include
LDFLAGS+=   -L${LOCALBASE}/lib -lexecinfo

PLIST_FILES=    sbin/nutcracker \
        man/man8/nutcracker.8.gz \
        etc/nutcracker.yml.sample

HAS_CONFIGURE=  yes

do-install:
    ${INSTALL_PROGRAM} ${WRKSRC}/src/nutcracker ${STAGEDIR}${PREFIX}/sbin
    ${INSTALL_MAN} ${WRKSRC}/man/nutcracker.8 ${STAGEDIR}${MANPREFIX}/man/man8/
    ${INSTALL_DATA} ${WRKSRC}/conf/nutcracker.yml ${STAGEDIR}${PREFIX}/etc/nutcracker.yml.sample

.include <bsd.port.mk>