Skip site navigation (1)Skip section navigation (2)
Date:      Wed, 14 May 2014 03:36:33 +0000 (UTC)
From:      Dmitry Marakasov <amdmi3@FreeBSD.org>
To:        ports-committers@freebsd.org, svn-ports-all@freebsd.org, svn-ports-head@freebsd.org
Subject:   svn commit: r354019 - head/audio/lua51-mpd
Message-ID:  <201405140336.s4E3aXYK075928@svn.freebsd.org>

next in thread | raw e-mail | index | archive | help
Author: amdmi3
Date: Wed May 14 03:36:33 2014
New Revision: 354019
URL: http://svnweb.freebsd.org/changeset/ports/354019
QAT: https://qat.redports.org/buildarchive/r354019/

Log:
  - Support staging
  
  Approved by:	portmgr blanket

Modified:
  head/audio/lua51-mpd/Makefile

Modified: head/audio/lua51-mpd/Makefile
==============================================================================
--- head/audio/lua51-mpd/Makefile	Wed May 14 03:17:03 2014	(r354018)
+++ head/audio/lua51-mpd/Makefile	Wed May 14 03:36:33 2014	(r354019)
@@ -13,14 +13,11 @@ RUN_DEPENDS=	${LUA_MODLIBDIR}/socket/cor
 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>



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?201405140336.s4E3aXYK075928>