summaryrefslogtreecommitdiffstats
path: root/security/gnome-keyring3/Makefile
blob: f62e1fdfc865c8800f05fbc6797f5f942d77d2c9 (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
# New ports collection makefile for:   gnomekeyring
# Date Created:         08 December 2003
# Whom:             Joe Marcus Clarke <marcus@FreeBSD.org>
#
# $FreeBSD$
#   $MCom: ports/security/gnome-keyring3/Makefile,v 1.11 2011/05/21 18:14:28 kwm Exp $
#

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

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

BUILD_DEPENDS=  ${LOCALBASE}/share/certs/ca-root-nss.crt:${PORTSDIR}/security/ca_root_nss
LIB_DEPENDS=    gnome-keyring.0:${PORTSDIR}/security/libgnome-keyring \
        tasn1.4:${PORTSDIR}/security/libtasn1 \
        gcrypt.17:${PORTSDIR}/security/libgcrypt
RUN_DEPENDS=    ${LOCALBASE}/share/certs/ca-root-nss.crt:${PORTSDIR}/security/ca_root_nss

CONFLICTS=  gnome-keyring-2.[0-9]*

USE_BZIP2=  yes
USE_GNOME=  gnomehack gnomeprefix gtk30 ltverhack intlhack
USE_GMAKE=  yes
USE_GETTEXT=    yes
USE_AUTOTOOLS=  libtool
USE_LDCONFIG=   yes
CONFIGURE_ARGS= --with-pam-dir="${PREFIX}/lib" \
        --with-root-certs=${LOCALBASE}/share/certs \
        --with-gtk=3.0
CONFIGURE_ENV=  CPPFLAGS="-I${LOCALBASE}/include" \
        LDFLAGS="-L${LOCALBASE}/lib"
GLIB_SCHEMAS=   org.gnome.crypto.cache.gschema.xml \
        org.gnome.crypto.pgp.gschema.xml

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

.include <bsd.port.mk>