2008-06-11 01:04:37 -04:00
|
|
|
# $OpenBSD: Makefile,v 1.5 2008/06/11 05:04:37 landry Exp $
|
2006-10-18 20:07:27 -04:00
|
|
|
|
2007-09-15 22:52:56 -04:00
|
|
|
COMMENT= library for bitwise operations in lua
|
2006-10-18 20:07:27 -04:00
|
|
|
SHARED_ONLY= Yes
|
|
|
|
|
|
|
|
DISTNAME= bitlib
|
2006-12-09 10:25:35 -05:00
|
|
|
V= 20
|
2008-06-11 01:04:37 -04:00
|
|
|
PKGNAME= luabitlib-${V}p1
|
2006-10-18 20:07:27 -04:00
|
|
|
DIST_SUBDIR= ${DISTNAME}-${V}
|
|
|
|
CATEGORIES= devel
|
|
|
|
|
2006-12-09 10:25:35 -05:00
|
|
|
MASTER_SITES= http://luaforge.net/frs/download.php/2075/
|
2006-10-18 20:07:27 -04:00
|
|
|
HOMEPAGE= http://bitlib.luaforge.net/
|
|
|
|
EXTRACT_SUFX= .zip
|
|
|
|
|
|
|
|
# MIT
|
|
|
|
PERMIT_PACKAGE_CDROM= Yes
|
|
|
|
PERMIT_PACKAGE_FTP= Yes
|
|
|
|
PERMIT_DISTFILES_CDROM= Yes
|
|
|
|
PERMIT_DISTFILES_FTP= Yes
|
|
|
|
|
2008-06-11 01:04:37 -04:00
|
|
|
MODULES= lang/lua
|
2006-10-18 20:07:27 -04:00
|
|
|
NO_REGRESS= Yes
|
|
|
|
|
|
|
|
do-build:
|
|
|
|
${CC} ${CFLAGS} -fPIC -I${LOCALBASE}/include -shared\
|
|
|
|
${WRKDIST}/lbitlib.c -o ${WRKDIST}/bit.so
|
|
|
|
|
|
|
|
do-install:
|
|
|
|
${INSTALL_DATA_DIR} ${PREFIX}/lib/lua/5.1
|
|
|
|
${INSTALL_DATA} ${WRKSRC}/bit.so ${PREFIX}/lib/lua/5.1
|
|
|
|
|
|
|
|
.include <bsd.port.mk>
|