source: build-files/ports-overlay/devel/gvfs/Makefile @ 7e7a980

9.2-releasereleng/10.0releng/10.0.1releng/10.0.2releng/10.0.3releng/10.1
Last change on this file since 7e7a980 was 7e7a980, checked in by Kris Moore <kris@…>, 13 months ago

Try to fix gvfs on 10

  • Property mode set to 100644
File size: 2.3 KB
Line 
1# Created by: Michael Johnson <ahze@FreeBSD.org>
2# $FreeBSD: devel/gvfs/Makefile 327723 2013-09-20 17:04:43Z bapt $
3#   $MCom: ports/devel/gvfs/Makefile,v 1.85 2012/12/14 16:09:28 kwm Exp $
4
5PORTNAME=       gvfs
6PORTVERSION=    1.12.3
7PORTREVISION=   1
8CATEGORIES=     devel gnome
9MASTER_SITES=   GNOME
10DIST_SUBDIR=    gnome3
11
12MAINTAINER=     gnome@FreeBSD.org
13COMMENT=        GNOME virtual file system
14
15LIB_DEPENDS=    dbus-1:${PORTSDIR}/devel/dbus \
16                soup-gnome-2.4:${PORTSDIR}/devel/libsoup-gnome \
17                gcrypt:${PORTSDIR}/security/libgcrypt \
18                gnome-keyring:${PORTSDIR}/security/libgnome-keyring
19
20USES=           gettext gmake pkgconfig
21USE_XZ=         yes
22USE_GNOME=      glib20 gnomehack gnomeprefix intlhack intltool
23USE_LDCONFIG=   yes
24USE_GCC=        yes
25GNU_CONFIGURE=  yes
26CPPFLAGS+=      -I${LOCALBASE}/include
27LDFLAGS+=       -L${LOCALBASE}/lib
28CONFIGURE_ARGS= --disable-obexftp \
29                --disable-bluray \
30                --disable-afc
31
32OPTIONS_DEFINE= AVAHI SAMBA GPHOTO2 CDDA HAL FUSE
33OPTIONS_DEFAULT=AVAHI SAMBA GPHOTO2 CDDA HAL
34CDDA_DESC=      CDDA (enables HAL)
35GPHOTO2_DESC=   Gphoto 2 camera support (enables HAL)
36SAMBA_DESC=     Samba support
37
38GLIB_SCHEMAS=   org.gnome.system.gvfs.enums.xml
39
40NO_STAGE=       yes
41.include <bsd.port.options.mk>
42
43.if ${PORT_OPTIONS:MFUSE}
44USES+=          fuse
45PLIST_SUB+=     FUSE=""
46.else
47CONFIGURE_ARGS+=        --disable-fuse
48PLIST_SUB+=     FUSE="@comment "
49.endif
50
51.if ${PORT_OPTIONS:MSAMBA}
52LIB_DEPENDS+=   smbclient:${PORTSDIR}/net/samba-libsmbclient
53GLIB_SCHEMAS+=  org.gnome.system.smb.gschema.xml
54PLIST_SUB+=     SMB=""
55.else
56CONFIGURE_ARGS+=        --disable-samba
57PLIST_SUB+=     SMB="@comment "
58.endif
59
60.if ${PORT_OPTIONS:MCDDA}
61LIB_DEPENDS+=   cdio_paranoia:${PORTSDIR}/sysutils/libcdio
62PLIST_SUB+=     CDDA=""
63.else
64CONFIGURE_ARGS+=        --disable-cdda
65PLIST_SUB+=     CDDA="@comment "
66.endif
67
68.if ${PORT_OPTIONS:MGPHOTO2}
69LIB_DEPENDS+=   gphoto2:${PORTSDIR}/graphics/libgphoto2
70PLIST_SUB+=     GPHOTO2=""
71.else
72CONFIGURE_ARGS+=        --disable-gphoto2
73PLIST_SUB+=     GPHOTO2="@comment "
74.endif
75
76.if ${PORT_OPTIONS:MAVAHI}
77LIB_DEPENDS+=   avahi-client:${PORTSDIR}/net/avahi-app
78GLIB_SCHEMAS+=  org.gnome.system.dns_sd.gschema.xml
79PLIST_SUB+=     AVAHI=""
80.else
81CONFIGURE_ARGS+=--disable-avahi
82PLIST_SUB+=     AVAHI="@comment "
83.endif
84
85.if ${PORT_OPTIONS:MHAL} || ${PORT_OPTIONS:MGPHOTO2} || ${PORT_OPTIONS:MCDDA}
86LIB_DEPENDS+=   hal:${PORTSDIR}/sysutils/hal
87RUN_DEPENDS+=   gnome-mount:${PORTSDIR}/sysutils/gnome-mount
88PLIST_SUB+=     HAL=""
89.else
90CONFIGURE_ARGS+=--disable-hal
91PLIST_SUB+=     HAL="@comment "
92.endif
93
94.include <bsd.port.mk>
Note: See TracBrowser for help on using the repository browser.