blob: 30ea939904ac8fe3b36c942877469b8dd24b5ed9 (
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
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
|
# New ports collection makefile for: Seahorse
# Date created: 08 March 2000
# Whom: Dave McKay <dave@mu.org>
#
# $FreeBSD$
# $MCom: ports/security/seahorse/Makefile,v 1.47 2007/10/15 17:59:07 mezz Exp $
#
PORTNAME= seahorse
PORTVERSION= 2.20.1
CATEGORIES= security gnome
MASTER_SITES= ${MASTER_SITE_GNOME}
MASTER_SITE_SUBDIR=sources/${PORTNAME}/${PORTVERSION:C/^([0-9]+\.[0-9]+).*/\1/}
DIST_SUBDIR= gnome2
MAINTAINER= gnome@FreeBSD.org
COMMENT= GNOME application for managing encryption keys (PGP, SSH)
BUILD_DEPENDS= gpg:${PORTSDIR}/security/gnupg
RUN_DEPENDS= gpg:${PORTSDIR}/security/gnupg
LIB_DEPENDS= gpgme.17:${PORTSDIR}/security/gpgme \
dbus-glib-1.2:${PORTSDIR}/devel/dbus-glib
USE_LDCONFIG= yes
USE_BZIP2= yes
USE_GETTEXT= yes
USE_XLIB= yes
USE_GMAKE= yes
USE_GECKO= firefox xulrunner firefox-devel<->firefox
USE_GNOME= gnomehack intlhack gnomeprefix libgnomeui
GNU_CONFIGURE= yes
INSTALLS_OMF= yes
INSTALLS_ICONS= yes
CONFIGURE_ARGS= --with-gecko=${GECKO}
CONFIGURE_ENV= CPPFLAGS="-I${LOCALBASE}/include" \
LDFLAGS="-L${LOCALBASE}/lib"
GCONF_SCHEMAS= seahorse.schemas
MAN1= seahorse-agent.1 seahorse-daemon.1 seahorse-tool.1
OPTIONS= NAUTILUS "Enable the Nautilus component" on \
LDAP "Enable LDAP support" on \
HKP "Enable HKP keyserver interface" on \
EPIPHANY "Enable Epiphany plug-in support" on \
NOTIFY "Enable libnotify support" on \
APPLET "Enable clipboard encryption applet" on \
KEYRING "Enable GNOME Keyring support" on \
MDNS "Enable mDNS key sharing" on \
GEDIT "Enable GEdit plug-in support" on
.include <bsd.port.pre.mk>
.if !defined(WITHOUT_GEDIT)
BUILD_DEPENDS+= gedit:${PORTSDIR}/editors/gedit
RUN_DEPENDS+= gedit:${PORTSDIR}/editors/gedit
PLIST_SUB+= GEDIT=""
GCONF_SCHEMAS+= seahorse-gedit.schemas
.else
PLIST_SUB+= GEDIT="@comment "
CONFIGURE_ARGS+=--disable-gedit
.endif
.if !defined(WITHOUT_NAUTILUS)
USE_GNOME+= nautilus2
PLIST_SUB+= NAUTILUS=""
.else
PLIST_SUB+= NAUTILUS="@comment "
CONFIGURE_ARGS+=--disable-nautilus
.endif
.if !defined(WITHOUT_LDAP)
USE_OPENLDAP= yes
.if ${WANT_OPENLDAP_VER} >= 23
CFLAGS+= -DLDAP_DEPRECATED
.endif
.else
CONFIGURE_ARGS+=--disable-ldap
.endif
.if !defined(WITHOUT_HKP)
LIB_DEPENDS+= soup-2.2.8:${PORTSDIR}/devel/libsoup
.else
CONFIGURE_ARGS+=--disable-hkp
.endif
.if !defined(WITHOUT_NOTIFY)
LIB_DEPENDS+= notify.1:${PORTSDIR}/devel/libnotify
.else
CONFIGURE_ARGS+=--disable-libnotify
.endif
.if !defined(WITHOUT_EPIPHANY)
BUILD_DEPENDS+= epiphany:${PORTSDIR}/www/epiphany
RUN_DEPENDS+= epiphany:${PORTSDIR}/www/epiphany
PLIST_SUB+= EPHY="" EPHY_VERSION="2.20"
.else
CONFIGURE_ARGS+=--disable-epiphany
PLIST_SUB+= EPHY="@comment "
.endif
.if !defined(WITHOUT_APPLET)
USE_GNOME+= gnomepanel
PLIST_SUB+= APPLET=""
.else
CONFIGURE_ARGS+=--disable-applet
PLIST_SUB+= APPLET="@comment "
.endif
.if !defined(WITHOUT_KEYRING)
LIB_DEPENDS+= gnome-keyring:${PORTSDIR}/security/gnome-keyring
.else
CONFIGURE_ARGS+=--disable-gnome-keyring
.endif
.if !defined(WITHOUT_MDNS)
LIB_DEPENDS+= avahi-client:${PORTSDIR}/net/avahi
.else
CONFIGURE_ARGS+=--disable-sharing
.endif
post-patch:
@${REINPLACE_CMD} -e 's|" == "|" = "|g' \
${WRKSRC}/configure
post-install:
-@update-desktop-database
.include "${PORTSDIR}/www/mozilla/bsd.gecko.mk"
.include <bsd.port.post.mk>
|