mirror of
https://git.freebsd.org/ports.git
synced 2025-07-18 09:49:18 -04:00
Fix audio/mbrolavox dependency.
Re-reported by: kris
This commit is contained in:
parent
21d3a2dca0
commit
5adeada45a
Notes:
svn2git
2021-03-31 03:12:20 +00:00
svn path=/head/; revision=161121
1 changed files with 10 additions and 3 deletions
|
@ -17,8 +17,7 @@ MAINTAINER= jylefort@FreeBSD.org
|
||||||
COMMENT?= The MBROLA ${VOICE} voice (${VOICEDESC}) for Festival
|
COMMENT?= The MBROLA ${VOICE} voice (${VOICEDESC}) for Festival
|
||||||
|
|
||||||
RUN_DEPENDS= ${LOCALBASE}/share/festival/lib/dicts/cmu/cmulex.scm:${PORTSDIR}/audio/festlex-cmu \
|
RUN_DEPENDS= ${LOCALBASE}/share/festival/lib/dicts/cmu/cmulex.scm:${PORTSDIR}/audio/festlex-cmu \
|
||||||
mbrola:${PORTSDIR}/audio/linux-mbrola \
|
mbrola:${PORTSDIR}/audio/linux-mbrola
|
||||||
${LOCALBASE}/share/mbrolavox/${VOICE}/${VOICE}:${PORTSDIR}/audio/mbrolavox
|
|
||||||
|
|
||||||
NO_BUILD= yes
|
NO_BUILD= yes
|
||||||
NO_WRKSUBDIR= yes
|
NO_WRKSUBDIR= yes
|
||||||
|
@ -33,10 +32,18 @@ PLIST_SUB= VOICE="${VOICE}" VOICEDIR_REL="${VOICEDIR_REL}"
|
||||||
|
|
||||||
MD5_FILE= ${.CURDIR}/distinfo
|
MD5_FILE= ${.CURDIR}/distinfo
|
||||||
|
|
||||||
|
.include <bsd.port.pre.mk>
|
||||||
|
|
||||||
|
.if exists(${LOCALBASE}/share/mbrolavox/${VOICE}/${VOICE})
|
||||||
|
RUN_DEPENDS+= ${LOCALBASE}/share/mbrolavox/${VOICE}/${VOICE}:${PORTSDIR}/audio/mbrolavox
|
||||||
|
.else
|
||||||
|
IGNORE= requires the ${VOICE} MBROLA voice. Install the audio/mbrolavox port and enable the ${VOICE} voice in the options dialog, then install this port
|
||||||
|
.endif
|
||||||
|
|
||||||
do-install:
|
do-install:
|
||||||
cd ${WRKSRC} && \
|
cd ${WRKSRC} && \
|
||||||
${FIND} * -type d -exec ${MKDIR} "${PREFIX}/share/{}" \; && \
|
${FIND} * -type d -exec ${MKDIR} "${PREFIX}/share/{}" \; && \
|
||||||
${FIND} * -type f -exec ${INSTALL_DATA} "{}" "${PREFIX}/share/{}" \;
|
${FIND} * -type f -exec ${INSTALL_DATA} "{}" "${PREFIX}/share/{}" \;
|
||||||
${LN} -sf ${LOCALBASE}/share/mbrolavox/${VOICE} ${VOICEDIR}
|
${LN} -sf ${LOCALBASE}/share/mbrolavox/${VOICE} ${VOICEDIR}
|
||||||
|
|
||||||
.include <bsd.port.mk>
|
.include <bsd.port.post.mk>
|
||||||
|
|
Loading…
Add table
Reference in a new issue