svn commit: r353460 - head/audio/festival-freebsoft-utils
Baptiste Daroussin
bapt at FreeBSD.org
Fri May 9 13:24:47 UTC 2014
Author: bapt
Date: Fri May 9 13:24:47 2014
New Revision: 353460
URL: http://svnweb.freebsd.org/changeset/ports/353460
QAT: https://qat.redports.org/buildarchive/r353460/
Log:
Support stage
Modified:
head/audio/festival-freebsoft-utils/Makefile
Modified: head/audio/festival-freebsoft-utils/Makefile
==============================================================================
--- head/audio/festival-freebsoft-utils/Makefile Fri May 9 13:20:50 2014 (r353459)
+++ head/audio/festival-freebsoft-utils/Makefile Fri May 9 13:24:47 2014 (r353460)
@@ -9,12 +9,13 @@ MASTER_SITES= http://www.freebsoft.org/p
MAINTAINER= avilla at FreeBSD.org
COMMENT= Festival utilities focused on interaction with Speech Dispatcher
+OPTIONS_DEFINE= DOCS
+
RUN_DEPENDS= festival:${PORTSDIR}/audio/festival \
sox:${PORTSDIR}/audio/sox
NO_BUILD= yes
USES= iconv
-NO_STAGE= yes
PORTDOCS= ANNOUNCE NEWS README
@@ -22,19 +23,13 @@ INFO= ${PORTNAME}
OPTIONS_DEFINE= DOCS
-.include <bsd.port.options.mk>
-
do-install:
- ${MKDIR} ${LOCALBASE}/share/festival/lib
- cd ${WRKSRC} && ${INSTALL_DATA} *.scm ${LOCALBASE}/share/festival/lib
- cd ${WRKSRC}/doc && ${INSTALL_MAN} ${PORTNAME}.info ${PREFIX}/${INFO_PATH}
-
-post-install:
-.if ${PORT_OPTIONS:MDOCS}
- ${MKDIR} ${DOCSDIR}
+ ${MKDIR} ${STAGEDIR}${PREFIX}/share/festival/lib
+ cd ${WRKSRC} && ${INSTALL_DATA} *.scm ${STAGEDIR}${PREFIX}/share/festival/lib
+ cd ${WRKSRC}/doc && ${INSTALL_MAN} ${PORTNAME}.info ${STAGEDIR}${PREFIX}/${INFO_PATH}
+ ${MKDIR} ${STAGEDIR}${DOCSDIR}
.for f in ${PORTDOCS}
- ${INSTALL_MAN} ${WRKSRC}/${f} ${DOCSDIR}
+ ${INSTALL_MAN} ${WRKSRC}/${f} ${STAGEDIR}${DOCSDIR}
.endfor
-.endif
.include <bsd.port.mk>
More information about the svn-ports-head
mailing list