openbsd-ports/devel/luafs/Makefile
kili 8d2cee5205 Swap RUN_DEPENDS and BUILD_DEPENDS. No bump required.
ok steven@

There'l be more of this, including some ports where a
RUN_DEPENDS=${BUILD_DEPENDS} really causes wrong runtime
dependencies.
2006-12-17 11:56:56 +00:00

36 lines
1005 B
Makefile

# $OpenBSD: Makefile,v 1.6 2006/12/17 11:56:56 kili Exp $
SHARED_ONLY= Yes
COMMENT= "file system library for the lua language"
DISTNAME= luafilesystem-1.2
PKGNAME= luafs-1.2p1
CATEGORIES= devel
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
RUN_DEPENDS= ::lang/lua
BUILD_DEPENDS= ${RUN_DEPENDS}
post-extract:
@perl -pi -e 's/\r\n/\n/' ${WRKSRC}/Makefile ${WRKSRC}/config
do-install:
${INSTALL_DATA_DIR} ${PREFIX}/lib/lua/5.1
${INSTALL_DATA_DIR} ${PREFIX}/share/doc/luafs
${INSTALL_DATA_DIR} ${PREFIX}/share/examples/luafs
${INSTALL_DATA} ${WRKSRC}/lfs.so ${PREFIX}/lib/lua/5.1
${INSTALL_DATA} ${WRKSRC}/doc/us/*.html ${WRKSRC}/doc/us/*.png \
${PREFIX}/share/doc/luafs
${INSTALL_DATA} ${WRKSRC}/tests/*.lua ${PREFIX}/share/examples/luafs
.include <bsd.port.mk>