summaryrefslogblamecommitdiffstats
path: root/net/glib-networking/Makefile
blob: e74fca2b471d11fec4f86df80e89c52727d6b3e7 (plain) (tree)
1
2
3
4
5
6
7
8
9




                                                           
                                                                                 


                               
                      
                 






                                                   

                                                                                           
                                                       
                                                 
                                                

                                                                                           


                   
                                                   


                   


                                                                              






                                                                              
# New ports collection makefile for:   glib-networking
# Date Created:         06 Jan 2011
# Whom:             Koop Mast <kwm@FreeBSD.org>
#
# $FreeBSD$
#   $MCom: ports/net/glib-networking/Makefile,v 1.4 2011/03/22 09:19:33 kwm Exp $
#

PORTNAME=   glib-networking
PORTVERSION=    2.28.4
PORTREVISION=   1
CATEGORIES= net
MASTER_SITES=   GNOME
DIST_SUBDIR=    gnome2

MAINTAINER= gnome@FreeBSD.org
COMMENT=    Network-related giomodules for glib

BUILD_DEPENDS=  ${LOCALBASE}/share/certs/ca-root-nss.crt:${PORTSDIR}/security/ca_root_nss \
        gsettings-desktop-schemas>=0:${PORTSDIR}/devel/gsettings-desktop-schemas
LIB_DEPENDS=    gnutls.40:${PORTSDIR}/security/gnutls \
        dbus-1.3:${PORTSDIR}/devel/dbus \
        proxy.1:${PORTSDIR}/net/libproxy
RUN_DEPENDS=    ${LOCALBASE}/share/certs/ca-root-nss.crt:${PORTSDIR}/security/ca_root_nss \
        gsettings-desktop-schemas>=0:${PORTSDIR}/devel/gsettings-desktop-schemas

USE_BZIP2=  yes
GNU_CONFIGURE=  yes
USE_GNOME=  gnomehack pkgconfig glib20 intltool
USE_GETTEXT=    yes
USE_GMAKE=  yes
MAKE_JOBS_SAFE= yes
CONFIGURE_ARGS= --with-ca-certificates=${LOCALBASE}/share/cert/ca-root-nss.crt
CPPFLAGS=   "-I${LOCALBASE}/include"
CONFIGURE_ENV=  LDFLAGS="-L${LOCALBASE}/lib" \
        PTHREAD_CFLAGS="${PTHREAD_CFLAGS}" \
        PTHREAD_LIBS="${PTHREAD_LIBS}"

post-patch:
    @${REINPLACE_CMD} -e' s|-Wmissing-include-dirs||g' ${WRKSRC}/configure

.include <bsd.port.mk>