6090a7399f
fixes some mem leak and bugs - also subpackage this port the same way gnome-vfs2 is (i.e. samba is no longer a requirement for the main package) - explicitely depends on latest glib2 (requested by jasper@) ok jasper@
57 lines
1.4 KiB
Makefile
57 lines
1.4 KiB
Makefile
# $OpenBSD: Makefile,v 1.6 2008/11/24 16:15:42 ajacoutot Exp $
|
|
|
|
COMMENT-main= GNOME virtual file system
|
|
COMMENT-smb= samba module for GVFS
|
|
|
|
GNOME_PROJECT= gvfs
|
|
GNOME_VERSION= 1.0.3
|
|
SHARED_LIBS += gvfscommon 1.0 # .0.0
|
|
|
|
PKGNAME-main= ${DISTNAME}
|
|
PKGNAME-smb= ${GNOME_PROJECT}-smb-${GNOME_VERSION}
|
|
|
|
# LGPLv2
|
|
PERMIT_PACKAGE_CDROM= Yes
|
|
PERMIT_PACKAGE_FTP= Yes
|
|
PERMIT_DISTFILES_CDROM= Yes
|
|
PERMIT_DISTFILES_FTP= Yes
|
|
|
|
MULTI_PACKAGES= -main -smb
|
|
|
|
MODULES= devel/gettext \
|
|
x11/gnome
|
|
|
|
WANTLIB= ORBit-2 c dbus-1 dbus-glib-1 gconf-2 gio-2.0 glib-2.0 \
|
|
gmodule-2.0 gobject-2.0 gthread-2.0 pcre pthread \
|
|
util
|
|
|
|
LIB_DEPENDS= gnome-keyring::x11/gnome/keyring
|
|
|
|
WANTLIB-main= ${WANTLIB} bz2 m xml2 z
|
|
LIB_DEPENDS-main= ${LIB_DEPENDS} \
|
|
archive::archivers/libarchive \
|
|
soup-2.4.>=1::devel/libsoup
|
|
RUN_DEPENDS-main= :glib2-fam->=2.18.3:devel/glib2,-fam
|
|
|
|
LIB_DEPENDS-smb= ${LIB_DEPENDS} \
|
|
gvfscommon.>=1::${BASE_PKGPATH},-main \
|
|
smbclient::net/samba
|
|
|
|
CONFIGURE_ARGS+= --disable-gtk-doc \
|
|
--disable-avahi \
|
|
--disable-cdda \
|
|
--disable-fuse \
|
|
--disable-hal \
|
|
--disable-obexftp \
|
|
--disable-gphoto2 \
|
|
--enable-archive \
|
|
--enable-gconf \
|
|
--enable-http \
|
|
--enable-keyring \
|
|
--enable-samba \
|
|
--with-bash-completion-dir="${PREFIX}/share/gvfs"
|
|
CONFIGURE_ENV= CPPFLAGS="-I${LOCALBASE}/include" \
|
|
LDFLAGS="-L${LOCALBASE}/lib"
|
|
|
|
.include <bsd.port.mk>
|