From d1b4d2d536d8c2d9c8cfce227202091dae8825e2 Mon Sep 17 00:00:00 2001 From: Martin Wilke Date: Sun, 9 Feb 2014 10:32:15 +0000 Subject: [PATCH] - Stage support --- audio/eawpats/Makefile | 27 ++++++++++++--------------- 1 file changed, 12 insertions(+), 15 deletions(-) diff --git a/audio/eawpats/Makefile b/audio/eawpats/Makefile index 550c0e527611..070c8ccff814 100644 --- a/audio/eawpats/Makefile +++ b/audio/eawpats/Makefile @@ -15,7 +15,6 @@ COMMENT= Eric A. Welsh's collection of Gravis Ultrasound MIDI patches RESTRICTED= Some of the patches are marked no-commercial-use NO_BUILD= yes -NO_STAGE= yes PATCH_SUBDIRS= ethnic mazpat/fx gsdrum08 gsdrum25 gsdrum40 gus power sfx wime DOC_SUBDIRS= ethnic gsdrum08 gsdrum25 gsdrum40 power wime @@ -29,23 +28,21 @@ post-patch: @${REINPLACE_CMD} -e 's|/home/user/eawpats|${DATADIR}|' ${WRKSRC}/linuxconfig/timidity.cfg do-install: - ${MKDIR} ${DATADIR} - ${INSTALL_DATA} ${WRKSRC}/*.cfg ${WRKSRC}/*.pat ${WRKSRC}/*.ini ${DATADIR} + ${MKDIR} ${STAGEDIR}${DATADIR} + ${INSTALL_DATA} ${WRKSRC}/*.cfg ${WRKSRC}/*.pat ${WRKSRC}/*.ini ${STAGEDIR}${DATADIR} .for subdir in ${PATCH_SUBDIRS} - ${MKDIR} ${DATADIR}/${subdir} - ${INSTALL_DATA} ${WRKSRC}/${subdir}/*.pat ${DATADIR}/${subdir} + ${MKDIR} ${STAGEDIR}${DATADIR}/${subdir} + ${INSTALL_DATA} ${WRKSRC}/${subdir}/*.pat ${STAGEDIR}${DATADIR}/${subdir} .endfor - ${MKDIR} ${TIMIDITY_DATADIR} - ${INSTALL_DATA} ${WRKSRC}/linuxconfig/timidity.cfg ${TIMIDITY_DATADIR}/timidity.cfg-eawpats - [ -f ${TIMIDITY_DATADIR}/timidity.cfg ] || \ - ${INSTALL_DATA} ${WRKSRC}/linuxconfig/timidity.cfg ${TIMIDITY_DATADIR}/timidity.cfg -.if ${PORT_OPTIONS:MDOCS} - ${MKDIR} ${DOCSDIR} - ${INSTALL_MAN} ${WRKSRC}/*.txt ${WRKSRC}/*.hlp ${DOCSDIR} + ${MKDIR} ${STAGEDIR}${TIMIDITY_DATADIR} + ${INSTALL_DATA} ${WRKSRC}/linuxconfig/timidity.cfg ${STAGEDIR}${TIMIDITY_DATADIR}/timidity.cfg-eawpats + [ -f ${STAGEDIR}${TIMIDITY_DATADIR}/timidity.cfg ] || \ + ${INSTALL_DATA} ${WRKSRC}/linuxconfig/timidity.cfg ${STAGEDIR}${TIMIDITY_DATADIR}/timidity.cfg + ${MKDIR} ${STAGEDIR}${DOCSDIR} + ${INSTALL_MAN} ${WRKSRC}/*.txt ${WRKSRC}/*.hlp ${STAGEDIR}${DOCSDIR} .for subdir in ${DOC_SUBDIRS} - ${MKDIR} ${DOCSDIR}/${subdir} - ${INSTALL_MAN} ${WRKSRC}/${subdir}/*.txt ${DOCSDIR}/${subdir} + ${MKDIR} ${STAGEDIR}${DOCSDIR}/${subdir} + ${INSTALL_MAN} ${WRKSRC}/${subdir}/*.txt ${STAGEDIR}${DOCSDIR}/${subdir} .endfor -.endif .include