aboutsummaryrefslogtreecommitdiffstats
path: root/mail/geary/Makefile
blob: c60763b7e5566e2cd51a128f6c9b9dadda4dd53f (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
40
# Created by: Gustau Perez <gustau.perez@gmail.com>
# $FreeBSD$
#   $MCom: ports/trunk/mail/geary/Makefile 20050 2014-11-10 09:22:41Z gusi $

PORTNAME=   geary
PORTVERSION=    0.9.1
CATEGORIES= mail 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 shebangfix tar:xz
USE_GNOME=  gnomedocutils gnomeprefix gtk30 intlhack
SHEBANG_FILES=  desktop/geary-attach
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>