summaryrefslogtreecommitdiff
path: root/security/seahorse/Makefile
blob: 95e2f8701fe8858f2b60c76aec673ba100acdcdd (plain)
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
# $NetBSD: Makefile,v 1.81 2009/05/19 08:59:33 wiz Exp $

DISTNAME=	seahorse-2.26.1
CATEGORIES=	security
MASTER_SITES=	${MASTER_SITE_GNOME:=sources/seahorse/2.26/}
EXTRACT_SUFX=	.tar.bz2

MAINTAINER=	pkgsrc-users@NetBSD.org
HOMEPAGE=	http://www.gnome.org/projects/seahorse/
COMMENT=	GnuPG front end and bonobo component for GNOME
#LICENSE=	gnu-gpl-v2 AND gnu-fdl-v1.1 AND gnu-lgpl-v2

PKG_DESTDIR_SUPPORT=	user-destdir

DEPENDS+=		gnupg>=1.2.1:../../security/gnupg

.if exists(/usr/bin/ssh) && exists(/usr/bin/ssh-add) && exists(/usr/bin/ssh-keygen)
SSH_PATH=/usr/bin/ssh
SSH_ADD_PATH=/usr/bin/ssh-add
SSH_KEYGEN_PATH=/usr/bin/ssh-keygen
.else
DEPENDS+=		{ssh{,6}-[0-9]*,openssh-[0-9]*}:../../security/openssh
SSH_PATH=${PREFIX}/bin/ssh
SSH_ADD_PATH=${PREFIX}/bin/ssh-add
SSH_KEYGEN_PATH=${PREFIX}/ssh-keygen
.endif

GNU_CONFIGURE=		yes
USE_DIRS+=		gnome2-1.5
USE_TOOLS+=		gawk gmake intltool msgfmt pkg-config
USE_LIBTOOL=		yes
USE_PKGLOCALEDIR=	yes

CONFIGURE_ARGS+=	--disable-gedit
CONFIGURE_ARGS+=	--disable-nautilus
CONFIGURE_ENV+=		SSH_PATH=${SSH_PATH:Q}
CONFIGURE_ENV+=		SSH_ADD_PATH=${SSH_ADD_PATH:Q}
CONFIGURE_ENV+=		SSH_KEYGEN_PATH=${SSH_KEYGEN_PATH:Q}

PKGCONFIG_OVERRIDE+=	libcryptui/cryptui.pc.in
GCONF_SCHEMAS= 	seahorse.schemas

.include "../../databases/gnome-mime-data/buildlink3.mk"
.include "../../databases/shared-mime-info/mimedb.mk"
.include "../../devel/GConf/schemas.mk"
.include "../../devel/libglade/buildlink3.mk"
.include "../../net/avahi/buildlink3.mk"
.include "../../net/libsoup24/buildlink3.mk"
.include "../../security/gnome-keyring/buildlink3.mk"
BUILDLINK_API_DEPENDS.gpgme+=	gpgme>=1.0.1nb2
.include "../../security/gpgme/buildlink3.mk"
.include "../../sysutils/dbus-glib/buildlink3.mk"
.include "../../sysutils/libnotify/buildlink3.mk"
.include "../../textproc/gnome-doc-utils/buildlink3.mk"
.include "../../mk/omf-scrollkeeper.mk"
.include "../../x11/gtk2/buildlink3.mk"
.include "../../x11/libSM/buildlink3.mk"
.include "../../graphics/hicolor-icon-theme/buildlink3.mk"
.include "../../sysutils/desktop-file-utils/desktopdb.mk"
.include "../../mk/bsd.pkg.mk"