1
0
mirror of https://git.FreeBSD.org/ports.git synced 2024-12-28 05:29:48 +00:00
freebsd-ports/audio/libshout2/Makefile
Michael Nottebrock 2394171dd5 Respect CFLAGS.
PR: 71001
Submitted by: "Paul Seniura" <pdseniura@techie.com>
2004-08-26 20:21:59 +00:00

38 lines
943 B
Makefile

# New ports collection makefile for: libshout
# Date created: 06 Jun 2000
# Whom: zach@pabst.bendnet.com
#
# $FreeBSD$
#
PORTNAME= libshout2
PORTVERSION= 2.0
PORTREVISION= 5
PORTEPOCH= 1
CATEGORIES= audio net
MASTER_SITES= http://www.icecast.org/files/libshout/
DISTNAME= libshout-${PORTVERSION}
MAINTAINER= lofi@freebsd.org
COMMENT= Routines for connecting and transmitting data to the icecast server
LIB_DEPENDS= vorbis.3:${PORTSDIR}/audio/libvorbis
CONFIGURE_ENV= CFLAGS="${CFLAGS} ${PTHREAD_CFLAGS} -I${LOCALBASE}/include" \
LDFLAGS="${PTHREAD_LIBS} -L${LOCALBASE}/lib"
INSTALLS_SHLIB= yes
USE_GMAKE= yes
USE_GNOME+= pkgconfig
USE_INC_LIBTOOL_VER=13
CONFLICTS= libshout-1.0.7
USE_REINPLACE= yes
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>