1
0
mirror of https://git.FreeBSD.org/ports.git synced 2024-11-21 00:25:50 +00:00

- Switch to USES=libtool

This commit is contained in:
Dmitry Marakasov 2014-05-14 01:58:08 +00:00
parent 72c23e95ee
commit 95222d188e
Notes: svn2git 2021-03-31 03:12:20 +00:00
svn path=/head/; revision=354013
6 changed files with 27 additions and 18 deletions

View File

@ -3,6 +3,7 @@
PORTNAME= pocketsphinx PORTNAME= pocketsphinx
PORTVERSION= 0.8 PORTVERSION= 0.8
PORTREVISION= 1
CATEGORIES= audio accessibility CATEGORIES= audio accessibility
MASTER_SITES= SF/cmusphinx/${PORTNAME}/${PORTVERSION} MASTER_SITES= SF/cmusphinx/${PORTNAME}/${PORTVERSION}
@ -11,12 +12,11 @@ COMMENT= Speech recognition system
LIB_DEPENDS= libsphinxad.so:${PORTSDIR}/audio/sphinxbase LIB_DEPENDS= libsphinxad.so:${PORTSDIR}/audio/sphinxbase
USES= gmake pathfix pkgconfig USES= gmake pathfix pkgconfig libtool
USE_LDCONFIG= yes GNU_CONFIGURE= yes
USE_AUTOTOOLS= libtool CONFIGURE_ARGS+=--without-python
CONFIGURE_ARGS+= --without-python
CONFIGURE_ENV+= HAVE_DOXYGEN=no CONFIGURE_ENV+= HAVE_DOXYGEN=no
USE_LDCONFIG= yes
CPPFLAGS+= -I${LOCALBASE}/include CPPFLAGS+= -I${LOCALBASE}/include
LDFLAGS+= -L${LOCALBASE}/lib LDFLAGS+= -L${LOCALBASE}/lib
@ -29,4 +29,7 @@ post-patch:
-e '/[[:space:]]+gst-plugin$$/D;' \ -e '/[[:space:]]+gst-plugin$$/D;' \
${WRKSRC}/src/Makefile.in ${WRKSRC}/src/Makefile.in
post-install:
${STRIP_CMD} ${STAGEDIR}${PREFIX}/lib/libpocketsphinx.so
.include <bsd.port.mk> .include <bsd.port.mk>

View File

@ -9,9 +9,9 @@ include/pocketsphinx/pocketsphinx_export.h
include/pocketsphinx/ps_lattice.h include/pocketsphinx/ps_lattice.h
include/pocketsphinx/ps_mllr.h include/pocketsphinx/ps_mllr.h
lib/libpocketsphinx.a lib/libpocketsphinx.a
lib/libpocketsphinx.la
lib/libpocketsphinx.so lib/libpocketsphinx.so
lib/libpocketsphinx.so.2 lib/libpocketsphinx.so.1
lib/libpocketsphinx.so.1.1.0
libdata/pkgconfig/pocketsphinx.pc libdata/pkgconfig/pocketsphinx.pc
man/man1/pocketsphinx_batch.1.gz man/man1/pocketsphinx_batch.1.gz
man/man1/pocketsphinx_continuous.1.gz man/man1/pocketsphinx_continuous.1.gz

View File

@ -3,7 +3,7 @@
PORTNAME= sphinx3 PORTNAME= sphinx3
PORTVERSION= 0.8 PORTVERSION= 0.8
PORTREVISION= 1 PORTREVISION= 2
CATEGORIES= audio accessibility CATEGORIES= audio accessibility
MASTER_SITES= SF/cmusphinx/${PORTNAME}/${PORTVERSION} MASTER_SITES= SF/cmusphinx/${PORTNAME}/${PORTVERSION}
@ -12,11 +12,11 @@ COMMENT= Speech recognition system
LIB_DEPENDS= libsphinxbase.so:${PORTSDIR}/audio/sphinxbase LIB_DEPENDS= libsphinxbase.so:${PORTSDIR}/audio/sphinxbase
USES= gmake pathfix libtool
GNU_CONFIGURE= yes
USE_LDCONFIG= yes USE_LDCONFIG= yes
USE_AUTOTOOLS= libtool
USE_CSTD= gnu99 USE_CSTD= gnu99
MAKE_JOBS_UNSAFE= yes MAKE_JOBS_UNSAFE= yes
USES= gmake pathfix
CFLAGS+= -I${LOCALBASE}/include #-I${LOCALBASE}/include/sphinxbase CFLAGS+= -I${LOCALBASE}/include #-I${LOCALBASE}/include/sphinxbase
CXXFLAGS+= -I${LOCALBASE}/include #-I${LOCALBASE}/include/sphinxbase CXXFLAGS+= -I${LOCALBASE}/include #-I${LOCALBASE}/include/sphinxbase
@ -25,4 +25,7 @@ LDFLAGS+= -L${LOCALBASE}/lib
MAKE_ENV= MKDIR="${MKDIR}" \ MAKE_ENV= MKDIR="${MKDIR}" \
OSVERSION=${OSVERSION} OSVERSION=${OSVERSION}
post-install:
${STRIP_CMD} ${STAGEDIR}${PREFIX}/lib/libs3decoder.so
.include <bsd.port.mk> .include <bsd.port.mk>

