Date: Fri, 14 Apr 2006 15:14:27 +1200 (NZST) From: Andrew Turner <andrew@fubar.geek.nz> To: FreeBSD-gnats-submit@FreeBSD.org Cc: andrew@fubar.geek.nz Subject: ports/95720: New Port: devel/lua50-compat51 Lua 5.0 compat-5.1 Message-ID: <20060414031428.03E8A613C@serv.int.fubar.geek.nz> Resent-Message-ID: <200604140320.k3E3KDqV006181@freefall.freebsd.org>
next in thread | raw e-mail | index | archive | help
>Number: 95720 >Category: ports >Synopsis: New Port: devel/lua50-compat51 Lua 5.0 compat-5.1 >Confidential: no >Severity: non-critical >Priority: medium >Responsible: freebsd-ports-bugs >State: open >Quarter: >Keywords: >Date-Required: >Class: change-request >Submitter-Id: current-users >Arrival-Date: Fri Apr 14 03:20:12 GMT 2006 >Closed-Date: >Last-Modified: >Originator: Andrew Turner >Release: FreeBSD 5.4-STABLE i386 >Organization: None >Environment: System: FreeBSD serv.int.fubar.geek.nz 5.4-STABLE FreeBSD 5.4-STABLE #9: Sun Jan 29 12:45:34 NZDT 2006 root@serv.int.fubar.geek.nz:/usr/obj/srctrees/RELENG_5/sys/GENERIC i386 >Description: Attached is a new port to install the compat-5.1 module for Lua 5.0. It allows lua modules to use the new 5.1 module interface with Lua 5.0 >How-To-Repeat: >Fix: --- port-luacompat51.shar begins here --- # This is a shell archive. Save it in a file, remove anything before # this line, and then unpack it by entering "sh file". Note, it may # create directories; files and directories will be owned by you and # have default permissions. # # This archive contains: # # Makefile # distinfo # files # files/Makefile # pkg-descr # pkg-plist # echo x - Makefile sed 's/^X//' >Makefile << 'END-of-Makefile' X# New ports collection makefile for: lua50-compat51 X# Date created: 14 April 2006 X# Whom: Andrew Turner <andrew+ports@fubar.geek.nz> X# X# $FreeBSD$ X# X XPORTNAME= lua50-compat51 XPORTVERSION= ${CVER}.${CREV} XCATEGORIES= devel XMASTER_SITES= http://luaforge.net/frs/download.php/1410/ XDISTNAME= compat-${CVER}${CREV}.tar.gz X XMAINTAINER= andrew+ports@fubar.geek.nz XCOMMENT= Lua 5.1 package compatibility layer for Lua 5.0.x X XBUILD_DEPENDS= ${LOCALBASE}/include/lua.h:${PORTSDIR}/lang/lua X X# Update these values when there is a new release XCVER= 5.1 XCREV= r5 X XWRKSRC= ${WRKDIR}/compat-${CVER}${CREV} XLIBDIR= ${PREFIX}/lib X Xpost-extract: X @${CP} ${FILESDIR}/Makefile ${WRKSRC} X Xpost-install: X ${MKDIR} ${PREFIX}/share/lua/5.0 X ${INSTALL_DATA} ${WRKSRC}/compat-5.1.lua ${PREFIX}/share/lua/5.0 X X.include <bsd.port.mk> END-of-Makefile echo x - distinfo sed 's/^X//' >distinfo << 'END-of-distinfo' XMD5 (compat-5.1r5.tar.gz.tar.gz) = 30d50d173ab236e96c4b969347163eb7 XSHA256 (compat-5.1r5.tar.gz.tar.gz) = 93262ad793552c338b825e6b67c903063aa07625952ef643d126ae60949c8ab6 XSIZE (compat-5.1r5.tar.gz.tar.gz) = 2977 END-of-distinfo echo c - files mkdir -p files > /dev/null 2>&1 echo x - files/Makefile sed 's/^X//' >files/Makefile << 'END-of-files/Makefile' XLIB= lua-compat-5.1 X XSRCS= compat-5.1.c X XCFLAGS+= -I${PREFIX}/include X X.include <bsd.lib.mk> END-of-files/Makefile echo x - pkg-descr sed 's/^X//' >pkg-descr << 'END-of-pkg-descr' XThe 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. X XWWW: http://luaforge.net/projects/compat/ END-of-pkg-descr echo x - pkg-plist sed 's/^X//' >pkg-plist << 'END-of-pkg-plist' Xlib/liblua-compat-5.1.a Xlib/liblua-compat-5.1_p.a Xshare/lua/5.0/compat-5.1.lua X@dirrmtry share/lua/5.0 X@dirrmtry share/lua END-of-pkg-plist exit --- port-luacompat51.shar ends here --- >Release-Note: >Audit-Trail: >Unformatted:
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?20060414031428.03E8A613C>