2000-06-07 19:15:03 +02:00
|
|
|
# New ports collection makefile for: libshout
|
|
|
|
# Date created: 06 Jun 2000
|
|
|
|
# Whom: zach@pabst.bendnet.com
|
|
|
|
#
|
|
|
|
# $FreeBSD$
|
|
|
|
#
|
|
|
|
|
2003-01-15 21:40:48 +01:00
|
|
|
PORTNAME= libshout2
|
|
|
|
PORTVERSION= 20021112
|
2003-01-25 23:30:18 +01:00
|
|
|
PORTREVISION= 1
|
2000-06-07 19:15:03 +02:00
|
|
|
CATEGORIES= audio net
|
2003-01-15 21:40:48 +01:00
|
|
|
MASTER_SITES= http://tigress.com/lofi/ \
|
|
|
|
http://lofi.dyndns.org/
|
|
|
|
DISTNAME= libshout-devel-${PORTVERSION}
|
2000-06-07 19:15:03 +02:00
|
|
|
|
2003-01-15 21:40:48 +01:00
|
|
|
MAINTAINER= michaelnottebrock@gmx.net
|
2000-06-07 19:15:03 +02:00
|
|
|
|
2003-01-15 21:40:48 +01: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 23:52:40 +02:00
|
|
|
INSTALLS_SHLIB= yes
|
2003-01-15 21:40:48 +01:00
|
|
|
USE_GMAKE= yes
|
2003-01-25 23:30:18 +01:00
|
|
|
USE_AUTOMAKE= yes
|
2003-01-15 21:40:48 +01:00
|
|
|
USE_LIBTOOL= yes
|
|
|
|
USE_REINPLACE= yes
|
|
|
|
|
|
|
|
WRKSRC= ${WRKDIR}/libshout
|
|
|
|
|
|
|
|
post-configure:
|
|
|
|
@${REINPLACE_CMD} -e 's|-lpthread|${PTHREAD_LIBS}|'\
|
|
|
|
${WRKSRC}/examples/Makefile
|
|
|
|
@${REINPLACE_CMD} -E -e 's|(INCLUDES \=.*)|\1 -I${LOCALBASE}/include|'\
|
|
|
|
${WRKSRC}/src/Makefile
|
|
|
|
@${REINPLACE_CMD} -e 's|-O20|${CFLAGS}|' ${WRKSRC}/examples/Makefile \
|
|
|
|
${WRKSRC}/include/Makefile \
|
|
|
|
${WRKSRC}/include/shout/Makefile \
|
|
|
|
${WRKSRC}/src/avl/Makefile \
|
|
|
|
${WRKSRC}/src/httpp/Makefile \
|
|
|
|
${WRKSRC}/src/net/Makefile \
|
|
|
|
${WRKSRC}/src/timing/Makefile \
|
|
|
|
${WRKSRC}/src/thread/Makefile \
|
|
|
|
${WRKSRC}/src/Makefile \
|
|
|
|
${WRKSRC}/Makefile
|
2000-06-07 19:15:03 +02:00
|
|
|
|
|
|
|
.include <bsd.port.mk>
|