ports/95913: New Port: Filename-manipulating functions for Lua
Andrew Turner
andrew+ports at fubar.geek.nz
Mon Apr 17 09:50:13 UTC 2006
>Number: 95913
>Category: ports
>Synopsis: New Port: Filename-manipulating functions for Lua
>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 09:50:11 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 at serv.int.fubar.geek.nz:/usr/obj/srctrees/RELENG_5/sys/GENERIC i386
>Description:
Attached is a new port to manipulate file and directory names in Lua.
It also containg useful functions, written entirly in Lua, incluing dirname, basename, is_dir, ...
>How-To-Repeat:
>Fix:
--- port-devel-lua50filename.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
# pkg-descr
# pkg-plist
#
echo x - Makefile
sed 's/^X//' >Makefile << 'END-of-Makefile'
X# New ports collection makefile for: lua50-filename
X# Date created: 17 April 2006
X# Whom: Andrew Turner <andrew+ports at fubar.geek.nz>
X#
X# $FreeBSD$
X#
X
XPORTNAME= lua50-filename
XPORTVERSION= 1.2
XCATEGORIES= devel
XMASTER_SITES= http://cvs.bsdinstaller.org/cgi-bin/cvsweb.cgi/installer/src/lib/lua/filename/
XDISTFILES= filename.lua?rev=${PORTVERSION}
XEXTRACT_ONLY=
X
XMAINTAINER= andrew+ports at fubar.geek.nz
XCOMMENT= Filename-manipulating functions for Lua 5.0.x
X
XRUN_DEPENDS= ${LOCALBASE}/include/lua.h:${PORTSDIR}/lang/lua
X
XNO_WRKSUBDIR= yes
XNO_BUILD= yes
X
Xdo-install:
X ${MKDIR} ${PREFIX}/share/lua/5.0
X ${INSTALL_DATA} ${DISTDIR}/${DISTFILES} ${PREFIX}/share/lua/5.0/${DISTFILES:C/\?.*$//}
X
X.include <bsd.port.mk>
END-of-Makefile
echo x - distinfo
sed 's/^X//' >distinfo << 'END-of-distinfo'
XMD5 (filename.lua?rev=1.2) = 85157fb0a36a9f2a8b3b6a9f329a1fbe
XSHA256 (filename.lua?rev=1.2) = ff8d2648bf0aa17b8da197afec9f55c01a470e7b4448d19b1233efe879715f1a
XSIZE (filename.lua?rev=1.2) = 2888
END-of-distinfo
echo x - pkg-descr
sed 's/^X//' >pkg-descr << 'END-of-pkg-descr'
XPackage of routines for manipulating filenames.
XAlso contains convenience functions for querying the
Xstatus of files in the filesystem named by those filenames.
END-of-pkg-descr
echo x - pkg-plist
sed 's/^X//' >pkg-plist << 'END-of-pkg-plist'
Xshare/lua/5.0/filename.lua
X at dirrmtry share/lua/5.0
X at dirrmtry share/lua
END-of-pkg-plist
exit
--- port-devel-lua50filename.shar ends here ---
>Release-Note:
>Audit-Trail:
>Unformatted:
More information about the freebsd-ports-bugs
mailing list