40 lines
974 B
Makefile
40 lines
974 B
Makefile
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
|
|
MASTER_SITES.github = https://github.com/pllua/pllua/commit/
|
|
PATCH_DIST_STRIP = -p1
|
|
PATCHFILES.github = pllua-pg-15-fix{d0e014cdfd4e9ad801e7d2814584ff4b1892a08c}.patch
|
|
|
|
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>
|