ports/devel/lua-openbsd/Makefile

30 lines
486 B
Makefile
Raw Normal View History

2023-08-16 22:26:55 +00:00
COMMENT = lua bindings for OpenBSD functions
GH_ACCOUNT = n0la
GH_PROJECT = lua-openbsd
2023-09-08 05:21:37 +00:00
GH_TAGNAME = v0.5
2023-08-16 22:26:55 +00:00
CATEGORIES = devel
#MIT
PERMIT_PACKAGE = Yes
FLAVORS = lua52 lua53
FLAVOR ?=
# uses pledge()
WANTLIB = ${MODLUA_WANTLIB} m
MODULES = devel/cmake \
lang/lua
CONFIGURE_ARGS += -DMODLUA_VERSION=${MODLUA_VERSION}
NO_TEST = Yes
post-install:
${INSTALL_DATA_DIR} ${MODLUA_EXAMPLEDIR}
${INSTALL_DATA} ${WRKSRC}/example/*.lua ${MODLUA_EXAMPLEDIR}
.include <bsd.port.mk>