summaryrefslogtreecommitdiff
path: root/databases/lua-pgsql/Makefile
blob: d110f65c3d7782f18a6e8714597aa8541e3e9e60 (plain)
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
PORTNAME=	pgsql
PORTVERSION=	1.6.8
CATEGORIES=	databases
PKGNAMEPREFIX=	${LUA_PKGNAMEPREFIX}

MAINTAINER=	dmitry.wagin@ya.ru
COMMENT=	Lua binding for PostgreSQL

LICENSE=	BSD3CLAUSE

USES=		lua pgsql:9.5+
WANT_PGSQL=	client

USE_GITHUB=	yes
GH_ACCOUNT=	arcapos
GH_PROJECT=	luapgsql
GH_TAGNAME=	023992e

MAKE_ARGS=	LUA_VERSION=${LUA_VER}

PLIST_FILES=	${LUA_MODLIBDIR}/pgsql.so

do-install:
	${MKDIR} ${STAGEDIR}${LUA_MODLIBDIR}
	${INSTALL_LIB} ${WRKSRC}/libpgsql.so ${STAGEDIR}${LUA_MODLIBDIR}/pgsql.so

.include <bsd.port.mk>