aboutsummaryrefslogtreecommitdiffstats
path: root/audio
diff options
context:
space:
mode:
authorantoine <antoine@FreeBSD.org>2013-12-29 05:47:21 +0800
committerantoine <antoine@FreeBSD.org>2013-12-29 05:47:21 +0800
commite5a8c835e25bab04266d2fa28da01967d19bd21b (patch)
treeebc469c74cb291679fd123746cd824dfd7a3f180 /audio
parent4baaa8e385d23dbbb0a36ac9067e9134b5426e1e (diff)
downloadfreebsd-ports-gnome-e5a8c835e25bab04266d2fa28da01967d19bd21b.tar.gz
freebsd-ports-gnome-e5a8c835e25bab04266d2fa28da01967d19bd21b.tar.zst
freebsd-ports-gnome-e5a8c835e25bab04266d2fa28da01967d19bd21b.zip
Stage support
Diffstat (limited to 'audio')
-rw-r--r--audio/pocketsphinx/Makefile8
-rw-r--r--audio/pocketsphinx/pkg-plist3
2 files changed, 4 insertions, 7 deletions
diff --git a/audio/pocketsphinx/Makefile b/audio/pocketsphinx/Makefile
index 7adf5bed6985..2ddaacd72c31 100644
--- a/audio/pocketsphinx/Makefile
+++ b/audio/pocketsphinx/Makefile
@@ -11,8 +11,7 @@ COMMENT= Speech recognition system
LIB_DEPENDS= libsphinxad.so:${PORTSDIR}/audio/sphinxbase
-USES= gmake pkgconfig
-NO_STAGE= yes
+USES= gmake pathfix pkgconfig
USE_LDCONFIG= yes
USE_AUTOTOOLS= libtool
@@ -25,12 +24,7 @@ LDFLAGS+= -L${LOCALBASE}/lib
MAKE_ENV= MKDIR="${MKDIR}" \
OSVERSION=${OSVERSION}
-MAN1= pocketsphinx_batch.1 \
- pocketsphinx_continuous.1 \
- pocketsphinx_mdef_convert.1
-
post-patch:
- @${REINPLACE_CMD} -e 's|(libdir)/pkgconfig|(prefix)/libdata/pkgconfig|' ${WRKSRC}/Makefile.in
@${REINPLACE_CMD} -E -e 's|^([[:space:]]+programs )\\$$|\1|;' \
-e '/[[:space:]]+gst-plugin$$/D;' \
${WRKSRC}/src/Makefile.in
diff --git a/audio/pocketsphinx/pkg-plist b/audio/pocketsphinx/pkg-plist
index c7032839b5bf..caca8bf988b5 100644
--- a/audio/pocketsphinx/pkg-plist
+++ b/audio/pocketsphinx/pkg-plist
@@ -13,6 +13,9 @@ lib/libpocketsphinx.la
lib/libpocketsphinx.so
lib/libpocketsphinx.so.2
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