Date: Tue, 22 Aug 2017 13:01:31 +0000 (UTC) From: Guido Falsi <madpilot@FreeBSD.org> To: ports-committers@freebsd.org, svn-ports-all@freebsd.org, svn-ports-head@freebsd.org Subject: svn commit: r448523 - in head/audio/asterisk-flite: . files Message-ID: <201708221301.v7MD1VTo001157@repo.freebsd.org>
next in thread | raw e-mail | index | archive | help
Author: madpilot Date: Tue Aug 22 13:01:31 2017 New Revision: 448523 URL: https://svnweb.freebsd.org/changeset/ports/448523 Log: Update to 3.0 Modified: head/audio/asterisk-flite/Makefile head/audio/asterisk-flite/distinfo (contents, props changed) head/audio/asterisk-flite/files/patch-Makefile (contents, props changed) Modified: head/audio/asterisk-flite/Makefile ============================================================================== --- head/audio/asterisk-flite/Makefile Tue Aug 22 13:01:20 2017 (r448522) +++ head/audio/asterisk-flite/Makefile Tue Aug 22 13:01:31 2017 (r448523) @@ -1,7 +1,7 @@ # $FreeBSD$ PORTNAME= asterisk-flite -PORTVERSION= 2.3 +PORTVERSION= 3.0 DISTVERSIONPREFIX= v CATEGORIES= audio @@ -12,12 +12,12 @@ LICENSE= GPLv2 LIB_DEPENDS= libflite.so:audio/flite +USES= compiler gmake localbase +INSTALL_TARGET= install samples + USE_GITHUB= yes GH_ACCOUNT= zaf GH_PROJECT= Asterisk-Flite - -USES= compiler gmake localbase -INSTALL_TARGET= install samples OPTIONS_SINGLE= ASTVER OPTIONS_SINGLE_ASTVER= ASTERISK11 ASTERISK13 Modified: head/audio/asterisk-flite/distinfo ============================================================================== --- head/audio/asterisk-flite/distinfo Tue Aug 22 13:01:20 2017 (r448522) +++ head/audio/asterisk-flite/distinfo Tue Aug 22 13:01:31 2017 (r448523) @@ -1,3 +1,3 @@ -TIMESTAMP = 1474382391 -SHA256 (zaf-Asterisk-Flite-v2.3_GH0.tar.gz) = 208a2dfd4c6345c99d6b15cd136fa938355b937fa5f9efe849fcf53106667e4c -SIZE (zaf-Asterisk-Flite-v2.3_GH0.tar.gz) = 11977 +TIMESTAMP = 1503328714 +SHA256 (zaf-Asterisk-Flite-v3.0_GH0.tar.gz) = 57f0a86716af6a6704de003b3779c44d55ac9747cb696430d88d3f93cd7e2399 +SIZE (zaf-Asterisk-Flite-v3.0_GH0.tar.gz) = 11992 Modified: head/audio/asterisk-flite/files/patch-Makefile ============================================================================== --- head/audio/asterisk-flite/files/patch-Makefile Tue Aug 22 13:01:20 2017 (r448522) +++ head/audio/asterisk-flite/files/patch-Makefile Tue Aug 22 13:01:31 2017 (r448523) @@ -1,31 +1,31 @@ ---- Makefile.orig 2016-03-20 14:01:21 UTC +--- Makefile.orig 2016-09-12 20:39:22 UTC +++ Makefile -@@ -7,30 +7,15 @@ +@@ -7,30 +7,16 @@ # at the top of the source tree. - INSTALL=install + INSTALL:=install -ASTLIBDIR:=$(shell awk '/moddir/{print $$3}' /etc/asterisk/asterisk.conf) -ifeq ($(strip $(ASTLIBDIR)),) -- MODULES_DIR=$(INSTALL_PREFIX)/usr/lib/asterisk/modules +- MODULES_DIR:=$(INSTALL_PREFIX)/usr/lib/asterisk/modules -else -- MODULES_DIR=$(INSTALL_PREFIX)$(ASTLIBDIR) +- MODULES_DIR:=$(INSTALL_PREFIX)$(ASTLIBDIR) -endif --ASTETCDIR=$(INSTALL_PREFIX)/etc/asterisk +-ASTETCDIR:=$(INSTALL_PREFIX)/etc/asterisk +MODULES_DIR=$(PREFIX)/lib/asterisk/modules +ASTETCDIR=$(PREFIX)/etc/asterisk - SAMPLENAME=flite.conf.sample --CONFNAME=$(basename $(SAMPLENAME)) -- + SAMPLENAME:=flite.conf.sample +-CONFNAME:=$(basename $(SAMPLENAME)) + -CC=gcc -OPTIMIZE=-O2 -DEBUG=-g -+CONFNAME=$(SAMPLENAME) ++CC?=gcc -LIBS+=-lflite_cmu_us_kal -lflite_cmu_us_kal16 -lflite_cmu_us_awb -lflite_cmu_us_rms -lflite_cmu_us_slt -lflite_usenglish -lflite_cmulex -lflite +LIBS+=$(LDFLAGS) -lflite_cmu_us_kal -lflite_cmu_us_kal16 -lflite_cmu_us_awb -lflite_cmu_us_rms -lflite_cmu_us_slt -lflite_usenglish -lflite_cmulex -lflite - CFLAGS+=-pipe -fPIC -Wall -Wextra -Wstrict-prototypes -Wmissing-prototypes -Wmissing-declarations -D_REENTRANT -D_GNU_SOURCE + CFLAGS+=-pipe -fPIC -Wall -Wextra -Wstrict-prototypes -Wmissing-prototypes -Wmissing-declarations -D_REENTRANT -D_GNU_SOURCE -DAST_MODULE_SELF_SYM=__internal_app_flite_self - all: _all + all: app_flite.so - @echo " +--------- app_flite Build Complete --------+" - @echo " + app_flite has successfully been built, +" - @echo " + and can be installed by running: +" @@ -33,10 +33,10 @@ - @echo " + make install +" - @echo " +-------------------------------------------+" - _all: app_flite.so - -@@ -46,20 +31,7 @@ clean: - install: _all + app_flite.o: app_flite.c + $(CC) $(CFLAGS) $(DEBUG) $(OPTIMIZE) -c -o app_flite.o app_flite.c +@@ -44,20 +30,7 @@ clean: + install: all $(INSTALL) -m 755 -d $(DESTDIR)$(MODULES_DIR) $(INSTALL) -m 755 app_flite.so $(DESTDIR)$(MODULES_DIR) - @echo " +---- app_flite Installation Complete ------+"
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?201708221301.v7MD1VTo001157>