1
0
mirror of https://git.FreeBSD.org/ports.git synced 2024-11-19 00:13:33 +00:00
freebsd-ports/databases/lua-pgsql/Makefile
2023-08-27 10:48:17 +08:00

30 lines
596 B
Makefile

PORTNAME= pgsql
PORTVERSION= 1.6.8
PORTREVISION= 1
CATEGORIES= databases
PKGNAMEPREFIX= ${LUA_PKGNAMEPREFIX}
MAINTAINER= dmitry.wagin@ya.ru
COMMENT= Lua binding for PostgreSQL
WWW= https://github.com/arcapos/luapgsql
LICENSE= BSD3CLAUSE
USES= lua:flavors,53+ pgsql:11+
WANT_PGSQL= client
USE_GITHUB= yes
GH_ACCOUNT= arcapos
GH_PROJECT= luapgsql
GH_TAGNAME= 0f80ff5
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>