summaryrefslogblamecommitdiffstats
path: root/audio/gnomoradio/Makefile
blob: 288c3e4518281f1273f57c428f68e53580510680 (plain) (tree)
1
2
3
4
5
6
7
8
9




                                                                      
 


                                  
                         

















                                                                                      
                           



                                                           





                                   




                                                                
                           
# New ports collection makefile for:    gnomoradio
# Date created:         23 Oct 2004
# Whom:             Jean-Yves Lefort <jylefort@brutele.be>
#
# $FreeBSD$
#

PORTNAME=       gnomoradio
PORTVERSION=        0.15.1
PORTREVISION=       8
CATEGORIES=     audio net
MASTER_SITES=       ${MASTER_SITE_SAVANNAH}
MASTER_SITE_SUBDIR= ${PORTNAME}

MAINTAINER=     ports@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_XLIB=       yes
USE_GCC=        3.4+
USE_GNOME=      gnomehack gnomeprefix
USE_AUTOTOOLS=      libtool:15
USE_LDCONFIG=       yes
LIBTOOLFLAGS=       --tag=CXX
CONFIGURE_ENV=      CPPFLAGS="-I${LOCALBASE}/include" \
            LDFLAGS="-L${LOCALBASE}/lib"

.include <bsd.port.pre.mk>

.if ${OSVERSION} >= 700042
BROKEN=     Broken with gcc 4.2
.endif

post-patch:
    @${REINPLACE_CMD} -e 's|CCLD = $$(CC)|CCLD = $$(CXX)|; \
        s|-lpthread|${PTHREAD_LIBS}|' \
        ${WRKSRC}/roboradio/mp3/Makefile.in

.include <bsd.port.post.mk>