aboutsummaryrefslogtreecommitdiffstats
path: root/security/seahorse/Makefile
blob: d81d01281bf266609c97ddcafcc105317b3d3fad (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
# Created by: Dave McKay <dave@mu.org>
# $FreeBSD$

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

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

BUILD_DEPENDS=  gnupg>=2.1.4:${PORTSDIR}/security/gnupg \
        valac:${PORTSDIR}/lang/vala \
        itstool:${PORTSDIR}/textproc/itstool
LIB_DEPENDS=    libgpgme.so:${PORTSDIR}/security/gpgme \
        libgcr-3.so:${PORTSDIR}/security/gcr \
        libsecret-1.so:${PORTSDIR}/security/libsecret \
        libsoup-2.4.so:${PORTSDIR}/devel/libsoup
RUN_DEPENDS=    gnupg>=2.1.4:${PORTSDIR}/security/gnupg

PORTSCOUT=  limitw:1,even

USE_XORG=   sm
USE_LDCONFIG=   yes
USES=       gettext gmake gnome libtool pathfix pkgconfig tar:xz
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_SUB=    yes
OPTIONS_DEFINE= LDAP AVAHI
OPTIONS_DEFAULT=LDAP AVAHI
LDAP_CONFIGURE_ENABLE=  ldap
LDAP_USE=   OPENLDAP=yes
LDAP_DESC=  LDAP keyserver support (for gpg)
AVAHI_DESC= DNS-SD key sharing
AVAHI_CONFIGURE_ENABLE= sharing
AVAHI_LIB_DEPENDS=  libavahi-client.so:${PORTSDIR}/net/avahi-app

.include <bsd.port.mk>