summaryrefslogtreecommitdiffstats
path: root/net/glib-networking/Makefile
blob: 855b5df892f06f595f43627593469909c3d33cce (plain) (blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
# Created by: Koop Mast <kwm@FreeBSD.org>
# $FreeBSD$
#   $MCom: ports/trunk/net/glib-networking/Makefile 19717 2014-06-01 08:41:11Z kwm $

PORTNAME=   glib-networking
PORTVERSION=    2.40.1
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=    libgnutls.so:${PORTSDIR}/security/gnutls \
        libgcrypt.so:${PORTSDIR}/security/libgcrypt \
        libp11-kit.so:${PORTSDIR}/security/p11-kit \
        libdbus-1.so:${PORTSDIR}/devel/dbus \
        libproxy.so:${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

USES=       gettext gmake pathfix pkgconfig tar:xz
USE_GNOME=  glib20 intltool
GNU_CONFIGURE=  yes
CONFIGURE_ARGS= --with-ca-certificates=${LOCALBASE}/share/certs/ca-root-nss.crt
CPPFLAGS+=  -I${LOCALBASE}/include
LDFLAGS+=   -L${LOCALBASE}/lib
INSTALL_TARGET= install-strip

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

.include <bsd.port.mk>