Import of pkgsrc-2015Q1

This commit is contained in:
2015-04-22 14:34:26 +02:00
committed by Lionel Sambuc
parent 9a8c06dafb
commit 4af1cdf7a9
25114 changed files with 870550 additions and 795435 deletions

View File

@@ -1,7 +1,8 @@
# $NetBSD: Makefile,v 1.4 2013/10/30 06:24:57 dholland Exp $
# $NetBSD: Makefile,v 1.7 2015/03/18 10:24:49 joerg Exp $
DISTNAME= slnunicode-1.1apl1
PKGNAME= ${LUA_PKGPREFIX}-${DISTNAME}
PKGREVISION= 2
CATEGORIES= textproc
MASTER_SITES= ${MASTER_SITE_LOCAL}
@@ -10,12 +11,9 @@ HOMEPAGE= https://github.com/phi-gamma/slnunicode/
COMMENT= Unicode library for Lua
BUILD_TARGET= unicode.so
LUA_VERSIONS_INCOMPATIBLE= 51
LUA_VERSIONS_INCOMPATIBLE= 51 53
FIND_PREFIX:= LUADIR=lua
.include "../../mk/find-prefix.mk"
MAKE_ENV+= LUADIR=${LUADIR}
MAKE_ENV+= LUA_EXECUTABLE=${LUA_INTERPRETER}
INSTALLATION_DIRS= ${LUA_CDIR}

View File

@@ -1,2 +1,2 @@
@comment $NetBSD: PLIST,v 1.1 2013/09/03 16:18:41 ryoon Exp $
lib/lua/5.2/unicode.so
@comment $NetBSD: PLIST,v 1.2 2014/05/03 13:01:24 alnsn Exp $
${LUA_CDIR}/unicode.so

View File

@@ -1,6 +1,6 @@
$NetBSD: distinfo,v 1.1 2013/09/03 16:18:41 ryoon Exp $
$NetBSD: distinfo,v 1.3 2015/03/17 22:30:34 ryoon Exp $
SHA1 (slnunicode-1.1apl1.tar.gz) = 635cfd874afc88765358206172ecb28308dc9e50
RMD160 (slnunicode-1.1apl1.tar.gz) = 0802483382f375036fdbbf1b00592dd2c309aa1b
Size (slnunicode-1.1apl1.tar.gz) = 31369 bytes
SHA1 (patch-Makefile) = 8f3fd40102ba6a7fd5dc81ec7ced0e68469b077f
SHA1 (patch-Makefile) = 8c7c1653e9fa4102cb50296140336f53ce6bce75

View File

@@ -1,10 +1,10 @@
$NetBSD: patch-Makefile,v 1.1 2013/09/03 16:18:41 ryoon Exp $
$NetBSD: patch-Makefile,v 1.3 2015/03/05 14:12:18 ryoon Exp $
* for pkgsrc.
--- Makefile.orig 2013-09-03 15:44:50.000000000 +0000
+++ Makefile
@@ -1,9 +1,9 @@
@@ -1,9 +1,11 @@
# put next to lua-5.1.4
-# then make -f slnunicode-1.1a/Makefile
+# then make -f Makefile
@@ -14,7 +14,9 @@ $NetBSD: patch-Makefile,v 1.1 2013/09/03 16:18:41 ryoon Exp $
- lua-5.1.4/src/lua slnunicode-1.1a/unitest
+unicode.so: slnunico.c slnudata.c
+ gcc -I. ${CFLAGS} -shared -Wall -Os -fpic -o unicode.so slnunico.c
+ ${LUADIR}/bin/lua unitest
+
+test:
+ ${LUA_EXECUTABLE} unitest
clean:
rm unicode.so