diff options
| -rw-r--r-- | devel/Makefile | 1 | ||||
| -rw-r--r-- | devel/lua-bitop/Makefile | 27 | ||||
| -rw-r--r-- | devel/lua-bitop/distinfo | 2 | ||||
| -rw-r--r-- | devel/lua-bitop/pkg-descr | 4 |
4 files changed, 34 insertions, 0 deletions
diff --git a/devel/Makefile b/devel/Makefile index be71c6c9ee68..7e04c1482fce 100644 --- a/devel/Makefile +++ b/devel/Makefile @@ -1289,6 +1289,7 @@ SUBDIR += lpc21isp SUBDIR += lrmi SUBDIR += lua-alien + SUBDIR += lua-bitop SUBDIR += lua-bitlib SUBDIR += lua-cjson SUBDIR += lua-gettext diff --git a/devel/lua-bitop/Makefile b/devel/lua-bitop/Makefile new file mode 100644 index 000000000000..550590d5dd54 --- /dev/null +++ b/devel/lua-bitop/Makefile @@ -0,0 +1,27 @@ +# Created by: Sunpoet Po-Chuan Hsieh <sunpoet@FreeBSD.org> +# $FreeBSD$ + +PORTNAME= bitop +PORTVERSION= 1.0.2 +CATEGORIES= devel +MASTER_SITES= http://bitop.luajit.org/download/ \ + LOCAL/sunpoet +DISTNAME= LuaBitOp-${PORTVERSION} +PKGNAMEPREFIX= ${LUA_PKGNAMEPREFIX} + +MAINTAINER= sunpoet@FreeBSD.org +COMMENT= Bitwise operations on numbers + +LICENSE= MIT + +CFLAGS+= -DLUA_NUMBER_LONG_LONG -I${LUA_INCDIR} +MAKE_ARGS= CC=${CC} +USES= gmake lua + +PLIST_FILES= %%LUA_MODLIBDIR%%/bit.so + +do-install: + ${MKDIR} ${STAGEDIR}${LUA_MODLIBDIR}/ + ${INSTALL_LIB} ${WRKSRC}/bit.so ${STAGEDIR}${LUA_MODLIBDIR}/ + +.include <bsd.port.mk> diff --git a/devel/lua-bitop/distinfo b/devel/lua-bitop/distinfo new file mode 100644 index 000000000000..20429ae95d2d --- /dev/null +++ b/devel/lua-bitop/distinfo @@ -0,0 +1,2 @@ +SHA256 (LuaBitOp-1.0.2.tar.gz) = 1207c9293dcd52eb9dca6538d1b87352bd510f4e760938f5048433f7f272ce99 +SIZE (LuaBitOp-1.0.2.tar.gz) = 23127 diff --git a/devel/lua-bitop/pkg-descr b/devel/lua-bitop/pkg-descr new file mode 100644 index 000000000000..4a6e429d8d9a --- /dev/null +++ b/devel/lua-bitop/pkg-descr @@ -0,0 +1,4 @@ +Lua BitOp is a C extension module for Lua 5.1/5.2 which adds bitwise operations +on numbers. + +WWW: http://bitop.luajit.org/ |
