2009-09-06 15:25:22 -04:00
|
|
|
# $OpenBSD: Makefile,v 1.11 2009/09/06 19:25:22 jolan Exp $
|
2005-05-14 20:42:52 -04:00
|
|
|
SHARED_ONLY= Yes
|
|
|
|
|
2007-09-15 22:52:56 -04:00
|
|
|
COMMENT= file system library for the lua language
|
2009-09-06 15:25:22 -04:00
|
|
|
DISTNAME= luafilesystem-1.4.2
|
|
|
|
PKGNAME= luafs-1.4.2
|
2005-05-14 20:42:52 -04:00
|
|
|
CATEGORIES= devel
|
2009-09-06 15:25:22 -04:00
|
|
|
MASTER_SITES= http://luaforge.net/frs/download.php/3931/
|
2005-05-14 20:42:52 -04:00
|
|
|
|
|
|
|
HOMEPAGE= http://www.keplerproject.org/luafilesystem/
|
|
|
|
|
|
|
|
# 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
|
2009-09-06 15:25:22 -04:00
|
|
|
ALL_TARGET= lib
|
2006-03-25 23:56:01 -05:00
|
|
|
|
2005-05-14 20:42:52 -04:00
|
|
|
do-install:
|
2006-07-30 00:33:18 -04:00
|
|
|
${INSTALL_DATA_DIR} ${PREFIX}/lib/lua/5.1
|
2005-05-14 20:42:52 -04:00
|
|
|
${INSTALL_DATA_DIR} ${PREFIX}/share/doc/luafs
|
2006-03-25 23:56:01 -05:00
|
|
|
${INSTALL_DATA_DIR} ${PREFIX}/share/examples/luafs
|
2006-07-30 00:33:18 -04:00
|
|
|
${INSTALL_DATA} ${WRKSRC}/lfs.so ${PREFIX}/lib/lua/5.1
|
2005-07-08 13:57:27 -04:00
|
|
|
${INSTALL_DATA} ${WRKSRC}/doc/us/*.html ${WRKSRC}/doc/us/*.png \
|
2005-05-14 20:42:52 -04:00
|
|
|
${PREFIX}/share/doc/luafs
|
2006-03-25 23:56:01 -05:00
|
|
|
${INSTALL_DATA} ${WRKSRC}/tests/*.lua ${PREFIX}/share/examples/luafs
|
|
|
|
|
2007-05-10 16:23:29 -04:00
|
|
|
do-regress:
|
|
|
|
cp ${WRKDIST}/*.so ${WRKDIST}/tests
|
|
|
|
cd ${WRKDIST}/tests && lua test.lua
|
|
|
|
|
2005-05-14 20:42:52 -04:00
|
|
|
.include <bsd.port.mk>
|