summaryrefslogtreecommitdiffstats
path: root/security/gnome-keyring/Makefile
diff options
context:
space:
mode:
Diffstat (limited to 'security/gnome-keyring/Makefile')
-rw-r--r--security/gnome-keyring/Makefile39
1 files changed, 27 insertions, 12 deletions
diff --git a/security/gnome-keyring/Makefile b/security/gnome-keyring/Makefile
index daec9b2f2..93424878e 100644
--- a/security/gnome-keyring/Makefile
+++ b/security/gnome-keyring/Makefile
@@ -3,31 +3,46 @@
# $MCom$
PORTNAME= gnome-keyring
-PORTVERSION= 2.32.1
-PORTREVISION= 3
+PORTVERSION= 3.6.2
CATEGORIES= security gnome
MASTER_SITES= GNOME
-DIST_SUBDIR= gnome2
+DIST_SUBDIR= gnome3
MAINTAINER= gnome@FreeBSD.org
COMMENT= Program that keeps passwords and other secrets
-LIB_DEPENDS= libtasn1.so:${PORTSDIR}/security/libtasn1 \
- libgnome-keyring.so:${PORTSDIR}/security/libgnome-keyring
+BUILD_DEPENDS= ${LOCALBASE}/share/certs/ca-root-nss.crt:${PORTSDIR}/security/ca_root_nss \
+ 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= ${LOCALBASE}/share/certs/ca-root-nss.crt:${PORTSDIR}/security/ca_root_nss
-CONFLICTS= gnome-keyring-3.[0-9]* gcr-3.[0-9]*
-
-USE_BZIP2= yes
-USE_GNOME= gnomeprefix gtk20 ltverhack intlhack
+USE_XZ= yes
+USE_GNOME= gnomeprefix gtk30 ltverhack intlhack
USES= gettext gmake pathfix pkgconfig
+INSTALLS_ICONS= yes
GNU_CONFIGURE= yes
USE_LDCONFIG= yes
CONFIGURE_ARGS= --with-pam-dir="${PREFIX}/lib" \
- --with-root-certs="${LOCALBASE}/share/certs/ca-root-nss.crt"
+ --with-root-certs=${LOCALBASE}/share/certs
CPPFLAGS+= -I${LOCALBASE}/include
LDFLAGS+= -L${LOCALBASE}/lib
-GLIB_SCHEMAS= org.gnome.crypto.cache.gschema.xml \
- org.gnome.crypto.pgp.gschema.xml
+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
+
+post-install:
+ @${STRIP_CMD} ${STAGEDIR}${PREFIX}/lib/gnome-keyring/devel/*.so
+ @${STRIP_CMD} ${STAGEDIR}${PREFIX}/lib/pkcs11/gnome-keyring-pkcs11.so
+ @${STRIP_CMD} ${STAGEDIR}${PREFIX}/lib/pam_gnome_keyring.so
.include <bsd.port.mk>