aboutsummaryrefslogtreecommitdiffstats
path: root/audio
diff options
context:
space:
mode:
authoramdmi3 <amdmi3@FreeBSD.org>2014-05-14 11:36:33 +0800
committeramdmi3 <amdmi3@FreeBSD.org>2014-05-14 11:36:33 +0800
commit6e8bd2a7fe501bb8d15d86e8d86202c0ff4710b9 (patch)
tree97396bcd4fdb53cdefb80665da48f19cc1461f0b /audio
parent5ccbe0840eceb22d3fecacf5a001a24b107a5c0f (diff)
downloadfreebsd-ports-gnome-6e8bd2a7fe501bb8d15d86e8d86202c0ff4710b9.tar.gz
freebsd-ports-gnome-6e8bd2a7fe501bb8d15d86e8d86202c0ff4710b9.tar.zst
freebsd-ports-gnome-6e8bd2a7fe501bb8d15d86e8d86202c0ff4710b9.zip
- Support staging
Approved by: portmgr blanket
Diffstat (limited to 'audio')
-rw-r--r--audio/lua51-mpd/Makefile19
1 files changed, 7 insertions, 12 deletions
diff --git a/audio/lua51-mpd/Makefile b/audio/lua51-mpd/Makefile
index e4e6c8274ad4..6f2e6ffb50d9 100644
--- a/audio/lua51-mpd/Makefile
+++ b/audio/lua51-mpd/Makefile
@@ -13,14 +13,11 @@ 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
-NO_STAGE= yes
USE_LUA= 5.1
WRKSRC= ${WRKDIR}/${GH_ACCOUNT}-lua-${PORTNAME}-ca32f43
@@ -29,14 +26,12 @@ 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
+ @${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
.include <bsd.port.mk>