pkgsrc/security/seahorse/Makefile

60 lines
2.1 KiB
Makefile

# $NetBSD: Makefile,v 1.111 2013/05/24 18:23:39 wiz Exp $
DISTNAME= seahorse-2.32.0
PKGREVISION= 18
CATEGORIES= security
MASTER_SITES= ${MASTER_SITE_GNOME:=sources/seahorse/2.32/}
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
.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_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}
CONFIGURE_ENV+= ac_cv_path_GNUPG=${GPGME_GPG}
PKGCONFIG_OVERRIDE+= libcryptui/cryptui.pc.in
GCONF_SCHEMAS= seahorse.schemas
# for PKCS11
.include "../../security/gnome-keyring/buildlink3.mk"
.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/libgnome-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"