SecBSD's official ports repository

This commit is contained in:
purplerain 2023-08-16 22:26:55 +00:00
commit 2c0afcbbf3
Signed by: purplerain
GPG key ID: F42C07F07E2E35B7
64331 changed files with 5339189 additions and 0 deletions

28
devel/lua-bit32/Makefile Normal file
View file

@ -0,0 +1,28 @@
COMMENT= bit32 compatibility module for Lua 5.1
CATEGORIES= devel
V= 0.3
DISTNAME= luacompat-5.2-${V}
PKGNAME= lua-bit32-${V}
GH_ACCOUNT= keplerproject
GH_PROJECT= lua-compat-5.2
GH_TAGNAME= v${V}
MAINTAINER= Jonathan Gray <jsg@openbsd.org>
MODLUA_VERSION= 5.1
MODULES= lang/lua
# MIT
PERMIT_PACKAGE= Yes
do-build:
${CC} ${CFLAGS} -fPIC -I${MODLUA_INCL_DIR} -I${WRKDIST}/c-api -shared \
${WRKDIST}/lbitlib.c -o ${WRKDIST}/bit32.so
do-install:
${INSTALL_DATA_DIR} ${MODLUA_LIBDIR}
${INSTALL_DATA} ${WRKSRC}/bit32.so ${MODLUA_LIBDIR}
.include <bsd.port.mk>

2
devel/lua-bit32/distinfo Normal file
View file

@ -0,0 +1,2 @@
SHA256 (luacompat-5.2-0.3.tar.gz) = Yn6ELEiMGv7OQ4Pan5qDmn3bwvf+38RW9246WQ1Mpn8=
SIZE (luacompat-5.2-0.3.tar.gz) = 22407

View file

@ -0,0 +1,2 @@
bit32 is the native Lua 5.2 bit manipulation library, in the version
from Lua 5.3; it is compatible with Lua 5.1, 5.2 and 5.3.

View file

@ -0,0 +1 @@
lib/lua/${MODLUA_VERSION}/bit32.so