1
0
mirror of https://git.FreeBSD.org/ports.git synced 2024-11-25 00:51:21 +00:00
freebsd-ports/devel/lua-bitlib/Makefile
Baptiste Daroussin 71630808aa Port to lua 5.2
While here support stage
2014-01-10 17:20:23 +00:00

27 lines
568 B
Makefile

# Created by: Rong-En Fan <rafan@FreeBSD.org>
# $FreeBSD$
PORTNAME= bitlib
PORTVERSION= 24
CATEGORIES= devel
MASTER_SITES= http://luaforge.net/frs/download.php/2715/
PKGNAMEPREFIX= ${LUA_PKGNAMEPREFIX}
MAINTAINER= rafan@FreeBSD.org
COMMENT= Tiny library for bitwise operations
USES= lua
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>