diff options
author | jylefort <jylefort@FreeBSD.org> | 2006-05-02 02:25:07 +0800 |
---|---|---|
committer | jylefort <jylefort@FreeBSD.org> | 2006-05-02 02:25:07 +0800 |
commit | 0b7a4775b7cf5891b91bb8885292150380b06a05 (patch) | |
tree | 85b78a98713cb12ced6f57133582b6a180043165 /audio | |
parent | ba4458eeebeadc76b8d133b0e4f183bb1f0aef82 (diff) | |
download | freebsd-ports-gnome-0b7a4775b7cf5891b91bb8885292150380b06a05.tar.gz freebsd-ports-gnome-0b7a4775b7cf5891b91bb8885292150380b06a05.tar.zst freebsd-ports-gnome-0b7a4775b7cf5891b91bb8885292150380b06a05.zip |
Fix audio/mbrolavox dependency.
Re-reported by: kris
Diffstat (limited to 'audio')
-rw-r--r-- | audio/festvox-us1-mbrola/Makefile | 13 |
1 files changed, 10 insertions, 3 deletions
diff --git a/audio/festvox-us1-mbrola/Makefile b/audio/festvox-us1-mbrola/Makefile index a34241fefcd7..a4605d9006b4 100644 --- a/audio/festvox-us1-mbrola/Makefile +++ b/audio/festvox-us1-mbrola/Makefile @@ -17,8 +17,7 @@ MAINTAINER= jylefort@FreeBSD.org COMMENT?= The MBROLA ${VOICE} voice (${VOICEDESC}) for Festival RUN_DEPENDS= ${LOCALBASE}/share/festival/lib/dicts/cmu/cmulex.scm:${PORTSDIR}/audio/festlex-cmu \ - mbrola:${PORTSDIR}/audio/linux-mbrola \ - ${LOCALBASE}/share/mbrolavox/${VOICE}/${VOICE}:${PORTSDIR}/audio/mbrolavox + mbrola:${PORTSDIR}/audio/linux-mbrola NO_BUILD= yes NO_WRKSUBDIR= yes @@ -33,10 +32,18 @@ PLIST_SUB= VOICE="${VOICE}" VOICEDIR_REL="${VOICEDIR_REL}" 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: cd ${WRKSRC} && \ ${FIND} * -type d -exec ${MKDIR} "${PREFIX}/share/{}" \; && \ ${FIND} * -type f -exec ${INSTALL_DATA} "{}" "${PREFIX}/share/{}" \; ${LN} -sf ${LOCALBASE}/share/mbrolavox/${VOICE} ${VOICEDIR} -.include <bsd.port.mk> +.include <bsd.port.post.mk> |