openbsd-ports/x11/gnome/keyring/Makefile

62 lines
1.7 KiB
Makefile
Raw Normal View History

2011-09-18 16:12:34 -04:00
# $OpenBSD: Makefile,v 1.59 2011/09/18 20:12:34 ajacoutot Exp $
COMMENT= password agent for the GNOME project
GNOME_PROJECT= gnome-keyring
2011-09-18 16:12:34 -04:00
GNOME_VERSION= 3.1.92
2011-09-18 16:12:34 -04:00
SHARED_LIBS += gck-1 0.0 # 0.0
SHARED_LIBS += gcr-3 1.0 # 1.0
# GPLv2/LGPLv2
PERMIT_PACKAGE_CDROM= Yes
PERMIT_PACKAGE_FTP= Yes
PERMIT_DISTFILES_CDROM= Yes
PERMIT_DISTFILES_FTP= Yes
2011-09-12 03:28:52 -04:00
WANTLIB += GL X11 Xau Xcomposite Xcursor Xdamage Xdmcp Xext Xfixes
WANTLIB += Xi Xinerama Xrandr Xrender Xxf86vm atk-1.0 c cairo
WANTLIB += cairo-gobject dbus-1 drm expat fontconfig freetype
WANTLIB += gcrypt gdk-3 gdk_pixbuf-2.0 gio-2.0 glib-2.0 gmodule-2.0
2011-09-18 16:12:34 -04:00
WANTLIB += gobject-2.0 gpg-error gthread-2.0 gtk-3 m p11-kit pango-1.0
2011-09-12 03:28:52 -04:00
WANTLIB += pangocairo-1.0 pangoft2-1.0 pcre pixman-1 png pthread
WANTLIB += pthread-stubs xcb xcb-render xcb-shm z
2009-10-11 04:33:27 -04:00
MODULES= devel/gettext \
2011-03-25 05:13:43 -04:00
x11/gnome \
devel/dconf
2009-10-11 04:33:27 -04:00
2011-09-12 03:28:52 -04:00
DESKTOP_FILES= Yes
# only required during build for parsing ASN.1 files
BUILD_DEPENDS= security/libtasn1
2010-11-22 03:36:47 -05:00
LIB_DEPENDS= security/libgcrypt \
x11/dbus \
2011-09-18 16:12:34 -04:00
x11/gtk+3 \
security/p11-kit>=0.6
2009-10-11 04:33:27 -04:00
2011-09-12 03:28:52 -04:00
CONFIGURE_ARGS= ${CONFIGURE_SHARED} \
--with-root-certs=/etc/ssl \
2009-10-11 04:33:27 -04:00
--disable-pam \
2011-09-18 16:12:34 -04:00
--disable-selinux \
2009-10-11 04:33:27 -04:00
--disable-tests \
2011-09-18 16:12:34 -04:00
--disable-gtk-doc \
--without-libcap-ng
2009-10-11 04:33:27 -04:00
CONFIGURE_ENV= CPPFLAGS="-I${LOCALBASE}/include" \
LDFLAGS="-L${LOCALBASE}/lib"
2011-09-18 16:12:34 -04:00
FAKE_FLAGS= configdir=${PREFIX}/share/examples/gnome-keyring/pkcs11/modules
2011-09-12 03:28:52 -04:00
pre-configure:
perl -pi -e 's,make --version,${MAKE_PROGRAM} --version,' \
${WRKSRC}/configure
2011-09-18 16:12:34 -04:00
post-install:
# https://bugzilla.gnome.org/show_bug.cgi?id=659402
chmod 0555 ${PREFIX}/bin/gnome-keyring-daemon
mv ${WRKINST}/etc/xdg ${PREFIX}/share/examples/gnome-keyring
.include <bsd.port.mk>