summaryrefslogblamecommitdiffstats
path: root/security/gnome-keyring3/Makefile
blob: 08d70e98bfd8e3a555aa6611b64a3e17b57895b8 (plain) (tree)
1
2
3
4
5
6
                                                    
           
          

                             
                     






                                                                
                                                                                           
                                                   

                                                                     
                                              


                                                      
                                                                                         
 

                                      
                              
                   
                                                    
                   
                                         
                   


                                                
                                                          

                                      
                                                  
 


                                                                      


                                                                              
 
                      
# Created by: Joe Marcus Clarke <marcus@FreeBSD.org>
# $FreeBSD$
#   $MCom$

PORTNAME=   gnome-keyring
PORTVERSION=    3.6.2
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 \
        gcr>=3.5.3:${PORTSDIR}/security/gcr
LIB_DEPENDS=    gnome-keyring:${PORTSDIR}/security/libgnome-keyring \
        dbus-1:${PORTSDIR}/devel/dbus \
        gcr:${PORTSDIR}/security/gcr \
        tasn1:${PORTSDIR}/security/libtasn1 \
        p11-kit:${PORTSDIR}/security/p11-kit \
        gcrypt:${PORTSDIR}/security/libgcrypt
RUN_DEPENDS=    ${LOCALBASE}/share/certs/ca-root-nss.crt:${PORTSDIR}/security/ca_root_nss

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

LATEST_LINK=    gnome-keyring3
USE_XZ=     yes
USE_GNOME=  gnomeprefix gtk30 ltverhack intlhack
USE_GMAKE=  yes
USES=       gettext pathfix pkgconfig
INSTALLS_ICONS= yes
USE_AUTOTOOLS=  libtool
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}/pkcs11/rpc-layer/Makefile.in \
        ${WRKSRC}/configure

.include <bsd.port.mk>