# New ports collection makefile for: gnomoradio # Date created: 23 Oct 2004 # Whom: Jean-Yves Lefort # # $FreeBSD$ # PORTNAME= gnomoradio PORTVERSION= 0.15.1 PORTREVISION= 16 CATEGORIES= audio net MASTER_SITES= ${MASTER_SITE_SAVANNAH} MASTER_SITE_SUBDIR= ${PORTNAME} MAINTAINER= gahr@FreeBSD.org COMMENT= A program for finding and playing free music from the Internet LIB_DEPENDS= sigc-2.0:${PORTSDIR}/devel/libsigc++20 \ gtkmm-2.4:${PORTSDIR}/x11-toolkits/gtkmm24 \ gconfmm-2.6:${PORTSDIR}/devel/gconfmm26 \ xml\\+\\+-2.6:${PORTSDIR}/textproc/libxml++26 \ vorbis:${PORTSDIR}/audio/libvorbis \ ao:${PORTSDIR}/audio/libao USE_GNOME= gnomehack gnomeprefix USE_AUTOTOOLS= libtool USE_LDCONFIG= yes LIBTOOLFLAGS= --tag=CXX CPPFLAGS+= -I${LOCALBASE}/include LDFLAGS+= -L${LOCALBASE}/lib post-patch: @${REINPLACE_CMD} -e 's|CCLD = $$(CC)|CCLD = $$(CXX)|; \ s|-lpthread|${PTHREAD_LIBS}|' \ ${WRKSRC}/roboradio/mp3/Makefile.in @${REINPLACE_CMD} -e 's|static char|static const char|' \ ${WRKSRC}/gnomoradio/*.xpm @${REINPLACE_CMD} -e 's|glib/.*\.h>|glib.h>|g' \ ${WRKSRC}/roboradio/mp3/common.c \ ${WRKSRC}/roboradio/mp3/esd-audio.[ch] \ ${WRKSRC}/roboradio/mp3/id3.h .include