SecBSD's official ports repository
This commit is contained in:
commit
2c0afcbbf3
64331 changed files with 5339189 additions and 0 deletions
29
devel/lua-openbsd/Makefile
Normal file
29
devel/lua-openbsd/Makefile
Normal file
|
@ -0,0 +1,29 @@
|
|||
COMMENT = lua bindings for OpenBSD functions
|
||||
|
||||
GH_ACCOUNT = n0la
|
||||
GH_PROJECT = lua-openbsd
|
||||
GH_TAGNAME = v0.4
|
||||
|
||||
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>
|
2
devel/lua-openbsd/distinfo
Normal file
2
devel/lua-openbsd/distinfo
Normal file
|
@ -0,0 +1,2 @@
|
|||
SHA256 (lua-openbsd-0.4.tar.gz) = cP6F7wsvgaF139wevFoqPNj3OZCilBuDYqfbsVSGWUI=
|
||||
SIZE (lua-openbsd-0.4.tar.gz) = 3465
|
3
devel/lua-openbsd/pkg/DESCR
Normal file
3
devel/lua-openbsd/pkg/DESCR
Normal file
|
@ -0,0 +1,3 @@
|
|||
lua-openbsd is a small shared library that exports OpenBSD specific
|
||||
functions (such as pledge(), arc4random() and arc4random_uniform())
|
||||
to Lua scripts.
|
4
devel/lua-openbsd/pkg/PLIST
Normal file
4
devel/lua-openbsd/pkg/PLIST
Normal file
|
@ -0,0 +1,4 @@
|
|||
@so lib/lua/${MODLUA_VERSION}/openbsd.so
|
||||
share/examples/${FULLPKGNAME}/
|
||||
share/examples/${FULLPKGNAME}/openbsd-example.lua
|
||||
share/examples/${FULLPKGNAME}/userokay.lua
|
Loading…
Add table
Add a link
Reference in a new issue