From cb045297fb005550d2b07073958cc1c3a4a49ed1 Mon Sep 17 00:00:00 2001 From: pedro Date: Sun, 30 Jul 2006 04:54:51 +0000 Subject: [PATCH] luacompat can go now, okay jolan@ --- devel/Makefile | 3 +- devel/luacompat/Makefile | 44 -------------------- devel/luacompat/distinfo | 4 -- devel/luacompat/files/init.lua | 4 -- devel/luacompat/patches/patch-compat-5_1_lua | 18 -------- devel/luacompat/pkg/DESCR | 3 -- devel/luacompat/pkg/PFRAG.shared | 2 - devel/luacompat/pkg/PLIST | 9 ---- 8 files changed, 1 insertion(+), 86 deletions(-) delete mode 100644 devel/luacompat/Makefile delete mode 100644 devel/luacompat/distinfo delete mode 100644 devel/luacompat/files/init.lua delete mode 100644 devel/luacompat/patches/patch-compat-5_1_lua delete mode 100644 devel/luacompat/pkg/DESCR delete mode 100644 devel/luacompat/pkg/PFRAG.shared delete mode 100644 devel/luacompat/pkg/PLIST diff --git a/devel/Makefile b/devel/Makefile index eb9e4557b0c..75a9c5c9c31 100644 --- a/devel/Makefile +++ b/devel/Makefile @@ -1,4 +1,4 @@ -# $OpenBSD: Makefile,v 1.394 2006/07/20 09:23:48 espie Exp $ +# $OpenBSD: Makefile,v 1.395 2006/07/30 04:54:51 pedro Exp $ # $FreeBSD: Makefile,v 1.85 1997/11/20 05:22:14 asami Exp $ SUBDIR += ElectricFence @@ -141,7 +141,6 @@ SUBDIR += libzvt SUBDIR += lincvs SUBDIR += luaalarm - SUBDIR += luacompat SUBDIR += luacopas SUBDIR += luafs SUBDIR += luaposix diff --git a/devel/luacompat/Makefile b/devel/luacompat/Makefile deleted file mode 100644 index f87c46e6c4b..00000000000 --- a/devel/luacompat/Makefile +++ /dev/null @@ -1,44 +0,0 @@ -# $OpenBSD: Makefile,v 1.6 2006/03/26 04:47:43 pedro Exp $ - -COMMENT= "compatibility module for lua 5.1" -NOT_FOR_ARCHS= ${NO_SHARED_ARCHS} - -DISTNAME= compat-5.1r4 -PKGNAME= luacompat-5.1r4 -SHARED_LIBS= luacompat 5.1 -DIST_SUBDIR= luacompat-5.1r4 -CATEGORIES= devel - -MASTER_SITES= http://luaforge.net/frs/download.php/952/ -HOMEPAGE= http://www.keplerproject.org/compat/ - -MAINTAINER= Pedro Martelletto - -# MIT -PERMIT_PACKAGE_CDROM= Yes -PERMIT_PACKAGE_FTP= Yes -PERMIT_DISTFILES_CDROM= Yes -PERMIT_DISTFILES_FTP= Yes - -NO_REGRESS= Yes -BUILD_DEPENDS= ::lang/lua -RUN_DEPENDS= ${BUILD_DEPENDS} - -post-extract: - @sed -e "s:@compatpath@:${PREFIX}/lua/luacompat/?.lua:g" \ - ${FILESDIR}/init.lua > ${WRKSRC}/init.lua - -do-build: - cd ${WRKSRC};\ - ${CC} -o libluacompat.so.${LIBluacompat_VERSION} \ - -I${LOCALBASE}/include -shared -fPIC compat-5.1.c - -do-install: - ${INSTALL_DATA_DIR} ${PREFIX}/lua/luacompat - ${INSTALL_DATA} ${WRKSRC}/init.lua ${PREFIX}/lua/luacompat - ${INSTALL_DATA} ${WRKSRC}/compat-5.1.lua ${PREFIX}/lua/luacompat - ${INSTALL_DATA} ${WRKSRC}/compat-5.1.h ${PREFIX}/include/luacompat.h - ${INSTALL_DATA} ${WRKSRC}/libluacompat.so.${LIBluacompat_VERSION} \ - ${PREFIX}/lib - -.include diff --git a/devel/luacompat/distinfo b/devel/luacompat/distinfo deleted file mode 100644 index f37079292ea..00000000000 --- a/devel/luacompat/distinfo +++ /dev/null @@ -1,4 +0,0 @@ -MD5 (luacompat-5.1r4/compat-5.1r4.tar.gz) = 7cfd21ed28b02ef78b6f9034406a8322 -RMD160 (luacompat-5.1r4/compat-5.1r4.tar.gz) = 07a97a8eeebcb7348f02f81eb884ef3dbbf7f1dc -SHA1 (luacompat-5.1r4/compat-5.1r4.tar.gz) = 00d20857482f4dc7b49478c644aa3869cf122e42 -SIZE (luacompat-5.1r4/compat-5.1r4.tar.gz) = 2790 diff --git a/devel/luacompat/files/init.lua b/devel/luacompat/files/init.lua deleted file mode 100644 index 46a5d6d07e1..00000000000 --- a/devel/luacompat/files/init.lua +++ /dev/null @@ -1,4 +0,0 @@ --- $OpenBSD: init.lua,v 1.1.1.1 2005/04/19 14:48:09 pedro Exp $ --- luacompat's initialization steps -lua_addpath("@compatpath@") -require("compat-5.1") diff --git a/devel/luacompat/patches/patch-compat-5_1_lua b/devel/luacompat/patches/patch-compat-5_1_lua deleted file mode 100644 index 645c75c0b64..00000000000 --- a/devel/luacompat/patches/patch-compat-5_1_lua +++ /dev/null @@ -1,18 +0,0 @@ -$OpenBSD: patch-compat-5_1_lua,v 1.4 2006/03/26 04:47:43 pedro Exp $ ---- compat-5.1.lua.orig Sat Sep 3 10:15:56 2005 -+++ compat-5.1.lua Sat Sep 3 10:17:12 2005 -@@ -26,11 +26,11 @@ package.path = LUA_PATH or os.getenv("LU - "/usr/local/share/lua/5.0/?/?.lua;" .. - "/usr/local/share/lua/5.0/?/init.lua" ) - --package.cpath = os.getenv("LUA_CPATH") or -- "./?.so;" .. -+package.cpath = LUA_CPATH or os.getenv("LUA_CPATH") or -+ ("./?.so;" .. - "./l?.so;" .. - "/usr/local/lib/lua/5.0/?.so;" .. -- "/usr/local/lib/lua/5.0/l?.so" -+ "/usr/local/lib/lua/5.0/l?.so") - - -- - -- make sure require works with standard libraries diff --git a/devel/luacompat/pkg/DESCR b/devel/luacompat/pkg/DESCR deleted file mode 100644 index 8dd9fb6d342..00000000000 --- a/devel/luacompat/pkg/DESCR +++ /dev/null @@ -1,3 +0,0 @@ -luacompat-5.1 is a set of files which provides an implementation of the new -package model of Lua 5.1 to be used in Lua 5.0. The set of files consists of a -Lua file and a pair of a C source and header files. diff --git a/devel/luacompat/pkg/PFRAG.shared b/devel/luacompat/pkg/PFRAG.shared deleted file mode 100644 index a0f2b482f50..00000000000 --- a/devel/luacompat/pkg/PFRAG.shared +++ /dev/null @@ -1,2 +0,0 @@ -@comment $OpenBSD: PFRAG.shared,v 1.2 2006/01/07 15:10:53 bernd Exp $ -@lib lib/libluacompat.so.${LIBluacompat_VERSION} diff --git a/devel/luacompat/pkg/PLIST b/devel/luacompat/pkg/PLIST deleted file mode 100644 index bc68a7c9e8f..00000000000 --- a/devel/luacompat/pkg/PLIST +++ /dev/null @@ -1,9 +0,0 @@ -@comment $OpenBSD: PLIST,v 1.1.1.1 2005/04/19 14:48:09 pedro Exp $ -@unexec lua ${SYSCONFDIR}/lua/luapkg.lua del luacompat -%%SHARED%% -include/luacompat.h -lua/ -lua/luacompat/ -lua/luacompat/compat-5.1.lua -lua/luacompat/init.lua -@exec lua ${SYSCONFDIR}/lua/luapkg.lua add luacompat ${PREFIX}/lua/luacompat/init.lua