Skip site navigation (1)Skip section navigation (2)
Date:      Mon, 17 Apr 2006 21:52:23 +1200 (NZST)
From:      Andrew Turner <andrew+ports@fubar.geek.nz>
To:        FreeBSD-gnats-submit@FreeBSD.org
Cc:        andrew@fubar.geek.nz
Subject:   ports/95914: New Port: devel/lua50-pty Lua pty module
Message-ID:  <20060417095223.E734D6124@serv.int.fubar.geek.nz>
Resent-Message-ID: <200604171000.k3HA0PKc035479@freefall.freebsd.org>

next in thread | raw e-mail | index | archive | help

>Number:         95914
>Category:       ports
>Synopsis:       New Port: devel/lua50-pty Lua pty module
>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:   Mon Apr 17 10:00:24 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 devel/lua50-pty. It adds pty support to Lua
>How-To-Repeat:
	
>Fix:

	

--- port-devel-lua50pty.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-pty
X# Date created:        17 April 2006
X# Whom:                Andrew Turner <andrew+ports@fubar.geek.nz>
X#
X# $FreeBSD$
X#
X
XPORTNAME=	lua50-pty
XPORTVERSION=	1.25
XCATEGORIES=	devel
XMASTER_SITES=	http://cvs.bsdinstaller.org/cgi-bin/cvsweb.cgi/installer/src/lib/lua/pty/
XDISTFILES=	pty.lua?rev=1.2 pty.c?rev=1.25
X
XMAINTAINER=	andrew+ports@fubar.geek.nz
XCOMMENT=	Pty (pseudo-terminal) bindings for Lua 5.0.x
X
XBUILD_DEPENDS=	${LOCALBASE}/include/lua.h:${PORTSDIR}/lang/lua \
X		${NONEXISTENT}:${PORTSDIR}/devel/lua50-compat51:extract
XRUN_DEPENDS=	${LOCALBASE}/include/lua.h:${PORTSDIR}/lang/lua \
X		${LOCALBASE}/share/lua/5.0/compat-5.1.lua:${PORTSDIR}/devel/lua50-compat51
X
XLIBDIR=		${PREFIX}/lib/lua/5.0
XCOMPAT_SRC=	`(cd ${PORTSDIR}/devel/lua50-compat51 && make -V WRKSRC)`
X
Xdo-extract:
X	@${MKDIR} ${WRKSRC}
X.for file in ${DISTFILES}
X	@${CP} ${DISTDIR}/${file} ${WRKSRC}/${file:C/\?.*$//}
X.endfor
X	@${CP} ${FILESDIR}/Makefile ${WRKSRC}
X
Xpost-patch:
X	@${REINPLACE_CMD} -e "s|%%COMPATDIR%%|${COMPAT_SRC}|" ${WRKSRC}/Makefile
X
Xpre-install:
X	${MKDIR} ${LIBDIR}
X	${MKDIR} ${PREFIX}/share/lua/5.0
X	${INSTALL_DATA} ${WRKSRC}/pty.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 (pty.lua?rev=1.2) = a28e98428f2feabda7465006939eacea
XSHA256 (pty.lua?rev=1.2) = 18f1a623b727a3172b6e16142c057659a76614741a65533a9747034886edcb9a
XSIZE (pty.lua?rev=1.2) = 1077
XMD5 (pty.c?rev=1.25) = ec00d34a5f613b9c55a66345dd6c390d
XSHA256 (pty.c?rev=1.25) = f8ce982883ba917abeab623ca63e07aafb05d2820fe35e5d8563caf579240af1
XSIZE (pty.c?rev=1.25) = 9264
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'
XSHLIB=		pty
XSHLIB_NAME=	lpty.so
X
XSRCS=		pty.c %%COMPATDIR%%/compat-5.1.c
X
XCFLAGS+=	-I${PREFIX}/include
XLDFLAGS+=	-lutil
X
X.include <bsd.lib.mk>
END-of-files/Makefile
echo x - pkg-descr
sed 's/^X//' >pkg-descr << 'END-of-pkg-descr'
XLua 5.0.x bindings Pty's (pseudo-terminals.)
END-of-pkg-descr
echo x - pkg-plist
sed 's/^X//' >pkg-plist << 'END-of-pkg-plist'
Xlib/lua/5.0/lpty.so
Xshare/lua/5.0/pty.lua
X@dirrmtry lib/lua/5.0
X@dirrmtry lib/lua
X@dirrmtry share/lua/5.0
X@dirrmtry share/lua
END-of-pkg-plist
exit
--- port-devel-lua50pty.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?20060417095223.E734D6124>