summaryrefslogtreecommitdiff
path: root/audio/speex/Makefile
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/Makefile
parent- Fix LIB_DEPENDS (diff)
- Add missing MAN line
- Fix pkg-plist - Update WWW: line PR: 45422 Submitted by: Ports Fury
Notes
Notes: svn path=/head/; revision=70565
Diffstat (limited to 'audio/speex/Makefile')
-rw-r--r--audio/speex/Makefile13
1 files changed, 11 insertions, 2 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>