openbsd-ports/x11/gnome/gvfs/Makefile

96 lines
2.2 KiB
Makefile
Raw Normal View History

2011-07-02 11:46:17 -04:00
# $OpenBSD: Makefile,v 1.51 2011/07/02 15:46:17 ajacoutot Exp $
COMMENT-main= GNOME virtual file system
COMMENT-smb= samba module for GVFS
GNOME_PROJECT= gvfs
2011-05-23 18:41:04 -04:00
GNOME_VERSION= 1.8.2
2010-07-13 12:14:28 -04:00
PKGNAME-main= ${DISTNAME}
2010-04-22 16:27:05 -04:00
PKGNAME-smb= ${GNOME_PROJECT}-smb-${GNOME_VERSION}
2011-07-02 11:46:17 -04:00
REVISION-main= 5
REVISION-smb= 0
2010-04-22 16:27:05 -04:00
SHARED_LIBS += gvfscommon 3.0 # .0.0
SHARED_LIBS += gvfscommon-dnssd 1.0 # .0.0
# LGPLv2
PERMIT_PACKAGE_CDROM= Yes
PERMIT_PACKAGE_FTP= Yes
PERMIT_DISTFILES_CDROM= Yes
PERMIT_DISTFILES_FTP= Yes
MODULES= devel/gettext \
x11/gnome \
devel/dconf
WANTLIB += c dbus-1 gio-2.0 glib-2.0>=2800
WANTLIB += gmodule-2.0 gobject-2.0 gthread-2.0 pcre pthread util
2010-11-22 05:16:08 -05:00
WANTLIB += expat gpg-error z gcrypt gnome-keyring>=6
2010-11-22 03:36:47 -05:00
LIB_DEPENDS= x11/gnome/libgnome-keyring
WANTLIB-main += ${WANTLIB}
WANTLIB-main += bz2 lzma m soup-2.4 sqlite3
WANTLIB-main += xml2 archive soup-gnome-2.4>=1
2010-07-13 12:14:28 -04:00
WANTLIB-main += avahi-client avahi-common avahi-glib
DESKTOP_FILES= Yes
LIB_DEPENDS-main= ${LIB_DEPENDS} \
2010-11-22 03:36:47 -05:00
archivers/libarchive \
devel/libsoup,-gnome \
net/avahi
2010-09-07 15:34:08 -04:00
RUN_DEPENDS-main= ${RUN_DEPENDS} \
2010-11-22 03:36:47 -05:00
sysutils/gamin,-server
2010-09-30 03:41:25 -04:00
WANTLIB-smb += ${WANTLIB} gvfscommon smbclient execinfo m talloc tdb wbclient
2010-09-07 15:34:08 -04:00
RUN_DEPENDS-smb= ${MODGETTEXT_RUN_DEPENDS}
LIB_DEPENDS-smb= ${LIB_DEPENDS} \
2010-11-22 03:36:47 -05:00
${BASE_PKGPATH},-main \
net/samba
2011-06-15 03:21:13 -04:00
AUTOCONF_VERSION=2.68
CONFIGURE_STYLE=autoconf
2010-04-22 16:27:05 -04:00
CONFIGURE_ARGS= ${CONFIGURE_SHARED} \
--disable-gtk-doc \
--disable-cdda \
--disable-fuse \
--disable-hal \
2010-04-22 16:27:05 -04:00
--disable-afc \
--disable-obexftp \
--disable-gphoto2 \
--disable-gudev \
--disable-udev \
--enable-archive \
--enable-avahi \
--enable-http \
--enable-keyring \
--with-bash-completion-dir="${PREFIX}/share/gvfs"
CONFIGURE_ENV= CPPFLAGS="-I${LOCALBASE}/include" \
LDFLAGS="-L${LOCALBASE}/lib"
SUBST_VARS+= GNOME_VERSION
MULTI_PACKAGES= -main
PSEUDO_FLAVORS= no_smb
FLAVOR?=
.if ${FLAVOR:L:Mno_smb}
CONFIGURE_ARGS+= --disable-samba
.else
CONFIGURE_ARGS+= --enable-samba
MULTI_PACKAGES+= -smb
.endif
post-install:
${SUBST_CMD} -c ${FILESDIR}/mount-archive.desktop.in \
${WRKSRC}/mount-archive.desktop
${INSTALL_DATA_DIR} ${PREFIX}/share/applications/
${INSTALL_DATA} ${WRKSRC}/mount-archive.desktop \
${PREFIX}/share/applications/
.include <bsd.port.mk>