summaryrefslogtreecommitdiffstats
path: root/security/seahorse3/Makefile
blob: 996e4cc8ffa132104704986f9fd1a492e2fba14f (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
64
65
66
67
68
69
70
71
72
73
# New ports collection makefile for:    Seahorse
# Date created:     08 March 2000
# Whom:         Dave McKay <dave@mu.org>
#
# $FreeBSD$
#   $MCom$
#

PORTNAME=   seahorse
PORTVERSION=    3.4.1
PORTREVISION=   1
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
LIB_DEPENDS=    gpgme.19:${PORTSDIR}/security/gpgme \
            dbus-glib-1.2:${PORTSDIR}/devel/dbus-glib \
        gnome-keyring:${PORTSDIR}/security/libgnome-keyring \
        cryptui.0:${PORTSDIR}/security/libcryptui \
        gcr-3.1:${PORTSDIR}/security/gcr \
        gcrypt.18:${PORTSDIR}/security/libgcrypt \
        soup-2.4.1:${PORTSDIR}/devel/libsoup
RUN_DEPENDS=    gpg:${PORTSDIR}/security/gnupg

CONFLICTS=  seahorse-2.[0-9]*

LATEST_LINK=    seahorse3
USE_XORG=   sm
USE_LDCONFIG=   yes
USE_XZ=     yes
USE_GETTEXT=    yes
USE_GMAKE=  yes
USE_GNOME=  gnomehack intlhack gnomeprefix gtk30 gnomedocutils
GNU_CONFIGURE=  yes
INSTALLS_OMF=   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
MAN1=       seahorse.1

OPTIONS=    LDAP "Enable LDAP support" on \
        NOTIFY "Enable libnotify support" on \
        MDNS "Enable mDNS key sharing" on

.include <bsd.port.options.mk>

.if !defined(WITHOUT_LDAP)
USE_OPENLDAP=   yes
.else
CONFIGURE_ARGS+=--disable-ldap
.endif

.if !defined(WITHOUT_NOTIFY)
LIB_DEPENDS+=   notify.4:${PORTSDIR}/devel/libnotify
.else
CONFIGURE_ARGS+=--disable-libnotify
.endif

.if !defined(WITHOUT_MDNS)
LIB_DEPENDS+=   avahi-client:${PORTSDIR}/net/avahi-app
.else
CONFIGURE_ARGS+=--disable-sharing
.endif

.include <bsd.port.mk>