openbsd-ports/devel/luafs/Makefile

36 lines
1008 B
Makefile
Raw Normal View History

2006-09-24 12:56:08 -04:00
# $OpenBSD: Makefile,v 1.5 2006/09/24 16:56:08 pedro Exp $
SHARED_ONLY= Yes
COMMENT= "file system library for the lua language"
2006-03-25 23:56:01 -05:00
DISTNAME= luafilesystem-1.2
2006-09-24 12:56:08 -04:00
PKGNAME= luafs-1.2p1
CATEGORIES= devel
2006-03-25 23:56:01 -05:00
MASTER_SITES= http://luaforge.net/frs/download.php/1487/
HOMEPAGE= http://www.keplerproject.org/luafilesystem/
MAINTAINER= Pedro Martelletto <pedro@openbsd.org>
# MIT
PERMIT_PACKAGE_CDROM= Yes
PERMIT_PACKAGE_FTP= Yes
PERMIT_DISTFILES_CDROM= Yes
PERMIT_DISTFILES_FTP= Yes
2006-07-30 00:33:18 -04:00
BUILD_DEPENDS= ::lang/lua
RUN_DEPENDS= ${BUILD_DEPENDS}
post-extract:
2006-03-25 23:56:01 -05:00
@perl -pi -e 's/\r\n/\n/' ${WRKSRC}/Makefile ${WRKSRC}/config
do-install:
2006-07-30 00:33:18 -04:00
${INSTALL_DATA_DIR} ${PREFIX}/lib/lua/5.1
${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 \
${PREFIX}/share/doc/luafs
2006-03-25 23:56:01 -05:00
${INSTALL_DATA} ${WRKSRC}/tests/*.lua ${PREFIX}/share/examples/luafs
.include <bsd.port.mk>