freebsd-ports/devel/lua-bitlib/Makefile
2021-04-06 16:31:07 +02:00

26 lines
579 B
Makefile

# Created by: Rong-En Fan <rafan@FreeBSD.org>
PORTNAME= bitlib
PORTVERSION= 24
PORTREVISION= 1
CATEGORIES= devel
MASTER_SITES= http://luaforge.net/frs/download.php/2715/
PKGNAMEPREFIX= ${LUA_PKGNAMEPREFIX}
MAINTAINER= ports@FreeBSD.org
COMMENT= Tiny library for bitwise operations
USES= lua:module
PLIST_FILES= %%LUA_MODLIBDIR%%/bit.so
do-build:
cd ${WRKSRC} && \
${CC} -fPIC -shared -o bit.so lbitlib.c \
-I${LUA_INCDIR} -lm
do-install:
@${MKDIR} ${STAGEDIR}${LUA_MODLIBDIR}
${INSTALL_PROGRAM} ${WRKSRC}/bit.so ${STAGEDIR}${LUA_MODLIBDIR}
.include <bsd.port.mk>