summaryrefslogtreecommitdiffstats
path: root/security/gnome-keyring/Makefile
blob: ceb7dba7db73d69394e8fa116299ee20ae1568e7 (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
# Created by: Joe Marcus Clarke <marcus@FreeBSD.org>
# $FreeBSD$
#   $MCom$

PORTNAME=   gnome-keyring
PORTVERSION=    3.12.2
CATEGORIES= security gnome
MASTER_SITES=   GNOME
DIST_SUBDIR=    gnome3

MAINTAINER= gnome@FreeBSD.org
COMMENT=    Program that keeps passwords and other secrets

BUILD_DEPENDS=  ca_root_nss>=0:${PORTSDIR}/security/ca_root_nss \
        docbook-xsl>=0:${PORTSDIR}/textproc/docbook-xsl \
        gcr>=3.5.3:${PORTSDIR}/security/gcr
LIB_DEPENDS=    libgnome-keyring.so:${PORTSDIR}/security/libgnome-keyring \
        libdbus-1.so:${PORTSDIR}/devel/dbus \
        libgcr-3.so:${PORTSDIR}/security/gcr \
        libtasn1.so:${PORTSDIR}/security/libtasn1 \
        libp11-kit.so:${PORTSDIR}/security/p11-kit \
        libgcrypt.so:${PORTSDIR}/security/libgcrypt
RUN_DEPENDS=    ca_root_nss>=0:${PORTSDIR}/security/ca_root_nss

USE_GNOME=  gnomeprefix gtk30 intlhack libxslt:build
USES=       gettext gmake libtool:keepla pathfix pkgconfig tar:xz
INSTALLS_ICONS= yes
GNU_CONFIGURE=  yes
USE_LDCONFIG=   yes
CONFIGURE_ARGS= --with-pam-dir="${PREFIX}/lib" \
        --with-root-certs=${LOCALBASE}/share/certs
CPPFLAGS+=  -I${LOCALBASE}/include
LDFLAGS+=   -L${LOCALBASE}/lib
GLIB_SCHEMAS=   org.gnome.crypto.cache.gschema.xml

post-patch:
    @${REINPLACE_CMD} -e 's|make --version|${GMAKE} --version|g' \
        ${WRKSRC}/configure
    @${REINPLACE_CMD} -e 's|gnome-keyring-module|gnome-keyring.module|g' \
        ${WRKSRC}/configure

.include <bsd.port.mk>