The Package Compatibility (Compat-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.

WWW: http://luaforge.net/projects/compat/

PR:		ports/95720
Submitted by:	Andrew Turner <andrew@fubar.geek.nz>
This commit is contained in:
Pav Lucistnik 2006-04-15 16:54:49 +00:00
parent 14ffb79ed3
commit 2ec89cef71
Notes: svn2git 2021-03-31 03:12:20 +00:00
svn path=/head/; revision=159628
6 changed files with 55 additions and 0 deletions

View File

@ -570,6 +570,7 @@
SUBDIR += log4sh
SUBDIR += looks
SUBDIR += lrmi
SUBDIR += lua50-compat51
SUBDIR += lwp
SUBDIR += m17n-db
SUBDIR += m17n-docs

View File

@ -0,0 +1,33 @@
# New ports collection makefile for: lua50-compat51
# Date created: 14 April 2006
# Whom: Andrew Turner <andrew+ports@fubar.geek.nz>
#
# $FreeBSD$
#
PORTNAME= lua50-compat51
PORTVERSION= ${CVER}.${CREV}
CATEGORIES= devel
MASTER_SITES= http://luaforge.net/frs/download.php/1410/
DISTNAME= compat-${CVER}${CREV}.tar.gz
MAINTAINER= andrew+ports@fubar.geek.nz
COMMENT= Lua 5.1 package compatibility layer for Lua 5.0.x
BUILD_DEPENDS= ${LOCALBASE}/include/lua.h:${PORTSDIR}/lang/lua
# Update these values when there is a new release
CVER= 5.1
CREV= r5
WRKSRC= ${WRKDIR}/compat-${CVER}${CREV}
LIBDIR= ${PREFIX}/lib
post-extract:
@${CP} ${FILESDIR}/Makefile ${WRKSRC}
post-install:
${MKDIR} ${PREFIX}/share/lua/5.0
${INSTALL_DATA} ${WRKSRC}/compat-5.1.lua ${PREFIX}/share/lua/5.0
.include <bsd.port.mk>

View File

@ -0,0 +1,3 @@
MD5 (compat-5.1r5.tar.gz.tar.gz) = 30d50d173ab236e96c4b969347163eb7
SHA256 (compat-5.1r5.tar.gz.tar.gz) = 93262ad793552c338b825e6b67c903063aa07625952ef643d126ae60949c8ab6
SIZE (compat-5.1r5.tar.gz.tar.gz) = 2977

View File

@ -0,0 +1,9 @@
# $FreeBSD$
LIB= lua-compat-5.1
SRCS= compat-5.1.c
CFLAGS+= -I${PREFIX}/include
.include <bsd.lib.mk>

View File

@ -0,0 +1,4 @@
The Package Compatibility (Compat-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.
WWW: http://luaforge.net/projects/compat/

View File

@ -0,0 +1,5 @@
lib/liblua-compat-5.1.a
lib/liblua-compat-5.1_p.a
share/lua/5.0/compat-5.1.lua
@dirrmtry share/lua/5.0
@dirrmtry share/lua