aboutsummaryrefslogtreecommitdiff
path: root/audio/speex
diff options
context:
space:
mode:
authorYing-Chieh Liao <ijliao@FreeBSD.org>2002-11-20 12:21:14 +0000
committerYing-Chieh Liao <ijliao@FreeBSD.org>2002-11-20 12:21:14 +0000
commit461080c7c4f2a2a0323fe5d46731a3274fc75e35 (patch)
tree3379f39dbba61d2bd44ba7024a108b46bf48fbae /audio/speex
parentd48209692c85e5dd0d28e03454bf7592dc5c19d5 (diff)
downloadports-461080c7c4f2a2a0323fe5d46731a3274fc75e35.tar.gz
ports-461080c7c4f2a2a0323fe5d46731a3274fc75e35.zip
Notes
Diffstat (limited to 'audio/speex')
-rw-r--r--audio/speex/Makefile13
-rw-r--r--audio/speex/pkg-descr2
-rw-r--r--audio/speex/pkg-plist4
3 files changed, 14 insertions, 5 deletions
diff --git a/audio/speex/Makefile b/audio/speex/Makefile
index 5345231d418d..376ed411827f 100644
--- a/audio/speex/Makefile
+++ b/audio/speex/Makefile
@@ -8,20 +8,29 @@
PORTNAME= speex
PORTVERSION= 1.0.b3
+PORTEPOCH= 1
CATEGORIES= audio
MASTER_SITES= http://www.speex.org/download/
-DISTNAME= speex-${PORTVERSION:S/.b/beta/}
+DISTNAME= ${PORTNAME}-${PORTVERSION:S/.b/beta/}
MAINTAINER= ports@FreeBSD.org
LIB_DEPENDS= ogg.4:${PORTSDIR}/audio/libogg \
gnugetopt.1:${PORTSDIR}/devel/libgnugetopt
+USE_REINPLACE= yes
USE_LIBTOOL= yes
LIBTOOLFLAGS= --disable-ltlibs --release-ignore
-CONFIGURE_TARGET= --build=${ARCH}-portbld-freebsd${OSREL}
+CONFIGURE_TARGET= --build=${MACHINE_ARCH}-portbld-freebsd${OSREL}
CONFIGURE_ENV= CPPFLAGS="-I${LOCALBASE}/include" \
LDFLAGS="-L${LOCALBASE}/lib -lgnugetopt"
INSTALLS_SHLIB= yes
+MAN1= speexdec.1 speexenc.1
+
+post-patch:
+ @${FIND} ${WRKSRC} -name "Makefile.in" | ${XARGS} ${REINPLACE_CMD} -e \
+ 's|doc win32|win32|g ; \
+ s|^mandir =.*$$|mandir = @mandir@|g'
+
.include <bsd.port.mk>
diff --git a/audio/speex/pkg-descr b/audio/speex/pkg-descr
index 973b41e13069..4ad2193cb240 100644
--- a/audio/speex/pkg-descr
+++ b/audio/speex/pkg-descr
@@ -4,4 +4,4 @@ designed for compressing voice at low bit-rates for applications such as
voice over IP (VoIP). In some sense, it is meant to be complementary to
the Ogg Vorbis codec.
-WWW: http://speex.sourceforge.net/
+WWW: http://www.speex.org/
diff --git a/audio/speex/pkg-plist b/audio/speex/pkg-plist
index e528504a4de5..027cd959ec1e 100644
--- a/audio/speex/pkg-plist
+++ b/audio/speex/pkg-plist
@@ -1,11 +1,11 @@
@comment $FreeBSD$
bin/speexdec
bin/speexenc
-bin/testenc
-bin/testenc_wb
include/speex.h
include/speex_bits.h
+include/speex_callbacks.h
include/speex_header.h
+include/speex_stereo.h
lib/libspeex.a
lib/libspeex.so
lib/libspeex.so.0