svn commit: r303272 - in head/audio/sphinxbase: . files
Jase Thew
jase at FreeBSD.org
Tue Aug 28 11:14:21 UTC 2012
Author: jase
Date: Tue Aug 28 11:14:20 2012
New Revision: 303272
URL: http://svn.freebsd.org/changeset/ports/303272
Log:
- Update to 0.7 [1]
- Remove unnecessary PORTREVISION
- Fix typo in COMMENT
- Add missing build dependency on devel/bison
- Add options for libsndfile support and thread safety
- Disable building of python module
- Disable building of doxygen docs
- Replace use of gnomehack with specific REINPLACE for pkgconfig
PR: ports/169426 [1]
Submitted by: Richard Neese <r.neese at gmail.com> (maintainer)
Approved by: flo (mentor)
Deleted:
head/audio/sphinxbase/files/
Modified:
head/audio/sphinxbase/Makefile (contents, props changed)
head/audio/sphinxbase/distinfo (contents, props changed)
head/audio/sphinxbase/pkg-plist (contents, props changed)
Modified: head/audio/sphinxbase/Makefile
==============================================================================
--- head/audio/sphinxbase/Makefile Tue Aug 28 10:09:38 2012 (r303271)
+++ head/audio/sphinxbase/Makefile Tue Aug 28 11:14:20 2012 (r303272)
@@ -6,24 +6,52 @@
#
PORTNAME= sphinxbase
-PORTVERSION= 0.3
-PORTREVISION= 1
+PORTVERSION= 0.7
CATEGORIES= audio accessibility
MASTER_SITES= SF/cmusphinx/${PORTNAME}/${PORTVERSION}
MAINTAINER= r.neese at gmail.com
-COMMENT= CMU SPhinx Speech recognition system base
+COMMENT= CMU Sphinx Speech recognition system base
+
+BUILD_DEPENDS= bison:${PORTSDIR}/devel/bison
USE_LDCONFIG= yes
-PKGMESSAGE= ${WRKDIR}/pkg-message
USE_GMAKE= yes
-USE_GNOME= gnomehack
USE_AUTOTOOLS= libtool
+CONFIGURE_ARGS+= --without-python --without-lapack
+CONFIGURE_ENV+= HAVE_DOXYGEN=no
+
CPPFLAGS+= -I${LOCALBASE}/include
LDFLAGS+= -L${LOCALBASE}/lib
MAKE_ENV= MKDIR="${MKDIR}" \
OSVERSION=${OSVERSION}
+OPTIONS_DEFINE= SNDFILE THREADS
+OPTIONS_DEFAULT= THREADS
+
+SNDFILE_DESC= libsndfile support
+THREADS_DESC= Build with thread safety support
+
+.include <bsd.port.options.mk>
+
+.if ${PORT_OPTIONS:MSNDFILE}
+USE_PKGCONFIG= build
+LIB_DEPENDS+= sndfile:${PORTSDIR}/audio/libsndfile
+.else
+CONFIGURE_ENV+= HAVE_PKGCONFIG=no
+.endif
+
+.if ${PORT_OPTIONS:MTHREADS}
+CPPFLAGS+= ${PTHREAD_CFLAGS}
+LDFLAGS+= ${PTHREAD_LIBS}
+CONFIGURE_ARGS+= --enable-threads
+.else
+CONFIGURE_ARGS+= --disable-threads
+.endif
+
+post-patch:
+ @${REINPLACE_CMD} -e 's|$$(libdir)/pkgconfig|$$(prefix)/libdata/pkgconfig|g' ${WRKSRC}/Makefile.in
+
.include <bsd.port.mk>
Modified: head/audio/sphinxbase/distinfo
==============================================================================
--- head/audio/sphinxbase/distinfo Tue Aug 28 10:09:38 2012 (r303271)
+++ head/audio/sphinxbase/distinfo Tue Aug 28 11:14:20 2012 (r303272)
@@ -1,2 +1,2 @@
-SHA256 (sphinxbase-0.3.tar.gz) = 0497a39d926fb0faa5fab28391821743225cd332e7b582419c60b0db7e6fbaa2
-SIZE (sphinxbase-0.3.tar.gz) = 1841919
+SHA256 (sphinxbase-0.7.tar.gz) = 389cb99a545f7d615a2b3bc3f7362a490ca45fc4dc440140ae1d2a41f87773ec
+SIZE (sphinxbase-0.7.tar.gz) = 3291922
Modified: head/audio/sphinxbase/pkg-plist
==============================================================================
--- head/audio/sphinxbase/pkg-plist Tue Aug 28 10:09:38 2012 (r303271)
+++ head/audio/sphinxbase/pkg-plist Tue Aug 28 11:14:20 2012 (r303272)
@@ -1,5 +1,12 @@
bin/sphinx_cepview
+bin/sphinx_cont_adseg
+bin/sphinx_cont_fileseg
bin/sphinx_fe
+bin/sphinx_jsgf2fsg
+bin/sphinx_lm_convert
+bin/sphinx_lm_eval
+bin/sphinx_lm_sort
+bin/sphinx_pitch
include/sphinxbase/ad.h
include/sphinxbase/agc.h
include/sphinxbase/bio.h
@@ -17,38 +24,38 @@ include/sphinxbase/fe.h
include/sphinxbase/feat.h
include/sphinxbase/filename.h
include/sphinxbase/fixpoint.h
+include/sphinxbase/fsg_model.h
include/sphinxbase/genrand.h
include/sphinxbase/glist.h
include/sphinxbase/hash_table.h
include/sphinxbase/heap.h
+include/sphinxbase/huff_code.h
include/sphinxbase/info.h
+include/sphinxbase/jsgf.h
include/sphinxbase/libutil.h
-include/sphinxbase/linklist.h
+include/sphinxbase/listelem_alloc.h
+include/sphinxbase/logmath.h
include/sphinxbase/matrix.h
+include/sphinxbase/mmio.h
include/sphinxbase/mulaw.h
+include/sphinxbase/ngram_model.h
include/sphinxbase/pio.h
include/sphinxbase/prim_type.h
include/sphinxbase/profile.h
-include/sphinxbase/s3_arraylist.h
+include/sphinxbase/sbthread.h
include/sphinxbase/sphinx_config.h
-include/sphinxbase/sphinx_types.h
+include/sphinxbase/sphinxbase.pxd
+include/sphinxbase/sphinxbase_export.h
include/sphinxbase/strfuncs.h
include/sphinxbase/unlimit.h
+include/sphinxbase/yin.h
lib/libsphinxad.a
lib/libsphinxad.la
lib/libsphinxad.so
lib/libsphinxad.so.0
-lib/libsphinxfe.a
-lib/libsphinxfe.la
-lib/libsphinxfe.so
-lib/libsphinxfe.so.0
-lib/libsphinxfeat.a
-lib/libsphinxfeat.la
-lib/libsphinxfeat.so
-lib/libsphinxfeat.so.0
-lib/libsphinxutil.a
-lib/libsphinxutil.la
-lib/libsphinxutil.so
-lib/libsphinxutil.so.0
+lib/libsphinxbase.a
+lib/libsphinxbase.la
+lib/libsphinxbase.so
+lib/libsphinxbase.so.2
libdata/pkgconfig/sphinxbase.pc
@dirrm include/sphinxbase
More information about the svn-ports-head
mailing list