Add new port audio/lua51-mpd, a Lua client library for MPD,

the music player daemon.

Note that the submission has been modified to set the submitter as the
port maintainer, and to use UNIQUENAME in the DOCSDIR, to avoid clashes
with mpd.

PR:		ports/177334
Submitted by:	David Demelier <demelier.david@gmail.com>
This commit is contained in:
Matthias Andree 2013-03-26 21:33:33 +00:00
parent c1aa7d938b
commit 8c480b5a8e
Notes: svn2git 2021-03-31 03:12:20 +00:00
svn path=/head/; revision=315334
5 changed files with 55 additions and 0 deletions

View file

@ -453,6 +453,7 @@
SUBDIR += lmms
SUBDIR += lpac
SUBDIR += lplayer
SUBDIR += lua51-mpd
SUBDIR += lv2core
SUBDIR += lxmusic
SUBDIR += mac

41
audio/lua51-mpd/Makefile Normal file
View file

@ -0,0 +1,41 @@
# $FreeBSD$
PORTNAME= mpd
PORTVERSION= 0.1
CATEGORIES= audio
PKGNAMEPREFIX= ${LUA_PKGNAMEPREFIX}
MAINTAINER= demelier.david@gmail.com
COMMENT= A Lua library for musicpd
RUN_DEPENDS= ${LUA_MODLIBDIR}/socket/core.so:${PORTSDIR}/net/luasocket
OPTIONS_DEFINE= DOCS
DOCSDIR= ${PREFIX}/share/doc/${UNIQUENAME}
.include <bsd.port.options.mk>
GH_ACCOUNT= silentbicycle
GH_PROJECT= lua-mpd
GH_TAGNAME= v0.1
USE_GITHUB= yes
USE_LUA= 5.1
WRKSRC= ${WRKDIR}/${GH_ACCOUNT}-lua-${PORTNAME}-ca32f43
do-build:
@${DO_NADA}
do-install:
@${MKDIR} ${LUA_MODSHAREDIR}
@${INSTALL_DATA} ${WRKSRC}/mpd.lua ${LUA_MODSHAREDIR}
.if ${PORT_OPTIONS:MDOCS}
${MKDIR} ${DOCSDIR} ${DOCSDIR}/modules ${DOCSDIR}/files
${INSTALL_DATA} ${WRKSRC}/index.html ${DOCSDIR}
${INSTALL_DATA} ${WRKSRC}/luadoc.css ${DOCSDIR}
${INSTALL_DATA} ${WRKSRC}/files/mpd.html ${DOCSDIR}/files
${INSTALL_DATA} ${WRKSRC}/modules/mpd.html ${DOCSDIR}/modules
.endif
.include <bsd.port.mk>

2
audio/lua51-mpd/distinfo Normal file
View file

@ -0,0 +1,2 @@
SHA256 (mpd-0.1.tar.gz) = 51905ecf330537b55b18c8a6b24f973cc92cd365f8712a9a32e2a6d61a5ca964
SIZE (mpd-0.1.tar.gz) = 16395

View file

@ -0,0 +1,3 @@
This is a Lua client for mpd.
WWW: https://github.com/silentbicycle/lua-mpd

View file

@ -0,0 +1,8 @@
%%LUA_MODSHAREDIR%%/mpd.lua
%%PORTDOCS%%%%DOCSDIR%%/files/mpd.html
%%PORTDOCS%%%%DOCSDIR%%/index.html
%%PORTDOCS%%%%DOCSDIR%%/luadoc.css
%%PORTDOCS%%%%DOCSDIR%%/modules/mpd.html
%%PORTDOCS%%@dirrm %%DOCSDIR%%/modules
%%PORTDOCS%%@dirrm %%DOCSDIR%%/files
%%PORTDOCS%%@dirrm %%DOCSDIR%%