mirror of
https://git.FreeBSD.org/ports.git
synced 2024-12-13 03:03:15 +00:00
80b3ab923d
PR: 192271
99 lines
2.5 KiB
Makefile
99 lines
2.5 KiB
Makefile
# Created by: Michael Johnson <ahze@FreeBSD.org>
|
|
# $FreeBSD$
|
|
# $MCom: ports/devel/gvfs/Makefile,v 1.85 2012/12/14 16:09:28 kwm Exp $
|
|
|
|
PORTNAME= gvfs
|
|
PORTVERSION= 1.12.3
|
|
PORTREVISION= 5
|
|
CATEGORIES= devel gnome
|
|
MASTER_SITES= GNOME
|
|
DIST_SUBDIR= gnome3
|
|
|
|
MAINTAINER= gnome@FreeBSD.org
|
|
COMMENT= GNOME virtual file system
|
|
|
|
LIB_DEPENDS= libdbus-1.so:${PORTSDIR}/devel/dbus \
|
|
libsoup-gnome-2.4.so:${PORTSDIR}/devel/libsoup-gnome \
|
|
libgcrypt.so:${PORTSDIR}/security/libgcrypt \
|
|
libgnome-keyring.so:${PORTSDIR}/security/libgnome-keyring
|
|
|
|
PORTSCOUT= limitw:1,even
|
|
|
|
USES= gettext gmake libtool:keepla pathfix pkgconfig tar:xz
|
|
USE_GNOME= glib20 gnomeprefix intlhack intltool
|
|
USE_LDCONFIG= yes
|
|
GNU_CONFIGURE= yes
|
|
CPPFLAGS+= -I${LOCALBASE}/include
|
|
LDFLAGS+= -L${LOCALBASE}/lib
|
|
CONFIGURE_ARGS= --disable-obexftp \
|
|
--disable-bluray \
|
|
--disable-afc
|
|
INSTALL_TARGET= install-strip
|
|
|
|
OPTIONS_DEFINE= AVAHI SAMBA GPHOTO2 CDDA HAL FUSE
|
|
OPTIONS_DEFAULT=AVAHI SAMBA GPHOTO2 CDDA HAL
|
|
CDDA_DESC= CDDA (enables HAL)
|
|
GPHOTO2_DESC= Gphoto 2 camera support (enables HAL)
|
|
SAMBA_DESC= Samba support
|
|
|
|
GLIB_SCHEMAS= org.gnome.system.gvfs.enums.xml
|
|
|
|
.include <bsd.port.options.mk>
|
|
|
|
.if ${PORT_OPTIONS:MFUSE}
|
|
USES+= fuse
|
|
PLIST_SUB+= FUSE=""
|
|
.else
|
|
CONFIGURE_ARGS+= --disable-fuse
|
|
PLIST_SUB+= FUSE="@comment "
|
|
.endif
|
|
|
|
.if ${PORT_OPTIONS:MSAMBA}
|
|
LIB_DEPENDS+= libsmbclient.so:${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 ${PORT_OPTIONS:MCDDA}
|
|
LIB_DEPENDS+= libcdio_paranoia.so:${PORTSDIR}/sysutils/libcdio-paranoia
|
|
PLIST_SUB+= CDDA=""
|
|
.else
|
|
CONFIGURE_ARGS+= --disable-cdda
|
|
PLIST_SUB+= CDDA="@comment "
|
|
.endif
|
|
|
|
.if ${PORT_OPTIONS:MGPHOTO2}
|
|
LIB_DEPENDS+= libgphoto2.so:${PORTSDIR}/graphics/libgphoto2
|
|
PLIST_SUB+= GPHOTO2=""
|
|
.else
|
|
CONFIGURE_ARGS+= --disable-gphoto2
|
|
PLIST_SUB+= GPHOTO2="@comment "
|
|
.endif
|
|
|
|
.if ${PORT_OPTIONS:MAVAHI}
|
|
LIB_DEPENDS+= libavahi-client.so:${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
|
|
|
|
.if ${PORT_OPTIONS:MHAL} || ${PORT_OPTIONS:MGPHOTO2} || ${PORT_OPTIONS:MCDDA}
|
|
LIB_DEPENDS+= libhal.so:${PORTSDIR}/sysutils/hal
|
|
RUN_DEPENDS+= gnome-mount:${PORTSDIR}/sysutils/gnome-mount
|
|
PLIST_SUB+= HAL=""
|
|
.else
|
|
CONFIGURE_ARGS+=--disable-hal
|
|
PLIST_SUB+= HAL="@comment "
|
|
.endif
|
|
|
|
post-install:
|
|
@${MKDIR} ${STAGEDIR}${DATADIR}/remote-volume-monitors
|
|
${TOUCH} ${STAGEDIR}${DATADIR}/remote-volume-monitors/.keep
|
|
|
|
.include <bsd.port.mk>
|