svn commit: r339943 - head/audio/eawplus
Antoine Brodin
antoine at FreeBSD.org
Thu Jan 16 17:34:04 UTC 2014
Author: antoine
Date: Thu Jan 16 17:34:03 2014
New Revision: 339943
URL: http://svnweb.freebsd.org/changeset/ports/339943
QAT: https://qat.redports.org/buildarchive/r339943/
Log:
Stage support
Modified:
head/audio/eawplus/Makefile
Modified: head/audio/eawplus/Makefile
==============================================================================
--- head/audio/eawplus/Makefile Thu Jan 16 17:32:30 2014 (r339942)
+++ head/audio/eawplus/Makefile Thu Jan 16 17:34:03 2014 (r339943)
@@ -16,14 +16,13 @@ RUN_DEPENDS= ${LOCALBASE}/share/eawpats/
${LOCALBASE}/share/guspat/inst/GUS/acbass.pat:${PORTSDIR}/audio/guspat
NO_CDROM= Some of the patches are marked no-commercial-use
-NO_STAGE= yes
NO_WRKSUBDIR= yes
TIMIDITY_DATADIR= share/timidity
PLIST_SUB= TIMIDITY_DATADIR=${TIMIDITY_DATADIR}
-.include <bsd.port.options.mk>
+OPTIONS_DEFINE= DOCS
post-extract:
@${RM} -f ${WRKSRC}/timidity/inst/GUS/power/h-hihatp.pat.orig
@@ -35,14 +34,12 @@ do-build:
${FILESDIR}/timidity.cfg > ${WRKDIR}/timidity.cfg
do-install:
- @${MKDIR} ${DATADIR}
- @${CP} -pr ${WRKSRC}/timidity/* ${DATADIR}
- @${MKDIR} ${PREFIX}/${TIMIDITY_DATADIR}
- @${INSTALL_DATA} ${WRKDIR}/timidity.cfg \
- ${PREFIX}/${TIMIDITY_DATADIR}/timidity.cfg-eawplus
-.if ${PORT_OPTIONS:MDOCS}
- @${MKDIR} ${DOCSDIR}
- @${INSTALL_MAN} ${WRKSRC}/doc/*/*.txt.gz ${DOCSDIR}
-.endif
+ @${MKDIR} ${STAGEDIR}${DATADIR}
+ ${CP} -pr ${WRKSRC}/timidity/* ${STAGEDIR}${DATADIR}
+ @${MKDIR} ${STAGEDIR}${PREFIX}/${TIMIDITY_DATADIR}
+ ${INSTALL_DATA} ${WRKDIR}/timidity.cfg \
+ ${STAGEDIR}${PREFIX}/${TIMIDITY_DATADIR}/timidity.cfg-eawplus
+ @${MKDIR} ${STAGEDIR}${DOCSDIR}
+ ${INSTALL_DATA} ${WRKSRC}/doc/*/*.txt.gz ${STAGEDIR}${DOCSDIR}
.include <bsd.port.mk>
More information about the svn-ports-all
mailing list