aboutsummaryrefslogtreecommitdiffstats
path: root/audio/speex
diff options
context:
space:
mode:
authorijliao <ijliao@FreeBSD.org>2002-11-20 20:21:14 +0800
committerijliao <ijliao@FreeBSD.org>2002-11-20 20:21:14 +0800
commit36e6dec240193ba679aa4b831f960e4bad8f0fe0 (patch)
treea641bc6a4e55b293f15b1ffd39af7aa8d63df89b /audio/speex
parent4522ef51f872492344b522075bd098132178ed09 (diff)
downloadfreebsd-ports-gnome-36e6dec240193ba679aa4b831f960e4bad8f0fe0.tar.gz
freebsd-ports-gnome-36e6dec240193ba679aa4b831f960e4bad8f0fe0.tar.zst
freebsd-ports-gnome-36e6dec240193ba679aa4b831f960e4bad8f0fe0.zip
- Add missing MAN line
- Fix pkg-plist - Update WWW: line PR: 45422 Submitted by: Ports Fury
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