789d75c728
-Update libtool and libltdl to 2.2.6a. -Remove devel/libtool15 and devel/libltdl15. -Fix ports build with libtool22/libltdl22. -Bump ports that depend on libltdl22 due to shared library version change. -Explain what to do update in the UPDATING. It has been tested with GNOME2, XFCE4, KDE3, KDE4 and other many wm/desktop and applications in the runtime. With help: marcus and kwm Pointyhat-exp: a few times by pav Tested by: pgollucci, "Romain Tartière" <romain@blogreen.org>, and a few MarcusCom CVS users. Also, I might have missed a few. Repocopy by: marcus Approved by: portmgr
49 lines
1.1 KiB
Makefile
49 lines
1.1 KiB
Makefile
# Ports collection makefile for: Speex
|
|
# Date created: Jul 30, 2002
|
|
# Whom: ijliao
|
|
#
|
|
# $FreeBSD$
|
|
#
|
|
|
|
PORTNAME= speex
|
|
DISTVERSION= 1.2rc1
|
|
PORTREVISION= 2
|
|
PORTEPOCH= 1
|
|
CATEGORIES= audio
|
|
MASTER_SITES= http://downloads.us.xiph.org/releases/speex/
|
|
|
|
MAINTAINER= multimedia@FreeBSD.org
|
|
COMMENT= An open-source patent-free voice codec
|
|
|
|
LIB_DEPENDS= ogg.6:${PORTSDIR}/audio/libogg
|
|
|
|
CONFLICTS= speex-devel-[0-9]*
|
|
|
|
USE_GNOME= gnomehack gnometarget ltverhack
|
|
USE_LDCONFIG= yes
|
|
USE_AUTOTOOLS= libtool:22
|
|
GNU_CONFIGURE= yes
|
|
MAKE_JOBS_SAFE= yes
|
|
CONFIGURE_ARGS= --with-ogg-dir=${LOCALBASE}
|
|
CONFIGURE_ENV= CPPFLAGS="-I${LOCALBASE}/include" \
|
|
LDFLAGS="-L${LOCALBASE}/lib"
|
|
|
|
MAN1= speexdec.1 speexenc.1
|
|
|
|
.include <bsd.port.pre.mk>
|
|
|
|
.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|malloc.h|stdlib.h|' \
|
|
${WRKSRC}/*/*.h
|
|
@${REINPLACE_CMD} -e 's| in -lgnugetopt||g ; \
|
|
s|LIBS="-lgnugetopt|LIBS="|g' ${WRKSRC}/configure
|
|
|
|
.include <bsd.port.post.mk>
|