summaryrefslogtreecommitdiffstats
path: root/security/seahorse/Makefile
blob: 02fe9705d48d4b5b98d9c16485e97359d39a1dd0 (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
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
# Created by: Dave McKay <dave@mu.org>
# $FreeBSD$
#   $MCom: ports/trunk/security/seahorse3/Makefile 18480 2013-05-17 20:20:19Z kwm $

PORTNAME=   seahorse
PORTVERSION=    3.6.3
CATEGORIES= security gnome
MASTER_SITES=   GNOME
DIST_SUBDIR=    gnome3

MAINTAINER= gnome@FreeBSD.org
COMMENT=    GNOME application for managing encryption keys (PGP, SSH)

BUILD_DEPENDS=  gpg:${PORTSDIR}/security/gnupg \
        itstool:${PORTSDIR}/textproc/itstool
LIB_DEPENDS=    libgpgme.so:${PORTSDIR}/security/gpgme \
        libdbus-glib-1.so:${PORTSDIR}/devel/dbus-glib \
        libgnome-keyring.so:${PORTSDIR}/security/libgnome-keyring \
        libcryptui.so:${PORTSDIR}/security/libcryptui \
        libgcr-3.so:${PORTSDIR}/security/gcr \
        libgcrypt.so:${PORTSDIR}/security/libgcrypt \
        libsecret-1.so:${PORTSDIR}/security/libsecret \
        libsoup-2.4.so:${PORTSDIR}/devel/libsoup
RUN_DEPENDS=    gpg:${PORTSDIR}/security/gnupg

USE_XORG=   sm
USE_LDCONFIG=   yes
USE_XZ=     yes
USES=       gettext gmake pathfix pkgconfig
USE_GNOME=  intlhack gnomeprefix gtk30
GNU_CONFIGURE=  yes
INSTALLS_ICONS= yes
CPPFLAGS+=  -I${LOCALBASE}/include
LDFLAGS+=   -L${LOCALBASE}/lib

GLIB_SCHEMAS=   org.gnome.seahorse.gschema.xml \
        org.gnome.seahorse.manager.gschema.xml \
        org.gnome.seahorse.window.gschema.xml

OPTIONS_DEFINE= LDAP NOTIFY AVAHI
OPTIONS_DEFAULT=LDAP NOTIFY AVAHI

.include <bsd.port.options.mk>

.if ${PORT_OPTIONS:MLDAP}
USE_OPENLDAP=   yes
.else
CONFIGURE_ARGS+=--disable-ldap
.endif

.if ${PORT_OPTIONS:MNOTIFY}
LIB_DEPENDS+=   libnotify.so:${PORTSDIR}/devel/libnotify
.else
CONFIGURE_ARGS+=--disable-libnotify
.endif

.if ${PORT_OPTIONS:MAVAHI}
LIB_DEPENDS+=   libavahi-client.so:${PORTSDIR}/net/avahi-app
.else
CONFIGURE_ARGS+=--disable-sharing
.endif

.include <bsd.port.mk>