openbsd-ports/devel/luafs/Makefile

37 lines
963 B
Makefile
Raw Normal View History

# $OpenBSD: Makefile,v 1.16 2012/07/10 15:22:44 jasper Exp $
SHARED_ONLY= Yes
COMMENT= file system library for the lua language
V= 1.5.0
DISTNAME= luafilesystem-${V}
PKGNAME= luafs-${V}
REVISION= 3
CATEGORIES= devel
MASTER_SITES= http://github.com/downloads/keplerproject/luafilesystem/
HOMEPAGE= http://www.keplerproject.org/luafilesystem/
# MIT
PERMIT_PACKAGE_CDROM= Yes
PERMIT_PACKAGE_FTP= Yes
PERMIT_DISTFILES_CDROM= Yes
PERMIT_DISTFILES_FTP= Yes
MODULES= lang/lua
2009-09-06 15:25:22 -04:00
ALL_TARGET= lib
2006-03-25 23:56:01 -05:00
MAKE_ENV+= LUA_LIBDIR=${MODLUA_LIBDIR} LUA_INC=${MODLUA_INCL_DIR}
do-install:
2012-05-15 11:15:19 -04:00
${INSTALL_DATA_DIR} ${MODLUA_LIBDIR} ${MODLUA_DOCDIR} ${MODLUA_EXAMPLEDIR}
2010-06-18 13:59:06 -04:00
${INSTALL_DATA} ${WRKSRC}/lfs.so ${MODLUA_LIBDIR}
2005-07-08 13:57:27 -04:00
${INSTALL_DATA} ${WRKSRC}/doc/us/*.html ${WRKSRC}/doc/us/*.png \
2012-05-15 11:15:19 -04:00
${MODLUA_DOCDIR}
${INSTALL_DATA} ${WRKSRC}/tests/*.lua ${MODLUA_EXAMPLEDIR}
2006-03-25 23:56:01 -05:00
2007-05-10 16:23:29 -04:00
do-regress:
cp ${WRKDIST}/*.so ${WRKDIST}/tests
cd ${WRKDIST}/tests && ${MODLUA_BIN} test.lua
2007-05-10 16:23:29 -04:00
.include <bsd.port.mk>