aboutsummaryrefslogtreecommitdiffstats
path: root/devel/lua-redis-parser/Makefile
blob: b199e13f7137c34c304d60e2412453c68518f9e8 (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
# New ports collection makefile for:    lua-rds-parser
# Date created:     12 Jan 2012
# Whom:         osa
#
# $FreeBSD$
#

PORTNAME=   redis-parser
DISTVERSION=    0.09rc7
CATEGORIES= devel
MASTER_SITES=   https://github.com/agentzh/lua-redis-parser/tarball/master/
PKGNAMEPREFIX=  ${LUA_PKGNAMEPREFIX}
DISTNAME=   lua-${PORTNAME}-${DISTVERSION}-${GITVERSION}

MAINTAINER= osa@FreeBSD.org
COMMENT=    Redis reply parser and request constructor library for Lua

FETCH_ARGS= -pRr
USE_LUA?=   5.1
GITVERSION= 0-g32cee57
WRKSRC=     ${WRKDIR}/agentzh-lua-redis-parser-${GITVERSION:S/^0-g//}

PLIST_FILES=    %%LUA_MODLIBDIR%%/redis/parser.so
PLIST_DIRS= %%LUA_MODLIBDIR%%/redis

do-install:
    ${MKDIR} ${LUA_MODLIBDIR}/redis
    ${INSTALL_PROGRAM} ${WRKSRC}/parser.so ${LUA_MODLIBDIR}/redis

.include <bsd.port.mk>