summaryrefslogtreecommitdiffstats
path: root/mail/geary/Makefile
blob: 33d045b2d4b45aa6d447aec54470d4d80aafd480 (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
37
38
39
# Created by: Gustau Perez <gustau.perez@gmail.com>
# $FreeBSD$
#   $MCom$

PORTNAME=   geary
PORTVERSION=    0.8.2
CATEGORIES= deskutils gnome
MASTER_SITES=   GNOME
DIST_SUBDIR=    gnome3

MAINTAINER= gnome@FreeBSD.org
COMMENT=    Mail client for GNOME 3

BUILD_DEPENDS=  vapigen:${PORTSDIR}/lang/vala \
        bash:${PORTSDIR}/shells/bash
LIB_DEPENDS=    libgmime-2.6.so:${PORTSDIR}/mail/gmime26 \
        libwebkitgtk-3.0.so:${PORTSDIR}/www/webkit-gtk3 \
        libcanberra-gtk3.so:${PORTSDIR}/audio/libcanberra-gtk3 \
        libnotify.so:${PORTSDIR}/devel/libnotify \
        libgee-0.8.so:${PORTSDIR}/devel/libgee \
        libgcr-3.so:${PORTSDIR}/security/gcr

USES=       cmake desktop-file-utils gettext gmake \
        libtool pathfix pkgconfig tar:xz
USE_GNOME=  gnomedocutils gnomeprefix gtk30 intlhack
USE_LDCONFIG=   yes
GNU_CONFIGURE=  yes
INSTALLS_ICONS= yes
CONFIGURE_ARGS= --prefix=${PREFIX}
CPPFLAGS+=  -I${LOCALBASE}/include
LDFLAGS+=   -L${LOCALBASE}/lib

GLIB_SCHEMAS=   org.yorba.geary.gschema.xml

post-patch:
        @${REINPLACE_CMD} -e 's|abort $$option||g' \
            ${WRKSRC}/configure

.include <bsd.port.mk>