mirror of
https://git.FreeBSD.org/ports.git
synced 2024-12-03 01:23:49 +00:00
3f651573ad
Begin autotools sanitization sequence by requiring ports to explicitly specify which version of {libtool,autoconf,automake} they need, erasing the concept of a "system default". For ports-in-waiting: USE_LIBTOOL=YES -> USE_LIBTOOL_VER=13 USE_AUTOCONF=YES -> USE_AUTOCONF_VER=213 USE_AUTOMAKE=YES -> USE_AUTOMAKE_VER=14 Ports attempting to use the old style system after June 1st 2004 will be sorely disappointed.
43 lines
1.0 KiB
Makefile
43 lines
1.0 KiB
Makefile
# ex:ts=8
|
|
# Ports collection makefile for: Speex
|
|
# Date created: Jul 30, 2002
|
|
# Whom: ijliao
|
|
#
|
|
# $FreeBSD$
|
|
#
|
|
|
|
PORTNAME= speex
|
|
PORTVERSION= 1.0.3
|
|
PORTREVISION= 1
|
|
PORTEPOCH= 1
|
|
CATEGORIES= audio
|
|
MASTER_SITES= http://www.speex.org/download/
|
|
DISTNAME= ${PORTNAME}-${PORTVERSION:S/.r/rc/}
|
|
|
|
MAINTAINER= jre@vineyard.net
|
|
COMMENT= An open-source patent-free voice codec
|
|
|
|
LIB_DEPENDS= ogg.5:${PORTSDIR}/audio/libogg
|
|
|
|
USE_GETOPT_LONG= yes
|
|
USE_REINPLACE= yes
|
|
USE_LIBTOOL_VER= 13
|
|
LIBTOOLFLAGS= --disable-ltlibs --release-ignore
|
|
CONFIGURE_TARGET= --build=${MACHINE_ARCH}-portbld-freebsd${OSREL}
|
|
CONFIGURE_ENV= CPPFLAGS="${CPPFLAGS}" LDFLAGS="${LDFLAGS}"
|
|
INSTALLS_SHLIB= yes
|
|
|
|
MAN1= speexdec.1 speexenc.1
|
|
|
|
CPPFLAGS= -I${LOCALBASE}/include
|
|
LDFLAGS= -L${LOCALBASE}/lib
|
|
|
|
post-patch:
|
|
@${FIND} ${WRKSRC} -name "Makefile.in" | ${XARGS} ${REINPLACE_CMD} -e \
|
|
's|doc win32|win32|g ; \
|
|
s|^mandir =.*$$|mandir = @mandir@|g'
|
|
@${REINPLACE_CMD} -e 's| in -lgnugetopt||g ; \
|
|
s|LIBS="-lgnugetopt|LIBS="|g' ${WRKSRC}/configure
|
|
|
|
.include <bsd.port.mk>
|