openbsd-ports/x11/gnome/vfs2/Makefile

56 lines
1.2 KiB
Makefile

# $OpenBSD: Makefile,v 1.71 2012/01/01 09:03:20 ajacoutot Exp $
SHARED_ONLY= Yes
COMMENT= GNOME Virtual File System
GNOME_PROJECT= gnome-vfs
GNOME_VERSION= 2.24.4
PKGNAME= gnome-vfs2-${VERSION}
REVISION= 3
SHARED_LIBS += gnomevfs-2 2400.0 # .2400.0
# GPLv2/LGPLv2
PERMIT_PACKAGE_CDROM= Yes
PERMIT_PACKAGE_FTP= Yes
PERMIT_DISTFILES_CDROM= Yes
PERMIT_DISTFILES_FTP= Yes
WANTLIB += asn1 bz2 c crypto dbus-1 dbus-glib-1 fam ffi gio-2.0
WANTLIB += glib-2.0 gmodule-2.0 gobject-2.0 gssapi gthread-2.0
WANTLIB += krb5 m pcre pthread ssl util xml2 z
EXTRACT_SUFX= .tar.bz2
MODULES= devel/gettext \
x11/gnome \
devel/gconf2
BUILD_DEPENDS= ${RUN_DEPENDS}
RUN_DEPENDS= x11/gnome/mime-data>=2.0.0
LIB_DEPENDS= archivers/bzip2 \
sysutils/gamin
MODGCONF2_SCHEMAS_DIR= gnome-vfs2
CONFIGURE_ARGS+= --disable-cdda \
--disable-avahi \
--disable-howl \
--disable-samba
MODGNOME_LDFLAGS= -pthread
CONFIGURE_ENV= ac_cv_header_sys_mount_h=yes
FAKE_FLAGS= sysconfdir=${PREFIX}/share/examples/gnome-vfs2
post-extract:
${INSTALL} -m 555 ${FILESDIR}/krb5-config ${WRKDIR}/bin
pre-configure:
${SUBST_CMD} ${WRKSRC}/libgnomevfs/xdgmime.c
.include <bsd.port.mk>