ports/databases/postgresql-pllua/Makefile

41 lines
968 B
Makefile
Raw Normal View History

2023-08-16 22:26:55 +00:00
COMMENT = Lua procedural language support for PostgreSQL
VERSION = 2.0.10
GH_ACCOUNT = pllua
GH_PROJECT = pllua
GH_TAGNAME = REL_${VERSION:S/./_/g}
PKGNAME = postgresql-pllua-${VERSION}
REVISION = 0
# Use upstream pull request for PostgreSQL 15 support
2023-09-20 18:59:05 +00:00
SITES.github = https://github.com/pllua/pllua/commit/
2023-08-16 22:26:55 +00:00
PATCH_DIST_STRIP = -p1
2023-09-08 05:21:37 +00:00
PATCHFILES.github = pllua-pg-15-fix{d0e014cdfd4e9ad801e7d2814584ff4b1892a08c}.patch
2023-08-16 22:26:55 +00:00
CATEGORIES = databases
HOMEPAGE = https://github.com/pllua/pllua
MAINTAINER = Jeremy Evans <jeremy@openbsd.org>
# MIT
PERMIT_PACKAGE = Yes
WANTLIB = c ${MODLUA_WANTLIB}
MODULES = lang/lua
MODLUA_VERSION = 5.3
BUILD_DEPENDS = ${RUN_DEPENDS} \
postgresql-client->=15,<16:databases/postgresql,-main
RUN_DEPENDS = postgresql-server->=15,<16:databases/postgresql,-server
USE_GMAKE = Yes
SUBST_VARS = MODLUA_INCL_DIR MODLUA_WANTLIB MODLUA_BIN LLD_EMUL
pre-configure:
${SUBST_CMD} ${WRKSRC}/Makefile
.include <bsd.port.mk>