aboutsummaryrefslogtreecommitdiffstats
path: root/devel/lua50-posix/Makefile
diff options
context:
space:
mode:
authorpav <pav@FreeBSD.org>2006-04-16 00:59:09 +0800
committerpav <pav@FreeBSD.org>2006-04-16 00:59:09 +0800
commitbbe312f45fab73b97b2cdb87371ae32ab580c7dd (patch)
tree671f8c2f2376d1ae5402b40d29e63e64065b139f /devel/lua50-posix/Makefile
parent61326e78a2020a2e2fdec52199c879aaf1bb26e2 (diff)
downloadfreebsd-ports-gnome-bbe312f45fab73b97b2cdb87371ae32ab580c7dd.tar.gz
freebsd-ports-gnome-bbe312f45fab73b97b2cdb87371ae32ab580c7dd.tar.zst
freebsd-ports-gnome-bbe312f45fab73b97b2cdb87371ae32ab580c7dd.zip
LuaPosix is a Lua extension library that provides support for POSIX.
PR: ports/94987 Submitted by: Andrew Turner <andrew@fubar.geek.nz>
Diffstat (limited to 'devel/lua50-posix/Makefile')
-rw-r--r--devel/lua50-posix/Makefile27
1 files changed, 27 insertions, 0 deletions
diff --git a/devel/lua50-posix/Makefile b/devel/lua50-posix/Makefile
new file mode 100644
index 000000000000..0e10e63b3bbc
--- /dev/null
+++ b/devel/lua50-posix/Makefile
@@ -0,0 +1,27 @@
+# New ports collection makefile for: lua50-posix
+# Date created: 27 March 2006
+# Whom: Andrew Turner <andrew+ports@fubar.geek.nz>
+#
+# $FreeBSD$
+#
+
+PORTNAME= lua50-posix
+PORTVERSION= 5.0
+CATEGORIES= devel
+MASTER_SITES= http://www.tecgraf.puc-rio.br/~lhf/ftp/lua/
+DISTFILES= lposix.tar.gz
+
+MAINTAINER= andrew+ports@fubar.geek.nz
+COMMENT= A POSIX layer for Lua
+
+BUILD_DEPENDS= ${LOCALBASE}/include/lua.h:${PORTSDIR}/lang/lua
+
+WRKSRC= ${WRKDIR}/posix
+
+do-install:
+ @ ${MKDIR} ${PREFIX}/share/lua/5.0
+ @ ${INSTALL_DATA} ${WRKSRC}/posix.lua ${PREFIX}/share/lua/5.0
+ @ ${MKDIR} ${PREFIX}/lib/lua/5.0
+ @ ${INSTALL_PROGRAM} ${WRKSRC}/lposix.so ${PREFIX}/lib/lua/5.0
+
+.include <bsd.port.mk>