freebsd-ports/audio/libshout2/Makefile

39 lines
1,008 B
Makefile
Raw Normal View History

# New ports collection makefile for: libshout
# Date created: 06 Jun 2000
# Whom: zach@pabst.bendnet.com
#
# $FreeBSD$
#
PORTNAME= libshout2
2007-03-30 04:10:54 +02:00
PORTVERSION= 2.2.2
2007-10-09 20:20:07 +02:00
PORTREVISION= 2
PORTEPOCH= 1
CATEGORIES= audio net
2005-04-08 01:56:13 +02:00
MASTER_SITES= http://downloads.xiph.org/releases/libshout/
DISTNAME= libshout-${PORTVERSION}
MAINTAINER= lofi@freebsd.org
2003-02-21 12:08:38 +01:00
COMMENT= Routines for connecting and transmitting data to the icecast server
LIB_DEPENDS= speex.1:${PORTSDIR}/audio/speex \
2007-10-09 20:20:07 +02:00
theora.0:${PORTSDIR}/multimedia/libtheora \
vorbis.4:${PORTSDIR}/audio/libvorbis
CONFIGURE_ENV= CFLAGS="${CFLAGS} ${PTHREAD_CFLAGS} -I${LOCALBASE}/include" \
LDFLAGS="${PTHREAD_LIBS} -L${LOCALBASE}/lib"
USE_LDCONFIG= yes
USE_GMAKE= yes
USE_GNOME+= pkgconfig
GNU_CONFIGURE= yes
CONFLICTS= libshout-1.0.7
pre-configure:
@ ${REINPLACE_CMD} -e "s|-ffast-math||g" ${WRKSRC}/configure
post-configure:
@ ${REINPLACE_CMD} -e "s|pkgconfigdir =.*|pkgconfigdir = ${PREFIX}/libdata/pkgconfig|g" \
${WRKSRC}/Makefile
.include <bsd.port.mk>