1
0
mirror of https://git.FreeBSD.org/ports.git synced 2025-02-01 10:59:55 +00:00

Support stage

This commit is contained in:
Baptiste Daroussin 2014-05-09 13:24:47 +00:00
parent 29bc94e851
commit c6c26f9a59
Notes: svn2git 2021-03-31 03:12:20 +00:00
svn path=/head/; revision=353460

View File

@ -9,12 +9,13 @@ MASTER_SITES= http://www.freebsoft.org/pub/projects/${PORTNAME}/
MAINTAINER= avilla@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>