diff options
author | Gabor Kovesdan <gabor@FreeBSD.org> | 2007-07-20 20:06:20 +0000 |
---|---|---|
committer | Gabor Kovesdan <gabor@FreeBSD.org> | 2007-07-20 20:06:20 +0000 |
commit | 4623a266c82d775baa313a981deea17f8ecd99fd (patch) | |
tree | b36a410c52fae0ce13a87f2a60dbd393f79dc771 /audio/festival/Makefile | |
parent | 9f47a8681766a961156b755da1b546f246f1b4a6 (diff) | |
download | ports-4623a266c82d775baa313a981deea17f8ecd99fd.tar.gz ports-4623a266c82d775baa313a981deea17f8ecd99fd.zip |
- Remove USE_AUTOCONF, which is a noop
- Use DATADIR
PR: ports/114324
Submitted by: gabor
Approved by: maintainer timeout
Notes
Notes:
svn path=/head/; revision=195954
Diffstat (limited to 'audio/festival/Makefile')
-rw-r--r-- | audio/festival/Makefile | 18 |
1 files changed, 8 insertions, 10 deletions
diff --git a/audio/festival/Makefile b/audio/festival/Makefile index a19ff124889c..1fd99200364e 100644 --- a/audio/festival/Makefile +++ b/audio/festival/Makefile @@ -25,11 +25,9 @@ OPTIONS= NAS "Enable Network Audio System (NAS) backend" on \ DIST_SUBDIR= festival CONFIGURE_WRKSRC= ${WRKDIR}/festival -USE_AUTOCONF= yes USE_GMAKE= yes SPEECHTOOLS= ${WRKSRC}/speech_tools FESTIVAL= ${WRKSRC}/festival -FHOME= ${PREFIX}/share/festival MAKE_ENV+= GCC="${CC}" \ GXX="${CXX}" \ EST_HOME=${SPEECHTOOLS} \ @@ -90,25 +88,25 @@ do-configure: ${LN} -s gcc_defaults.mak ${WRKDIR}/speech_tools/config/compilers/${CC}.mak do-install: - ${MKDIR} ${FHOME}/lib/voices/english/ - ${MKDIR} ${FHOME}/lib/voices/spanish/ - ${MKDIR} ${FHOME}/lib/dicts + ${MKDIR} ${DATADIR}/lib/voices/english/ + ${MKDIR} ${DATADIR}/lib/voices/spanish/ + ${MKDIR} ${DATADIR}/lib/dicts ${CHMOD} -R u+w,a+r,og-w ${FESTIVAL}/lib ${FIND} ${FESTIVAL}/lib -type d -print0 | ${XARGS} -0 ${CHMOD} 755 - cd ${FESTIVAL} && ${CP} -pPR lib examples ${FHOME} - ${RM} -rf ${FHOME}/lib/etc/Makefile ${FHOME}/lib/etc/*FreeBSD* \ - ${FHOME}/lib/etc/*unknown + cd ${FESTIVAL} && ${CP} -pPR lib examples ${DATADIR} + ${RM} -rf ${DATADIR}/lib/etc/Makefile ${DATADIR}/lib/etc/*FreeBSD* \ + ${DATADIR}/lib/etc/*unknown ${INSTALL_PROGRAM} ${FESTIVAL}/lib/etc/*/audsp ${PREFIX}/libexec ${INSTALL_PROGRAM} ${FESTIVAL}/src/main/festival ${PREFIX}/libexec/festival.naked ${INSTALL_PROGRAM} ${FESTIVAL}/src/main/festival_client ${PREFIX}/libexec/festival_client.naked for n in festival.sh festival_client.sh sitevars.scm; \ do {\ - ${SED} "s%@PKG_FESTIVAL_LOCATION@%${FHOME}%; \ + ${SED} "s%@PKG_FESTIVAL_LOCATION@%${DATADIR}%; \ s%@PKG_PREFIX@%${PREFIX}%" <${FILESDIR}/$$n > ${WRKDIR}/$$n ;} \ done ${INSTALL_SCRIPT} ${WRKDIR}/festival.sh ${PREFIX}/bin/festival ${INSTALL_SCRIPT} ${WRKDIR}/festival_client.sh ${PREFIX}/bin/festival_client - ${INSTALL_DATA} ${WRKDIR}/sitevars.scm ${FHOME}/lib/sitevars.scm + ${INSTALL_DATA} ${WRKDIR}/sitevars.scm ${DATADIR}/lib/sitevars.scm ${INSTALL_MAN} ${FESTIVAL}/doc/festival.1 ${PREFIX}/man/man1/festival.1 ${INSTALL_MAN} ${FESTIVAL}/doc/festival_client.1 ${PREFIX}/man/man1/festival_client.1 ${CAT} ${PKGMESSAGE} |