mirror of
https://git.FreeBSD.org/ports.git
synced 2024-11-29 01:13:08 +00:00
30 lines
676 B
Makefile
30 lines
676 B
Makefile
# New ports collection makefile for: lua-bitlib
|
|
# Date created: 07 Jan 2008
|
|
# Whom: 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= A tiny library for bitwise operations
|
|
|
|
USE_LUA= 5.0+
|
|
|
|
PLIST_FILES= %%LUA_MODLIBDIR%%/bit.so
|
|
|
|
do-build:
|
|
cd ${WRKSRC} && \
|
|
${CC} -fPIC -shared -o bit.so lbitlib.c \
|
|
${LUA_LIBDIR}/liblua.a -I${LUA_INCDIR} -lm
|
|
|
|
do-install:
|
|
@${INSTALL_PROGRAM} ${WRKSRC}/bit.so ${LUA_MODLIBDIR}
|
|
|
|
.include <bsd.port.mk>
|