pkgsrc-Changes-HG archive
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]
[pkgsrc/trunk]: pkgsrc/devel/lua-filesystem Import lua-filesystem-1.5.0 as de...
details: https://anonhg.NetBSD.org/pkgsrc/rev/ba735500d1ab
branches: trunk
changeset: 580907:ba735500d1ab
user: fhajny <fhajny%pkgsrc.org@localhost>
date: Tue Sep 21 09:30:41 2010 +0000
description:
Import lua-filesystem-1.5.0 as devel/lua-filesystem.
LuaFileSystem is a Lua library developed to complement the set of functions
related to file systems offered by the standard Lua distribution.
LuaFileSystem offers a portable way to access the underlying directory
structure and file attributes.
diffstat:
devel/lua-filesystem/DESCR | 5 +++++
devel/lua-filesystem/Makefile | 19 +++++++++++++++++++
devel/lua-filesystem/PLIST | 2 ++
devel/lua-filesystem/distinfo | 6 ++++++
devel/lua-filesystem/patches/patch-aa | 27 +++++++++++++++++++++++++++
5 files changed, 59 insertions(+), 0 deletions(-)
diffs (79 lines):
diff -r 9d38e0ad67e1 -r ba735500d1ab devel/lua-filesystem/DESCR
--- /dev/null Thu Jan 01 00:00:00 1970 +0000
+++ b/devel/lua-filesystem/DESCR Tue Sep 21 09:30:41 2010 +0000
@@ -0,0 +1,5 @@
+LuaFileSystem is a Lua library developed to complement the set of functions
+related to file systems offered by the standard Lua distribution.
+
+LuaFileSystem offers a portable way to access the underlying directory
+structure and file attributes.
diff -r 9d38e0ad67e1 -r ba735500d1ab devel/lua-filesystem/Makefile
--- /dev/null Thu Jan 01 00:00:00 1970 +0000
+++ b/devel/lua-filesystem/Makefile Tue Sep 21 09:30:41 2010 +0000
@@ -0,0 +1,19 @@
+# $NetBSD: Makefile,v 1.1.1.1 2010/09/21 09:30:41 fhajny Exp $
+#
+
+DISTNAME= luafilesystem-1.5.0
+PKGNAME= ${DISTNAME:S/lua/lua-/}
+CATEGORIES= devel
+MASTER_SITES= http://github.com/downloads/keplerproject/luafilesystem/
+
+MAINTAINER= filip%joyent.com@localhost
+HOMEPAGE= http://keplerproject.github.com/luafilesystem/
+COMMENT= File system related library for Lua
+
+PKG_DESTDIR_SUPPORT= user-destdir
+
+USE_TOOLS+= gmake
+BUILD_TARGET= lib
+
+.include "../../lang/lua/module.mk"
+.include "../../mk/bsd.pkg.mk"
diff -r 9d38e0ad67e1 -r ba735500d1ab devel/lua-filesystem/PLIST
--- /dev/null Thu Jan 01 00:00:00 1970 +0000
+++ b/devel/lua-filesystem/PLIST Tue Sep 21 09:30:41 2010 +0000
@@ -0,0 +1,2 @@
+@comment $NetBSD: PLIST,v 1.1.1.1 2010/09/21 09:30:41 fhajny Exp $
+${LUA_CDIR}/lfs.so
diff -r 9d38e0ad67e1 -r ba735500d1ab devel/lua-filesystem/distinfo
--- /dev/null Thu Jan 01 00:00:00 1970 +0000
+++ b/devel/lua-filesystem/distinfo Tue Sep 21 09:30:41 2010 +0000
@@ -0,0 +1,6 @@
+$NetBSD: distinfo,v 1.1.1.1 2010/09/21 09:30:41 fhajny Exp $
+
+SHA1 (luafilesystem-1.5.0.tar.gz) = 1ee2ca3b5dbc3cf7c21c7168a0873b2983b7e241
+RMD160 (luafilesystem-1.5.0.tar.gz) = db1e597046d47ab12df202e7c65fb3b815c9f922
+Size (luafilesystem-1.5.0.tar.gz) = 26660 bytes
+SHA1 (patch-aa) = 17a15dbf8ec314bdf643ff4aba103006af55064a
diff -r 9d38e0ad67e1 -r ba735500d1ab devel/lua-filesystem/patches/patch-aa
--- /dev/null Thu Jan 01 00:00:00 1970 +0000
+++ b/devel/lua-filesystem/patches/patch-aa Tue Sep 21 09:30:41 2010 +0000
@@ -0,0 +1,27 @@
+$NetBSD: patch-aa,v 1.1.1.1 2010/09/21 09:30:41 fhajny Exp $
+
+Fix default directory locations
+--- config.orig 2009-10-20 20:54:35.000000000 +0000
++++ config
+@@ -1,10 +1,10 @@
+ # Installation directories
+
+ # Default installation prefix
+-PREFIX=/usr/local
++PREFIX?=/usr/local
+
+ # System's libraries directory (where binary libraries are installed)
+-LUA_LIBDIR= $(PREFIX)/lib/lua/5.1
++LUA_LIBDIR= $(DESTDIR)$(PREFIX)/lib/lua/5.1
+
+ # Lua includes directory
+ LUA_INC= $(PREFIX)/include
+@@ -16,7 +16,7 @@ LIB_OPTION= -shared #for Linux
+ LIBNAME= $T.so.$V
+
+ # Compilation directives
+-WARN= -O2 -Wall -fPIC -W -Waggregate-return -Wcast-align -Wmissing-prototypes -Wnested-externs -Wshadow -Wwrite-strings -pedantic
++WARN= -O2 -fPIC
+ INCS= -I$(LUA_INC)
+ CFLAGS= $(WARN) $(INCS)
+ CC= gcc
Home |
Main Index |
Thread Index |
Old Index