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 WWW= http://luaforge.net/projects/bitlib/ 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