diff options
author | kwm <kwm@df743ca5-7f9a-e211-a948-0013205c9059> | 2010-12-27 02:07:19 +0800 |
---|---|---|
committer | kwm <kwm@df743ca5-7f9a-e211-a948-0013205c9059> | 2010-12-27 02:07:19 +0800 |
commit | 04e125dc06deb38eeac5a53131f3d05b8e7ecc60 (patch) | |
tree | b4f1bfad308c868bcba31a1b9d22b26a2a75eb17 /devel/gvfs/Makefile | |
parent | 82b0631277b02415e713e6a65ef0291ce1a05ac4 (diff) | |
download | marcuscom-ports-04e125dc06deb38eeac5a53131f3d05b8e7ecc60.tar marcuscom-ports-04e125dc06deb38eeac5a53131f3d05b8e7ecc60.tar.gz marcuscom-ports-04e125dc06deb38eeac5a53131f3d05b8e7ecc60.tar.bz2 marcuscom-ports-04e125dc06deb38eeac5a53131f3d05b8e7ecc60.tar.lz marcuscom-ports-04e125dc06deb38eeac5a53131f3d05b8e7ecc60.tar.xz marcuscom-ports-04e125dc06deb38eeac5a53131f3d05b8e7ecc60.tar.zst marcuscom-ports-04e125dc06deb38eeac5a53131f3d05b8e7ecc60.zip |
Update to 1.7.1
Make avahi optional [1]
Remove 6.x support.
Use bsd.port.options.mk
PR: ports/153327 [1]
Submitted by: "" <moonshade@pnhz.kz>
git-svn-id: svn://creme-brulee.marcuscom.com/ports/trunk@14957 df743ca5-7f9a-e211-a948-0013205c9059
Diffstat (limited to 'devel/gvfs/Makefile')
-rw-r--r-- | devel/gvfs/Makefile | 86 |
1 files changed, 86 insertions, 0 deletions
diff --git a/devel/gvfs/Makefile b/devel/gvfs/Makefile new file mode 100644 index 000000000..47fb8c4d6 --- /dev/null +++ b/devel/gvfs/Makefile @@ -0,0 +1,86 @@ +# New ports collection makefile for: gvfs +# Date created: 2007-11-06 +# Whom: Michael Johnson <ahze@FreeBSD.org> +# +# $FreeBSD$ +# $MCom: ports/devel/gvfs/Makefile,v 1.66 2010/11/13 01:48:28 kwm Exp $ +# + +PORTNAME= gvfs +PORTVERSION= 1.7.1 +CATEGORIES= devel gnome +MASTER_SITES= GNOME +DIST_SUBDIR= gnome2 + +MAINTAINER= gnome@FreeBSD.org +COMMENT= GNOME virtual file system + +LIB_DEPENDS= dbus-1.3:${PORTSDIR}/devel/dbus \ + hal.1:${PORTSDIR}/sysutils/hal \ + soup-gnome-2.4.1:${PORTSDIR}/devel/libsoup-gnome \ + gnome-keyring:${PORTSDIR}/security/gnome-keyring +RUN_DEPENDS= gnome-mount:${PORTSDIR}/sysutils/gnome-mount + +USE_BZIP2= yes +USE_GNOME= glib20 gnomehack gnomeprefix intlhack intltool +USE_GMAKE= yes +USE_GETTEXT= yes +USE_LDCONFIG= yes +GNU_CONFIGURE= yes +CONFIGURE_ENV= CPPFLAGS="-I${LOCALBASE}/include" \ + LDFLAGS="-L${LOCALBASE}/lib" +CONFIGURE_ARGS= --disable-obexftp +OPTIONS= FUSE "Enable fuse" off \ + AVAHI "Enable AVAHI" on \ + SAMBA "Enable Samba" on \ + GPHOTO2 "Enable Gphoto 2 camera support" on \ + CDDA "Enable CDDA" on + +GLIB_SCHEMAS= org.gnome.system.gvfs.enums.xml + +.include <bsd.port.options.mk> + +.if defined(WITH_FUSE) +LIB_DEPENDS+= fuse.2:${PORTSDIR}/sysutils/fusefs-libs +RUN_DEPENDS+= mount_fusefs:${PORTSDIR}/sysutils/fusefs-kmod +PLIST_SUB+= FUSE="" +.else +CONFIGURE_ARGS+= --disable-fuse +PLIST_SUB+= FUSE="@comment " +.endif + +.if defined(WITH_SAMBA) +LIB_DEPENDS+= smbclient.0:${PORTSDIR}/net/samba-libsmbclient +GLIB_SCHEMAS+= org.gnome.system.smb.gschema.xml +PLIST_SUB+= SMB="" +.else +CONFIGURE_ARGS+= --disable-samba +PLIST_SUB+= SMB="@comment " +.endif + +.if defined(WITH_CDDA) +LIB_DEPENDS+= cdio_paranoia.0:${PORTSDIR}/sysutils/libcdio +PLIST_SUB+= CDDA="" +.else +CONFIGURE_ARGS+= --disable-cdda +PLIST_SUB+= CDDA="@comment " +.endif + +.if defined(WITH_GPHOTO2) +LIB_DEPENDS+= gphoto2.2:${PORTSDIR}/graphics/libgphoto2 +PLIST_SUB+= GPHOTO2="" +.else +CONFIGURE_ARGS+= --disable-gphoto2 +PLIST_SUB+= GPHOTO2="@comment " +.endif + +.if defined(WITH_AVAHI) +LIB_DEPENDS+= avahi-client.3:${PORTSDIR}/net/avahi-app +GLIB_SCHEMAS+= org.gnome.system.dns_sd.gschema.xml +PLIST_SUB+= AVAHI="" +.else +CONFIGURE_ARGS+=--disable-avahi +PLIST_SUB+= AVAHI="@comment " +.endif + +.include <bsd.port.mk> |