Import of pkgsrc-2013Q2

This commit is contained in:
2013-09-26 17:14:40 +02:00
commit 785076ae39
74991 changed files with 4380255 additions and 0 deletions
+5
View File
@@ -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.
+18
View File
@@ -0,0 +1,18 @@
# $NetBSD: Makefile,v 1.3 2013/06/04 09:21:26 fhajny Exp $
#
DISTNAME= luafilesystem-1.6.2
PKGNAME= ${DISTNAME:S/lua/lua-/}
CATEGORIES= devel
MASTER_SITES= http://github.com/downloads/keplerproject/luafilesystem/
MAINTAINER= filip@joyent.com
HOMEPAGE= http://keplerproject.github.com/luafilesystem/
COMMENT= File system related library for Lua
LICENSE= mit
USE_TOOLS+= gmake
BUILD_TARGET= lib
.include "../../lang/lua/module.mk"
.include "../../mk/bsd.pkg.mk"
+2
View File
@@ -0,0 +1,2 @@
@comment $NetBSD: PLIST,v 1.1.1.1 2010/09/21 09:30:41 fhajny Exp $
${LUA_CDIR}/lfs.so
+6
View File
@@ -0,0 +1,6 @@
$NetBSD: distinfo,v 1.2 2013/06/04 09:21:26 fhajny Exp $
SHA1 (luafilesystem-1.6.2.tar.gz) = 13e9ff1a550218eacbad6aef052fd686c4592797
RMD160 (luafilesystem-1.6.2.tar.gz) = bc106c6207ac99e15158483af7abebd67d44a893
Size (luafilesystem-1.6.2.tar.gz) = 27886 bytes
SHA1 (patch-aa) = 17a15dbf8ec314bdf643ff4aba103006af55064a
+27
View File
@@ -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