diff options
author | Joe Marcus Clarke <marcus@FreeBSD.org> | 2003-09-18 07:01:13 +0000 |
---|---|---|
committer | Joe Marcus Clarke <marcus@FreeBSD.org> | 2003-09-18 07:01:13 +0000 |
commit | b992c3888cd5be32b10bb9a4fca83b6cd55d59da (patch) | |
tree | 28e7f81c2b940b36ec73c0b3fc864ff970da31d8 /accessibility/gnomespeech | |
parent | 7bb32ba6ae92c2d032e32d14da1040ecbdbfeb49 (diff) | |
download | ports-b992c3888cd5be32b10bb9a4fca83b6cd55d59da.tar.gz ports-b992c3888cd5be32b10bb9a4fca83b6cd55d59da.zip |
Notes
Diffstat (limited to 'accessibility/gnomespeech')
-rw-r--r-- | accessibility/gnomespeech/Makefile | 39 | ||||
-rw-r--r-- | accessibility/gnomespeech/distinfo | 1 | ||||
-rw-r--r-- | accessibility/gnomespeech/files/patch-ltmain.sh | 51 | ||||
-rw-r--r-- | accessibility/gnomespeech/pkg-descr | 1 | ||||
-rw-r--r-- | accessibility/gnomespeech/pkg-plist | 18 |
5 files changed, 110 insertions, 0 deletions
diff --git a/accessibility/gnomespeech/Makefile b/accessibility/gnomespeech/Makefile new file mode 100644 index 000000000000..c1ccecaaf3e8 --- /dev/null +++ b/accessibility/gnomespeech/Makefile @@ -0,0 +1,39 @@ +# New ports collection makefile for: gnomespeech +# Date created: 11 May 2003 +# Whom: Joe Marcus Clarke <marcus@FreeBSD.org> +# +# $FreeBSD$ +# + +PORTNAME= gnomespeech +PORTVERSION= 0.2.7 +CATEGORIES= audio gnome accessibility +MASTER_SITES= ${MASTER_SITE_GNOME} +MASTER_SITE_SUBDIR= sources/gnome-speech/0.2 +DISTNAME= gnome-speech-${PORTVERSION} +DIST_SUBDIR= gnome2 + +MAINTAINER= gnome@FreeBSD.org +COMMENT= GNOME text-to-speech API + +USE_BZIP2= yes +USE_REINPLACE= yes +USE_GMAKE= yes +USE_GNOME= gnomehack libbonobo +GNU_CONFIGURE= yes +INSTALLS_SHLIB= yes +CONFIGURE_ARGS= --enable-static +CONFIGURE_ENV= CPPFLAGS="-I${LOCALBASE}/include -I${X11BASE}/include" \ + LDFLAGS="-L${LOCALBASE}/lib -L${X11BASE}/lib" + +.include <bsd.port.pre.mk> + +.if exists(${LOCALBASE}/bin/festival) +WITH_FESTIVAL= yes +.endif + +.if defined(WITH_FESTIVAL) +RUN_DEPENDS= festival:${PORTSDIR}/audio/festival +.endif + +.include <bsd.port.post.mk> diff --git a/accessibility/gnomespeech/distinfo b/accessibility/gnomespeech/distinfo new file mode 100644 index 000000000000..58626bf0ec76 --- /dev/null +++ b/accessibility/gnomespeech/distinfo @@ -0,0 +1 @@ +MD5 (gnome2/gnome-speech-0.2.7.tar.bz2) = 63669571096af17e495abbde890d19c6 diff --git a/accessibility/gnomespeech/files/patch-ltmain.sh b/accessibility/gnomespeech/files/patch-ltmain.sh new file mode 100644 index 000000000000..be26a38ade1b --- /dev/null +++ b/accessibility/gnomespeech/files/patch-ltmain.sh @@ -0,0 +1,51 @@ +--- ltmain.sh.orig Fri May 2 16:51:22 2003 ++++ ltmain.sh Tue May 20 15:31:37 2003 +@@ -1277,7 +1277,7 @@ + esac + elif test "X$arg" = "X-lc_r"; then + case $host in +- *-*-openbsd* | *-*-freebsd*) ++ *-*-openbsd* | *-*-freebsd4*) + # Do not include libc_r directly, use -pthread flag. + continue + ;; +@@ -1287,8 +1287,16 @@ + continue + ;; + ++ -pthread) ++ compile_command="$compile_command -pthread" ++ finalize_command="$finalize_command -pthread" ++ compiler_flags="$compiler_flags -pthread" ++ continue ++ ;; ++ + -module) + module=yes ++ build_old_libs=no + continue + ;; + +@@ -2997,6 +3005,9 @@ + # problems, so we reset it completely + verstring= + ;; ++ *-*-freebsd*) ++ # FreeBSD doesn't need this... ++ ;; + *) + verstring="0.0" + ;; +@@ -5425,10 +5436,12 @@ + fi + + # Install the pseudo-library for information purposes. ++ if /usr/bin/false; then + name=`$echo "X$file" | $Xsed -e 's%^.*/%%'` + instname="$dir/$name"i + $show "$install_prog $instname $destdir/$name" + $run eval "$install_prog $instname $destdir/$name" || exit $? ++ fi + + # Maybe install the static library, too. + test -n "$old_library" && staticlibs="$staticlibs $dir/$old_library" diff --git a/accessibility/gnomespeech/pkg-descr b/accessibility/gnomespeech/pkg-descr new file mode 100644 index 000000000000..bab24f6015fd --- /dev/null +++ b/accessibility/gnomespeech/pkg-descr @@ -0,0 +1 @@ +GNOME Speech is a simple general API for producing text-to-speech output. diff --git a/accessibility/gnomespeech/pkg-plist b/accessibility/gnomespeech/pkg-plist new file mode 100644 index 000000000000..65ebac9bf8a3 --- /dev/null +++ b/accessibility/gnomespeech/pkg-plist @@ -0,0 +1,18 @@ +bin/festival-synthesis-driver +bin/test-speech +include/gnome-speech-1.0/gnome-speech/GNOME_Speech.h +include/gnome-speech-1.0/gnome-speech/gnome-speech.h +include/gnome-speech-1.0/gnome-speech/speaker.h +lib/libgnomespeech.a +lib/libgnomespeech.so +lib/libgnomespeech.so.6 +lib/orbit-2.0/GNOME_Speech_module.so +libdata/bonobo/servers/GNOME_Speech_SynthesisDriver_Festival.server +libdata/pkgconfig/gnome-speech-1.0.pc +share/idl/gnome-speech-1.0/GNOME_Speech.idl +share/idl/gnome-speech-1.0/GNOME_Speech_Speaker.idl +share/idl/gnome-speech-1.0/GNOME_Speech_SpeechCallback.idl +share/idl/gnome-speech-1.0/GNOME_Speech_SynthesisDriver.idl +@dirrm share/idl/gnome-speech-1.0 +@dirrm include/gnome-speech-1.0/gnome-speech +@dirrm include/gnome-speech-1.0 |