summaryrefslogtreecommitdiff
path: root/audio/sphinxbase
diff options
context:
space:
mode:
authorDmitry Marakasov <amdmi3@FreeBSD.org>2014-05-14 01:58:08 +0000
committerDmitry Marakasov <amdmi3@FreeBSD.org>2014-05-14 01:58:08 +0000
commit95222d188e80ad810f5a3bcb031fe861908a8a2a (patch)
tree4e481272deb5366525f65c4f735c66a207d6cff9 /audio/sphinxbase
parent- Support staging (diff)
- Switch to USES=libtool
Diffstat (limited to 'audio/sphinxbase')
-rw-r--r--audio/sphinxbase/Makefile11
-rw-r--r--audio/sphinxbase/pkg-plist6
2 files changed, 10 insertions, 7 deletions
diff --git a/audio/sphinxbase/Makefile b/audio/sphinxbase/Makefile
index 6ab6b39ae3ce..31de0e8104a8 100644
--- a/audio/sphinxbase/Makefile
+++ b/audio/sphinxbase/Makefile
@@ -3,18 +3,18 @@
PORTNAME= sphinxbase
PORTVERSION= 0.8
+PORTREVISION= 1
CATEGORIES= audio accessibility
MASTER_SITES= SF/cmusphinx/${PORTNAME}/${PORTVERSION}
MAINTAINER= ports@FreeBSD.org
COMMENT= CMU Sphinx Speech recognition system base
-USE_LDCONFIG= yes
-USES= bison gmake pathfix
-USE_AUTOTOOLS= libtool
-
+USES= bison gmake pathfix libtool
+GNU_CONFIGURE= yes
CONFIGURE_ARGS+= --without-python --without-lapack
CONFIGURE_ENV+= HAVE_DOXYGEN=no
+USE_LDCONFIG= yes
CPPFLAGS+= -I${LOCALBASE}/include
LDFLAGS+= -L${LOCALBASE}/lib
@@ -45,4 +45,7 @@ CONFIGURE_ARGS+= --enable-threads
CONFIGURE_ARGS+= --disable-threads
.endif
+post-install:
+ ${STRIP_CMD} ${STAGEDIR}${PREFIX}/lib/libsphinx*.so
+
.include <bsd.port.mk>
diff --git a/audio/sphinxbase/pkg-plist b/audio/sphinxbase/pkg-plist
index 025931dd9aa5..2686dbd95376 100644
--- a/audio/sphinxbase/pkg-plist
+++ b/audio/sphinxbase/pkg-plist
@@ -49,12 +49,12 @@ 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/libsphinxad.so.0.0.1
lib/libsphinxbase.a
-lib/libsphinxbase.la
lib/libsphinxbase.so
-lib/libsphinxbase.so.2
+lib/libsphinxbase.so.1
+lib/libsphinxbase.so.1.1.1
libdata/pkgconfig/sphinxbase.pc
@dirrm include/sphinxbase