blob: 349734ca68e46b8a0a33230999a9495da7c0cacf (
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= rds-parser
PORTVERSION= 0.0.4
CATEGORIES= devel
MASTER_SITES= https://github.com/agentzh/lua-rds-parser/tarball/master/
PKGNAMEPREFIX= ${LUA_PKGNAMEPREFIX}
DISTNAME= lua-${PORTNAME}-${PORTVERSION}-${GITVERSION}
MAINTAINER= osa@FreeBSD.org
COMMENT= Resty-DBD-Stream (RDS) parser for Lua written in C
FETCH_ARGS= -pRr
USE_LUA?= 5.1
GITVERSION= 0-gb46bbd8
WRKSRC= ${WRKDIR}/agentzh-lua-rds-parser-${GITVERSION:S/^0-g//}
PLIST_FILES= %%LUA_MODLIBDIR%%/rds/parser.so
PLIST_DIRS= %%LUA_MODLIBDIR%%/rds
do-install:
${MKDIR} ${LUA_MODLIBDIR}/rds
${INSTALL_PROGRAM} ${WRKSRC}/parser.so ${LUA_MODLIBDIR}/rds
.include <bsd.port.mk>
|