3e4ed01146
- Remove USE_XLIB/USE_X_PREFIX/USE_XPM in favor of USE_XORG - Remove X11BASE support in favor of LOCALBASE or PREFIX - Use USE_LDCONFIG instead of INSTALLS_SHLIB - Remove unneeded USE_GCC 3.4+ Thanks to all Helpers: Dmitry Marakasov, Chess Griffin, beech@, dinoex, rafan, gahr, ehaupt, nox, itetcu, flz, pav PR: 116263 Tested on: pointyhat Approved by: portmgr (pav)
38 lines
1,008 B
Makefile
38 lines
1,008 B
Makefile
# New ports collection makefile for: libshout
|
|
# Date created: 06 Jun 2000
|
|
# Whom: zach@pabst.bendnet.com
|
|
#
|
|
# $FreeBSD$
|
|
#
|
|
|
|
PORTNAME= libshout2
|
|
PORTVERSION= 2.2.2
|
|
PORTREVISION= 2
|
|
PORTEPOCH= 1
|
|
CATEGORIES= audio net
|
|
MASTER_SITES= http://downloads.xiph.org/releases/libshout/
|
|
DISTNAME= libshout-${PORTVERSION}
|
|
|
|
MAINTAINER= lofi@freebsd.org
|
|
COMMENT= Routines for connecting and transmitting data to the icecast server
|
|
|
|
LIB_DEPENDS= speex.1:${PORTSDIR}/audio/speex \
|
|
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>
|