From 72c23e95ee9325fa708b386c0a260c2ce218df42 Mon Sep 17 00:00:00 2001 From: Dmitry Marakasov Date: Wed, 14 May 2014 01:57:56 +0000 Subject: [PATCH] - Support staging - Switch to USES=libtool --- audio/sphinx/Makefile | 14 +++++++------- audio/sphinx/pkg-plist | 6 +++--- 2 files changed, 10 insertions(+), 10 deletions(-) diff --git a/audio/sphinx/Makefile b/audio/sphinx/Makefile index 7788f8cf8581..0817b36f7660 100644 --- a/audio/sphinx/Makefile +++ b/audio/sphinx/Makefile @@ -3,7 +3,7 @@ PORTNAME= sphinx PORTVERSION= 2.0.4 -PORTREVISION= 2 +PORTREVISION= 3 CATEGORIES= audio accessibility MASTER_SITES= SF/cmu${PORTNAME}/${PORTNAME}2/0.4 DISTNAME= sphinx2-0.4 @@ -11,12 +11,12 @@ DISTNAME= sphinx2-0.4 MAINTAINER= ports@FreeBSD.org COMMENT= Speech recognition system -DEST= ${WRKSRC}/src/libsphinx2/ +GNU_CONFIGURE= yes USE_LDCONFIG= yes -NO_STAGE= yes PKGMESSAGE= ${WRKDIR}/pkg-message -USES= gmake -USE_AUTOTOOLS=libtool +USES= gmake libtool shebangfix +SHEBANG_FILES= scripts/sphinx2-demo.in +perl_OLD_CMD= @PERL@ -w # contains i386 sound code ONLY_FOR_ARCHS= i386 @@ -36,7 +36,7 @@ post-build: ${ECHO_CMD} "proper testing or source review by the" >> ${PKGMESSAGE} ${ECHO_CMD} "FreeBSD maintainer." >> ${PKGMESSAGE} -pre-install: - ${CAT} ${PKGMESSAGE} +post-install: + ${STRIP_CMD} ${STAGEDIR}${PREFIX}/lib/libsphinx2*.so .include diff --git a/audio/sphinx/pkg-plist b/audio/sphinx/pkg-plist index 810b6175ea23..88b62373615f 100644 --- a/audio/sphinx/pkg-plist +++ b/audio/sphinx/pkg-plist @@ -37,17 +37,17 @@ include/sphinx2/s2types.h include/sphinx2/sphinxp.h include/sphinx2/win32sock.h lib/libsphinx2.a -lib/libsphinx2.la lib/libsphinx2.so lib/libsphinx2.so.0 +lib/libsphinx2.so.0.0.4 lib/libsphinx2ad.a -lib/libsphinx2ad.la lib/libsphinx2ad.so lib/libsphinx2ad.so.0 +lib/libsphinx2ad.so.0.0.4 lib/libsphinx2fe.a -lib/libsphinx2fe.la lib/libsphinx2fe.so lib/libsphinx2fe.so.0 +lib/libsphinx2fe.so.0.0.4 share/sphinx2/doc/README.bin share/sphinx2/doc/README.lib share/sphinx2/doc/README.win32