1
0
mirror of https://git.FreeBSD.org/ports.git synced 2025-01-07 06:40:06 +00:00
freebsd-ports/audio/speex-devel/Makefile
Michael Johnson cf60be1fc4 - Fix plist
Reported by:	kris via pointyhat
2005-12-08 01:53:19 +00:00

55 lines
1.2 KiB
Makefile

# ex:ts=8
# Ports collection makefile for: Speex
# Date created: Jul 30, 2002
# Whom: ijliao
#
# $FreeBSD$
#
PORTNAME= speex
PORTVERSION= 1.1.11.1
PORTREVISION= 2
PORTEPOCH= 1
CATEGORIES= audio
MASTER_SITES= http://downloads.us.xiph.org/releases/speex/
PKGNAMESUFFIX= -devel
MAINTAINER= ahze@FreeBSD.org
COMMENT= An open-source patent-free voice codec
LIB_DEPENDS= ogg.5:${PORTSDIR}/audio/libogg
CONFLICTS= speex-1.0*
USE_GNOME= gnomehack
USE_GETOPT_LONG= yes
USE_REINPLACE= yes
USE_AUTOTOOLS= libtool:15
CONFIGURE_TARGET= --build=${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
.include <bsd.port.pre.mk>
.if ${OSVERSION} < 500000
BROKEN="Does not build"
.endif
.if ${MACHINE_CPU:Msse}!=""
CONFIGURE_ARGS+= --enable-sse
.endif
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.post.mk>