freebsd-ports/audio/festvox-cmu_us_slt_arctic/Makefile
Tobias Kortkamp e79fe1aabc Fix WWW in parent/child ports
Many of the WWW are overwritten later which means the wrong value
is used. This did not happen before where the children were either
 a) just using the pkg-descr from the parents
 b) or had their own separate pkg-descr with custom WWW

Use WWW?= in parents when the child's WWW is different.

Children that use the same WWW as the parent can just inherit it,
i.e., the child WWW can be removed.

Approved by:	portmgr (implicit)
2022-09-10 19:41:16 +02:00

45 lines
1.2 KiB
Makefile

PORTNAME= festvox-${VOICE}
PORTVERSION= 0.95
CATEGORIES= audio
MASTER_SITES= http://www.speech.cs.cmu.edu/cmu_arctic/packed/
DISTNAME= ${VOICE}-${PORTVERSION}-release
DIST_SUBDIR= festival
MAINTAINER= ports@FreeBSD.org
COMMENT?= CMU US English female voice for festival
WWW?= http://festvox.org/cmu_arctic/dbs_slt.html
LICENSE= MIT-variant
LICENSE_NAME= MIT License (CMU variant)
LICENSE_FILE= ${WRKSRC}/COPYING
LICENSE_PERMS= dist-mirror pkg-mirror auto-accept dist-sell pkg-sell
RUN_DEPENDS= festival:audio/festival \
${LOCALBASE}/share/festival/lib/dicts/cmu/cmulex.scm:audio/festlex-cmu \
${LOCALBASE}/share/festival/lib/dicts/wsj.wp39.poslexR:audio/festlex-poslex
USES= tar:bzip2
WRKSRC= ${WRKDIR}/${VOICE}
NO_BUILD= yes
NO_ARCH= yes
SUB_FILES= pkg-message
SUB_LIST+= VOICE=${VOICE}
DATADIR= ${PREFIX}/share/festival/lib/voices/us/${VOICE}_clunits
PORTDATA?= *
VOICE?= cmu_us_slt_arctic
DESCR= ${.CURDIR}/pkg-descr
DISTINFO_FILE= ${.CURDIR}/distinfo
PKGMESSAGE= ${.CURDIR}/pkg-message
do-install:
cd ${WRKSRC} && ${COPYTREE_SHARE} . ${STAGEDIR}${DATADIR}
${RM} ${STAGEDIR}${DATADIR}/.time-stamp
${FIND} ${STAGEDIR}${DATADIR} -type d -empty -delete
.include <bsd.port.mk>