2000-06-07 17:15:03 +00:00
|
|
|
# New ports collection makefile for: libshout
|
|
|
|
# Date created: 06 Jun 2000
|
|
|
|
# Whom: zach@pabst.bendnet.com
|
|
|
|
#
|
|
|
|
# $FreeBSD$
|
|
|
|
#
|
|
|
|
|
2003-01-15 20:40:48 +00:00
|
|
|
PORTNAME= libshout2
|
2003-08-06 15:21:10 +00:00
|
|
|
PORTVERSION= 2.0
|
|
|
|
PORTEPOCH= 1
|
2000-06-07 17:15:03 +00:00
|
|
|
CATEGORIES= audio net
|
2003-08-06 15:21:10 +00:00
|
|
|
MASTER_SITES= http://www.icecast.org/files/libshout/
|
|
|
|
DISTNAME= libshout-${PORTVERSION}
|
2000-06-07 17:15:03 +00:00
|
|
|
|
2003-08-06 15:21:10 +00:00
|
|
|
MAINTAINER= lofi@freebsd.org
|
2003-02-21 11:08:38 +00:00
|
|
|
COMMENT= Routines for connecting and transmitting data to the icecast server
|
2000-06-07 17:15:03 +00:00
|
|
|
|
2003-01-15 20:40:48 +00:00
|
|
|
LIB_DEPENDS= ogg.4:${PORTSDIR}/audio/libogg \
|
|
|
|
vorbis.2:${PORTSDIR}/audio/libvorbis
|
|
|
|
|
|
|
|
CONFIGURE_ENV= CFLAGS="${PTHREAD_CFLAGS} -I${LOCALBASE}/include" \
|
|
|
|
LDFLAGS="${PTHREAD_LIBS} -L${LOCALBASE}/lib"
|
2000-06-16 21:52:40 +00:00
|
|
|
INSTALLS_SHLIB= yes
|
2003-01-15 20:40:48 +00:00
|
|
|
USE_GMAKE= yes
|
2003-08-12 22:20:53 +00:00
|
|
|
WANT_GNOME= yes
|
|
|
|
USE_LIBTOOL_VER=13
|
2003-08-06 15:21:10 +00:00
|
|
|
CONFLICTS= libshout-1.0.7
|
2003-08-12 22:20:53 +00:00
|
|
|
USE_REINPLACE= yes
|
2000-06-07 17:15:03 +00:00
|
|
|
|
2003-08-12 22:20:53 +00:00
|
|
|
.include <bsd.port.pre.mk>
|
|
|
|
|
|
|
|
.if ${HAVE_GNOME:Mpkgconfig}!=""
|
|
|
|
USE_GNOME+= pkgconfig
|
|
|
|
PLIST_SUB+= WITH_PKGCONFIG=""
|
|
|
|
.else
|
|
|
|
CONFIGURE_ARGS+=--disable-pkgconfig
|
|
|
|
PLIST_SUB+= WITH_PKGCONFIG="@comment "
|
|
|
|
.endif
|
|
|
|
|
|
|
|
post-configure:
|
|
|
|
@ ${REINPLACE_CMD} -e "s|pkgconfigdir =.*|pkgconfigdir = ${PREFIX}/libdata/pkgconfig|g" \
|
|
|
|
${WRKSRC}/Makefile
|
|
|
|
|
|
|
|
.include <bsd.port.post.mk>
|