View File

@ -86,9 +86,9 @@ include/sphinx3/word_fsg.h
include/sphinx3/word_graph.h include/sphinx3/word_graph.h
include/sphinx3/word_ugprob.h include/sphinx3/word_ugprob.h
lib/libs3decoder.a lib/libs3decoder.a
lib/libs3decoder.la
lib/libs3decoder.so lib/libs3decoder.so
lib/libs3decoder.so.0 lib/libs3decoder.so.0
lib/libs3decoder.so.0.0.6
libdata/pkgconfig/sphinx3.pc libdata/pkgconfig/sphinx3.pc
%%DATADIR%%/doc/BN_AM_HUB96-97.doc %%DATADIR%%/doc/BN_AM_HUB96-97.doc
%%DATADIR%%/doc/BN_AM_HUB96-97.htm %%DATADIR%%/doc/BN_AM_HUB96-97.htm

View File

@ -3,18 +3,18 @@
PORTNAME= sphinxbase PORTNAME= sphinxbase
PORTVERSION= 0.8 PORTVERSION= 0.8
PORTREVISION= 1
CATEGORIES= audio accessibility CATEGORIES= audio accessibility
MASTER_SITES= SF/cmusphinx/${PORTNAME}/${PORTVERSION} MASTER_SITES= SF/cmusphinx/${PORTNAME}/${PORTVERSION}
MAINTAINER= ports@FreeBSD.org MAINTAINER= ports@FreeBSD.org
COMMENT= CMU Sphinx Speech recognition system base COMMENT= CMU Sphinx Speech recognition system base
USE_LDCONFIG= yes USES= bison gmake pathfix libtool
USES= bison gmake pathfix GNU_CONFIGURE= yes
USE_AUTOTOOLS= libtool
CONFIGURE_ARGS+= --without-python --without-lapack CONFIGURE_ARGS+= --without-python --without-lapack
CONFIGURE_ENV+= HAVE_DOXYGEN=no CONFIGURE_ENV+= HAVE_DOXYGEN=no
USE_LDCONFIG= yes
CPPFLAGS+= -I${LOCALBASE}/include CPPFLAGS+= -I${LOCALBASE}/include
LDFLAGS+= -L${LOCALBASE}/lib LDFLAGS+= -L${LOCALBASE}/lib
@ -45,4 +45,7 @@ CONFIGURE_ARGS+= --enable-threads
CONFIGURE_ARGS+= --disable-threads CONFIGURE_ARGS+= --disable-threads
.endif .endif
post-install:
${STRIP_CMD} ${STAGEDIR}${PREFIX}/lib/libsphinx*.so
.include <bsd.port.mk> .include <bsd.port.mk>

View File

@ -49,12 +49,12 @@ include/sphinxbase/strfuncs.h
include/sphinxbase/unlimit.h include/sphinxbase/unlimit.h
include/sphinxbase/yin.h include/sphinxbase/yin.h
lib/libsphinxad.a lib/libsphinxad.a
lib/libsphinxad.la
lib/libsphinxad.so lib/libsphinxad.so
lib/libsphinxad.so.0 lib/libsphinxad.so.0
lib/libsphinxad.so.0.0.1
lib/libsphinxbase.a lib/libsphinxbase.a
lib/libsphinxbase.la
lib/libsphinxbase.so lib/libsphinxbase.so
lib/libsphinxbase.so.2 lib/libsphinxbase.so.1
lib/libsphinxbase.so.1.1.1
libdata/pkgconfig/sphinxbase.pc libdata/pkgconfig/sphinxbase.pc
@dirrm include/sphinxbase @dirrm include/sphinxbase