aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMuhammad Moinur Rahman <bofh@FreeBSD.org>2024-01-10 10:20:34 +0000
committerMuhammad Moinur Rahman <bofh@FreeBSD.org>2024-01-10 10:22:45 +0000
commit4d273e66e492dbe2aa84ffd41582debd5e43308c (patch)
tree5f47675598fcb6491624bc5932d391c8e35dd8e9
parent630c8e5c148438419a80d7e84f516b58a217a64f (diff)
downloadports-4d273e66e492dbe2aa84ffd41582debd5e43308c.tar.gz
ports-4d273e66e492dbe2aa84ffd41582debd5e43308c.zip
audio/pocketsphinx: Update version 0.8=>5.0.2
- Update MASTER_SITES to GH - Update WWW - As the maintainers domain has expired adoppting ports PR: 275904
-rw-r--r--audio/pocketsphinx/Makefile33
-rw-r--r--audio/pocketsphinx/distinfo5
-rw-r--r--audio/pocketsphinx/pkg-plist83
3 files changed, 46 insertions, 75 deletions
diff --git a/audio/pocketsphinx/Makefile b/audio/pocketsphinx/Makefile
index b38c0b308e55..0d4151e2f462 100644
--- a/audio/pocketsphinx/Makefile
+++ b/audio/pocketsphinx/Makefile
@@ -1,35 +1,16 @@
PORTNAME= pocketsphinx
-PORTVERSION= 0.8
-PORTREVISION= 1
+DISTVERSIONPREFIX= v
+DISTVERSION= 5.0.2
CATEGORIES= audio accessibility
-MASTER_SITES= SF/cmusphinx/${PORTNAME}/${PORTVERSION}
-MAINTAINER= portmaster@bsdforge.com
+MAINTAINER= bofh@FreeBSD.org
COMMENT= Speech recognition system
-WWW= http://cmusphinx.sourceforge.net/
+WWW= https://cmusphinx.github.io/
LICENSE= BSD2CLAUSE
-LIB_DEPENDS= libsphinxad.so:audio/sphinxbase
-
-USES= gmake pathfix pkgconfig libtool
-GNU_CONFIGURE= yes
-CONFIGURE_ARGS+=--without-python
-CONFIGURE_ENV+= HAVE_DOXYGEN=no
-USE_LDCONFIG= yes
-
-CPPFLAGS+= -I${LOCALBASE}/include
-LDFLAGS+= -L${LOCALBASE}/lib
-
-MAKE_ENV= MKDIR="${MKDIR}" \
- OSVERSION=${OSVERSION}
-
-post-patch:
- @${REINPLACE_CMD} -E -e 's|^([[:space:]]+programs )\\$$|\1|;' \
- -e '/[[:space:]]+gst-plugin$$/D;' \
- ${WRKSRC}/src/Makefile.in
-
-post-install:
- ${STRIP_CMD} ${STAGEDIR}${PREFIX}/lib/libpocketsphinx.so
+USES= cmake
+USE_GITHUB= yes
+GH_ACCOUNT= cmusphinx
.include <bsd.port.mk>
diff --git a/audio/pocketsphinx/distinfo b/audio/pocketsphinx/distinfo
index b892e4201f35..df7dd909bf94 100644
--- a/audio/pocketsphinx/distinfo
+++ b/audio/pocketsphinx/distinfo
@@ -1,2 +1,3 @@
-SHA256 (pocketsphinx-0.8.tar.gz) = 874c4c083d91c8ff26a2aec250b689e537912ff728923c141c4dac48662cce7a
-SIZE (pocketsphinx-0.8.tar.gz) = 23781837
+TIMESTAMP = 1703377948
+SHA256 (cmusphinx-pocketsphinx-v5.0.2_GH0.tar.gz) = c2c58aa702195c46c44575fb9ed5790e749ab647df648b4557cc963aeac638b2
+SIZE (cmusphinx-pocketsphinx-v5.0.2_GH0.tar.gz) = 34210066
diff --git a/audio/pocketsphinx/pkg-plist b/audio/pocketsphinx/pkg-plist
index 6d9358fa5117..4674dc840321 100644
--- a/audio/pocketsphinx/pkg-plist
+++ b/audio/pocketsphinx/pkg-plist
@@ -1,51 +1,40 @@
+bin/pocketsphinx
bin/pocketsphinx_batch
-bin/pocketsphinx_continuous
+bin/pocketsphinx_jsgf2fsg
+bin/pocketsphinx_lm_convert
+bin/pocketsphinx_lm_eval
bin/pocketsphinx_mdef_convert
-include/pocketsphinx/cmdln_macro.h
-include/pocketsphinx/fsg_set.h
-include/pocketsphinx/pocketsphinx.h
-include/pocketsphinx/pocketsphinx.pxd
-include/pocketsphinx/pocketsphinx_export.h
-include/pocketsphinx/ps_lattice.h
-include/pocketsphinx/ps_mllr.h
+bin/pocketsphinx_pitch
+include/pocketsphinx.h
+include/pocketsphinx/alignment.h
+include/pocketsphinx/endpointer.h
+include/pocketsphinx/err.h
+include/pocketsphinx/export.h
+include/pocketsphinx/lattice.h
+include/pocketsphinx/logmath.h
+include/pocketsphinx/mllr.h
+include/pocketsphinx/model.h
+include/pocketsphinx/prim_type.h
+include/pocketsphinx/search.h
+include/pocketsphinx/sphinx_config.h
+include/pocketsphinx/vad.h
lib/libpocketsphinx.a
-lib/libpocketsphinx.so
-lib/libpocketsphinx.so.1
-lib/libpocketsphinx.so.1.1.0
libdata/pkgconfig/pocketsphinx.pc
-man/man1/pocketsphinx_batch.1.gz
-man/man1/pocketsphinx_continuous.1.gz
-man/man1/pocketsphinx_mdef_convert.1.gz
-%%DATADIR%%/model/hmm/en/tidigits/feat.params
-%%DATADIR%%/model/hmm/en/tidigits/mdef
-%%DATADIR%%/model/hmm/en/tidigits/means
-%%DATADIR%%/model/hmm/en/tidigits/sendump
-%%DATADIR%%/model/hmm/en/tidigits/transition_matrices
-%%DATADIR%%/model/hmm/en/tidigits/variances
-%%DATADIR%%/model/hmm/en_US/hub4wsj_sc_8k/feat.params
-%%DATADIR%%/model/hmm/en_US/hub4wsj_sc_8k/mdef
-%%DATADIR%%/model/hmm/en_US/hub4wsj_sc_8k/means
-%%DATADIR%%/model/hmm/en_US/hub4wsj_sc_8k/noisedict
-%%DATADIR%%/model/hmm/en_US/hub4wsj_sc_8k/sendump
-%%DATADIR%%/model/hmm/en_US/hub4wsj_sc_8k/transition_matrices
-%%DATADIR%%/model/hmm/en_US/hub4wsj_sc_8k/variances
-%%DATADIR%%/model/hmm/zh/tdt_sc_8k/feat.params
-%%DATADIR%%/model/hmm/zh/tdt_sc_8k/mdef
-%%DATADIR%%/model/hmm/zh/tdt_sc_8k/means
-%%DATADIR%%/model/hmm/zh/tdt_sc_8k/noisedict
-%%DATADIR%%/model/hmm/zh/tdt_sc_8k/sendump
-%%DATADIR%%/model/hmm/zh/tdt_sc_8k/transition_matrices
-%%DATADIR%%/model/hmm/zh/tdt_sc_8k/variances
-%%DATADIR%%/model/lm/en/tidigits.DMP
-%%DATADIR%%/model/lm/en/tidigits.dic
-%%DATADIR%%/model/lm/en/tidigits.fsg
-%%DATADIR%%/model/lm/en/turtle.DMP
-%%DATADIR%%/model/lm/en/turtle.dic
-%%DATADIR%%/model/lm/en_US/cmu07a.dic
-%%DATADIR%%/model/lm/en_US/hub4.5000.dic
-%%DATADIR%%/model/lm/en_US/hub4.5000.DMP
-%%DATADIR%%/model/lm/en_US/wsj0vp.5000.DMP
-%%DATADIR%%/model/lm/zh_CN/gigatdt.5000.DMP
-%%DATADIR%%/model/lm/zh_CN/mandarin_notone.dic
-%%DATADIR%%/model/lm/zh_TW/gigatdt.5000.DMP
-%%DATADIR%%/model/lm/zh_TW/mandarin_notone.dic
+share/man/man1/pocketsphinx.1.gz
+share/man/man1/pocketsphinx_batch.1.gz
+share/man/man1/pocketsphinx_mdef_convert.1.gz
+share/man/man1/sphinx_lm_convert.1.gz
+share/man/man1/sphinx_lm_eval.1.gz
+share/man/man1/sphinx_lm_sort.1.gz
+share/man/man1/sphinx_pitch.1.gz
+%%DATADIR%%/model/en-us/cmudict-en-us.dict
+%%DATADIR%%/model/en-us/en-us-phone.lm.bin
+%%DATADIR%%/model/en-us/en-us.lm.bin
+%%DATADIR%%/model/en-us/en-us/README
+%%DATADIR%%/model/en-us/en-us/feat.params
+%%DATADIR%%/model/en-us/en-us/mdef
+%%DATADIR%%/model/en-us/en-us/means
+%%DATADIR%%/model/en-us/en-us/noisedict
+%%DATADIR%%/model/en-us/en-us/sendump
+%%DATADIR%%/model/en-us/en-us/transition_matrices
+%%DATADIR%%/model/en-us/en-us/variances