2013-03-26 21:33:33 +00:00
|
|
|
# $FreeBSD$
|
|
|
|
|
|
|
|
PORTNAME= mpd
|
|
|
|
PORTVERSION= 0.1
|
2015-05-06 12:57:55 +00:00
|
|
|
DISTVERSIONPREFIX= v
|
2013-03-26 21:33:33 +00:00
|
|
|
CATEGORIES= audio
|
|
|
|
PKGNAMEPREFIX= ${LUA_PKGNAMEPREFIX}
|
|
|
|
|
|
|
|
MAINTAINER= demelier.david@gmail.com
|
2014-05-26 15:28:28 +00:00
|
|
|
COMMENT= Lua library for musicpd
|
2013-03-26 21:33:33 +00:00
|
|
|
|
2017-02-16 18:40:28 +00:00
|
|
|
RUN_DEPENDS= ${LUA_MODLIBDIR}/socket/core.so:net/luasocket-51
|
2013-03-26 21:33:33 +00:00
|
|
|
|
|
|
|
OPTIONS_DEFINE= DOCS
|
2015-08-17 14:20:40 +00:00
|
|
|
DOCSDIR= ${PREFIX}/share/doc/${PKGBASE}
|
2013-03-26 21:33:33 +00:00
|
|
|
|
|
|
|
GH_ACCOUNT= silentbicycle
|
|
|
|
GH_PROJECT= lua-mpd
|
|
|
|
|
2014-05-26 15:28:28 +00:00
|
|
|
USES= lua:51
|
2013-03-26 21:33:33 +00:00
|
|
|
USE_GITHUB= yes
|
2014-05-26 15:28:28 +00:00
|
|
|
NO_BUILD= yes
|
2013-03-26 21:33:33 +00:00
|
|
|
|
|
|
|
do-install:
|
2014-05-14 03:36:33 +00:00
|
|
|
@${MKDIR} ${STAGEDIR}${LUA_MODSHAREDIR}
|
|
|
|
${INSTALL_DATA} ${WRKSRC}/mpd.lua ${STAGEDIR}${LUA_MODSHAREDIR}
|
|
|
|
@${MKDIR} ${STAGEDIR}${DOCSDIR} ${STAGEDIR}${DOCSDIR}/modules ${STAGEDIR}${DOCSDIR}/files
|
|
|
|
${INSTALL_DATA} ${WRKSRC}/index.html ${STAGEDIR}${DOCSDIR}
|
|
|
|
${INSTALL_DATA} ${WRKSRC}/luadoc.css ${STAGEDIR}${DOCSDIR}
|
|
|
|
${INSTALL_DATA} ${WRKSRC}/files/mpd.html ${STAGEDIR}${DOCSDIR}/files
|
|
|
|
${INSTALL_DATA} ${WRKSRC}/modules/mpd.html ${STAGEDIR}${DOCSDIR}/modules
|
2013-03-26 21:33:33 +00:00
|
|
|
|
|
|
|
.include <bsd.port.mk>
|