Skip site navigation (1)Skip section navigation (2)
Date:      Sun, 24 Mar 2013 11:19:58 GMT
From:      David Demelier <demelier.david@gmail.com>
To:        freebsd-gnats-submit@FreeBSD.org
Subject:   ports/177334: New port: audio/lua51-mpd a lua mpd client
Message-ID:  <201303241119.r2OBJwbY076281@red.freebsd.org>
Resent-Message-ID: <201303241130.r2OBU0VF022964@freefall.freebsd.org>

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

>Number:         177334
>Category:       ports
>Synopsis:       New port: audio/lua51-mpd a lua mpd client
>Confidential:   no
>Severity:       non-critical
>Priority:       low
>Responsible:    freebsd-ports-bugs
>State:          open
>Quarter:        
>Keywords:       
>Date-Required:
>Class:          change-request
>Submitter-Id:   current-users
>Arrival-Date:   Sun Mar 24 11:30:00 UTC 2013
>Closed-Date:
>Last-Modified:
>Originator:     David Demelier
>Release:        9.1-RELEASE-p1
>Organization:
>Environment:
FreeBSD Melon 9.1-RELEASE-p1 FreeBSD 9.1-RELEASE-p1 #1 r248090M: Tue Mar 19 20:45:29 CET 2013     root@Melon:/usr/obj/usr/src/sys/Melon  amd64

>Description:
This is a Lua client library.

https://github.com/silentbicycle/lua-mpd

Note: I've already named the port lua51-mpd as the latest Lua version in the ports tree is lua-5.2. So I guess all current lua-* ports should be renamed to lua51-* and copy lua-5.2 compatible one to lua-*.
>How-To-Repeat:

>Fix:
--- lua51-mpd.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:
#
#	lua51-mpd
#	lua51-mpd/Makefile
#	lua51-mpd/pkg-plist
#	lua51-mpd/distinfo
#	lua51-mpd/pkg-descr
#
echo c - lua51-mpd
mkdir -p lua51-mpd > /dev/null 2>&1
echo x - lua51-mpd/Makefile
sed 's/^X//' >lua51-mpd/Makefile << 'aef655fc059bf056fe4d94fe80d91828'
X# $FreeBSD$
X
XPORTNAME=	mpd
XPORTVERSION=	0.1
XCATEGORIES=	audio
XPKGNAMEPREFIX=	${LUA_PKGNAMEPREFIX}
X
XMAINTAINER=	markand@malikania.fr
XCOMMENT=	A Lua library for musicpd
X
XRUN_DEPENDS=	${LUA_MODLIBDIR}/socket/core.so:${PORTSDIR}/net/luasocket
X
XOPTIONS_DEFINE=	DOCS
XOPTIONSFILE=	${PORT_DBDIR}/lua51-${PORTNAME}/options
X
X.include <bsd.port.options.mk>
X
XGH_ACCOUNT=	silentbicycle
XGH_PROJECT=	lua-mpd
XGH_TAGNAME=	v0.1
X
XUSE_GITHUB=	yes
XUSE_LUA=	5.1
X
XWRKSRC=		${WRKDIR}/${GH_ACCOUNT}-lua-${PORTNAME}-ca32f43
X
Xdo-build:
X	@${DO_NADA}
X
Xdo-install:
X	@${INSTALL_DATA} ${WRKSRC}/mpd.lua ${LUA_MODSHAREDIR}
X.if ${PORT_OPTIONS:MDOCS}
X	${MKDIR} ${DOCSDIR} ${DOCSDIR}/modules ${DOCSDIR}/files
X	${INSTALL_DATA} ${WRKSRC}/index.html ${DOCSDIR}
X	${INSTALL_DATA} ${WRKSRC}/luadoc.css ${DOCSDIR}
X	${INSTALL_DATA} ${WRKSRC}/files/mpd.html ${DOCSDIR}/files
X	${INSTALL_DATA} ${WRKSRC}/modules/mpd.html ${DOCSDIR}/modules
X.endif
X
X.include <bsd.port.mk>
aef655fc059bf056fe4d94fe80d91828
echo x - lua51-mpd/pkg-plist
sed 's/^X//' >lua51-mpd/pkg-plist << 'a59508a56b4df9f13a8dd84a83a9e9f6'
X%%LUA_MODSHAREDIR%%/mpd.lua
X%%PORTDOCS%%%%DOCSDIR%%/files/mpd.html
X%%PORTDOCS%%%%DOCSDIR%%/index.html
X%%PORTDOCS%%%%DOCSDIR%%/luadoc.css
X%%PORTDOCS%%%%DOCSDIR%%/modules/mpd.html
X%%PORTDOCS%%@dirrmtry %%DOCSDIR%%/modules
X%%PORTDOCS%%@dirrmtry %%DOCSDIR%%/files
X%%PORTDOCS%%@dirrmtry %%DOCSDIR%%
a59508a56b4df9f13a8dd84a83a9e9f6
echo x - lua51-mpd/distinfo
sed 's/^X//' >lua51-mpd/distinfo << '8566e52fd00bd2019a09009278419d0e'
XSHA256 (mpd-0.1.tar.gz) = 51905ecf330537b55b18c8a6b24f973cc92cd365f8712a9a32e2a6d61a5ca964
XSIZE (mpd-0.1.tar.gz) = 16395
8566e52fd00bd2019a09009278419d0e
echo x - lua51-mpd/pkg-descr
sed 's/^X//' >lua51-mpd/pkg-descr << '06e049b11548e3bdaa1d6653b0fec664'
XThis is a Lua client for mpd.
X
XWWW: https://github.com/silentbicycle/lua-mpd
06e049b11548e3bdaa1d6653b0fec664
exit

--- lua51-mpd.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?201303241119.r2OBJwbY076281>