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

37
devel/lua-bitop/Makefile Normal file
View file

@ -0,0 +1,37 @@
V = 1.0.2
COMMENT = library for bitwise operations in Lua
DISTNAME = LuaBitOp-${V}
PKGNAME = lua-bitop-${V}
REVISION = 0
CATEGORIES = devel
HOMEPAGE = https://bitop.luajit.org/
MAINTAINER = Brian Callahan <bcallah@openbsd.org>
# MIT
PERMIT_PACKAGE = Yes
MASTER_SITES = https://bitop.luajit.org/download/
# "Lua BitOp is a C extension module for Lua 5.1/5.2"
FLAVORS = lua52
FLAVOR ?=
MODULES = lang/lua
USE_GMAKE = Yes
MAKE_FLAGS += INCLUDES=-I${MODLUA_INCL_DIR} CCOPT= \
LUA=${MODLUA_BIN} CC="${CC}"
TEST_DEPENDS = ${BASE_PKGPATH}
do-install:
${INSTALL_DATA_DIR} ${MODLUA_LIBDIR} ${MODLUA_DOCDIR}
${INSTALL_DATA} ${WRKBUILD}/bit.so ${MODLUA_LIBDIR}
cd ${WRKSRC}/doc && \
find . -type d \
-exec ${INSTALL_DATA_DIR} ${MODLUA_DOCDIR}/{} \; && \
find . ! -type d \
-exec ${INSTALL_DATA} -m 644 {} ${MODLUA_DOCDIR}/{} \;
.include <bsd.port.mk>

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

@ -0,0 +1,2 @@
SHA256 (LuaBitOp-1.0.2.tar.gz) = EgfJKT3NUuudymU40bhzUr1RD052CTj1BIQz9/Jyzpk=
SIZE (LuaBitOp-1.0.2.tar.gz) = 23127

View file

@ -0,0 +1,2 @@
Lua BitOp is a C extension module for Lua 5.1/5.2 which adds bitwise operations
on numbers.

14
devel/lua-bitop/pkg/PLIST Normal file
View file

@ -0,0 +1,14 @@
@conflict luabitop-*
@pkgpath devel/luabitop
lib/lua/${MODLUA_VERSION}/bit.so
share/doc/${FULLPKGNAME}/
share/doc/${FULLPKGNAME}/api.html
share/doc/${FULLPKGNAME}/bluequad-print.css
share/doc/${FULLPKGNAME}/bluequad.css
share/doc/${FULLPKGNAME}/changes.html
share/doc/${FULLPKGNAME}/contact.html
share/doc/${FULLPKGNAME}/img/
share/doc/${FULLPKGNAME}/img/contact.png
share/doc/${FULLPKGNAME}/index.html
share/doc/${FULLPKGNAME}/install.html
share/doc/${FULLPKGNAME}/semantics.html