2008-03-24 04:52:36 +01:00
|
|
|
# New ports collection makefile for: gvfs
|
|
|
|
# Date created: 2007-11-06
|
|
|
|
# Whom: Michael Johnson <ahze@FreeBSD.org>
|
|
|
|
#
|
|
|
|
# $FreeBSD$
|
2010-11-20 16:37:08 +01:00
|
|
|
# $MCom: ports/devel/gvfs/Makefile,v 1.66 2010/11/13 01:48:28 kwm Exp $
|
2008-03-24 04:52:36 +01:00
|
|
|
#
|
|
|
|
|
|
|
|
PORTNAME= gvfs
|
2010-11-20 16:37:08 +01:00
|
|
|
PORTVERSION= 1.6.6
|
2008-03-24 04:52:36 +01:00
|
|
|
CATEGORIES= devel gnome
|
|
|
|
MASTER_SITES= GNOME
|
2009-01-10 06:22:13 +01:00
|
|
|
DIST_SUBDIR= gnome2
|
2008-03-24 04:52:36 +01:00
|
|
|
|
|
|
|
MAINTAINER= gnome@FreeBSD.org
|
|
|
|
COMMENT= GNOME virtual file system
|
|
|
|
|
|
|
|
LIB_DEPENDS= dbus-1.3:${PORTSDIR}/devel/dbus \
|
|
|
|
hal.1:${PORTSDIR}/sysutils/hal \
|
2010-11-20 16:37:08 +01:00
|
|
|
soup-gnome-2.4.1:${PORTSDIR}/devel/libsoup-gnome \
|
2008-03-24 04:52:36 +01:00
|
|
|
gnome-keyring:${PORTSDIR}/security/gnome-keyring \
|
|
|
|
avahi-client.3:${PORTSDIR}/net/avahi-app
|
|
|
|
RUN_DEPENDS= gnome-mount:${PORTSDIR}/sysutils/gnome-mount
|
|
|
|
|
|
|
|
USE_BZIP2= yes
|
|
|
|
USE_GNOME= glib20 gnomehack gnomeprefix intlhack gconf2
|
|
|
|
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
|
2010-11-21 15:12:45 +01:00
|
|
|
OPTIONS= SAMBA "Enable Samba" on \
|
2008-04-09 06:20:32 +02:00
|
|
|
GPHOTO2 "Enable Gphoto 2 camera support" on \
|
2008-04-13 00:18:14 +02:00
|
|
|
CDDA "Enable CDDA" on
|
2010-11-21 15:12:45 +01:00
|
|
|
# disabled beacuse it breaks the build: FUSE "Enable fuse" off \
|
|
|
|
# -- mandree@ 2010-11-21
|
2008-03-24 04:52:36 +01:00
|
|
|
|
|
|
|
.include <bsd.port.pre.mk>
|
|
|
|
|
2009-01-05 20:44:02 +01:00
|
|
|
.if defined(WITH_FUSE)
|
2008-03-24 04:52:36 +01:00
|
|
|
LIB_DEPENDS+= fuse.2:${PORTSDIR}/sysutils/fusefs-libs
|
2008-03-28 23:24:08 +01:00
|
|
|
RUN_DEPENDS+= mount_fusefs:${PORTSDIR}/sysutils/fusefs-kmod
|
2008-03-24 04:52:36 +01:00
|
|
|
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
|
|
|
|
PLIST_SUB+= SMB=""
|
|
|
|
.else
|
|
|
|
CONFIGURE_ARGS+= --disable-samba
|
|
|
|
PLIST_SUB+= SMB="@comment "
|
|
|
|
.endif
|
|
|
|
|
2008-04-09 06:20:32 +02:00
|
|
|
.if defined(WITH_CDDA)
|
|
|
|
LIB_DEPENDS+= cdio_paranoia.0:${PORTSDIR}/sysutils/libcdio
|
|
|
|
PLIST_SUB+= CDDA=""
|
|
|
|
.else
|
2008-03-24 04:52:36 +01:00
|
|
|
CONFIGURE_ARGS+= --disable-cdda
|
|
|
|
PLIST_SUB+= CDDA="@comment "
|
2008-04-09 06:20:32 +02:00
|
|
|
.endif
|
2008-03-24 04:52:36 +01:00
|
|
|
|
|
|
|
.if defined(WITH_GPHOTO2)
|
|
|
|
LIB_DEPENDS+= gphoto2.2:${PORTSDIR}/graphics/libgphoto2
|
|
|
|
PLIST_SUB+= GPHOTO2=""
|
|
|
|
.else
|
|
|
|
CONFIGURE_ARGS+= --disable-gphoto2
|
|
|
|
PLIST_SUB+= GPHOTO2="@comment "
|
|
|
|
.endif
|
|
|
|
|
2008-03-25 03:46:53 +01:00
|
|
|
.if ${OSVERSION} < 602112
|
|
|
|
CONFIGURE_ARGS+= --disable-archive
|
|
|
|
PLIST_SUB+= ARCHIVE="@comment "
|
|
|
|
.else
|
|
|
|
PLIST_SUB+= ARCHIVE=""
|
|
|
|
.endif
|
|
|
|
|
2010-06-10 23:31:57 +02:00
|
|
|
.if ${OSVERSION} < 700000
|
|
|
|
BROKEN= does not configure on 6.X
|
|
|
|
.endif
|
|
|
|
|
2008-03-24 04:52:36 +01:00
|
|
|
.include <bsd.port.post.mk>
|