summaryrefslogtreecommitdiffstats
path: root/security/libcryptui/Makefile
blob: 369deaa46c98a901a314a0f43b52711d911e639d (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
# Created by: Dave McKay <dave@mu.org>
# $FreeBSD$
#   $MCom: ports/trunk/security/libcryptui/Makefile 17268 2013-04-01 05:13:11Z marcus $

PORTNAME=   libcryptui
PORTVERSION=    3.4.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:${PORTSDIR}/security/gpgme \
            dbus-glib-1:${PORTSDIR}/devel/dbus-glib \
        gnome-keyring:${PORTSDIR}/security/libgnome-keyring
RUN_DEPENDS=    gpg:${PORTSDIR}/security/gnupg

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

USE_LDCONFIG=   yes
USE_XZ=     yes
USES=       gettext pathfix pkgconfig
USE_GMAKE=  yes
USE_GNOME=  intlhack gnomeprefix gnomedocutils gtk30
GNU_CONFIGURE=  yes
CPPFLAGS+=  -I${LOCALBASE}/include
LDFLAGS+=   -L${LOCALBASE}/lib
CONFIGURE_ARGS= --enable-introspection=no

GLIB_SCHEMAS=   org.gnome.seahorse.recipients.gschema.xml
MAN1=       seahorse-daemon.1

OPTIONS_DEFINE= NOTIFY

.include <bsd.port.options.mk>

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

.include <bsd.port.mk>