openbsd-ports/x11/gnome/gvfs/Makefile

89 lines
2.3 KiB
Makefile
Raw Normal View History

2012-10-15 11:34:23 -04:00
# $OpenBSD: Makefile,v 1.81 2012/10/15 15:34:23 ajacoutot Exp $
2011-12-30 06:17:49 -05:00
COMMENT-main= GNOME Virtual File System
COMMENT-smb= samba module for GVFS
GNOME_PROJECT= gvfs
2012-10-15 11:34:23 -04:00
GNOME_VERSION= 1.14.1
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}
2012-09-27 09:03:01 -04:00
SHARED_LIBS += gvfscommon 4.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
2012-09-30 05:02:13 -04:00
WANTLIB += c ffi gcrypt gio-2.0 glib-2.0 gmodule-2.0 gobject-2.0 gpg-error
WANTLIB += gthread-2.0 pcre pthread secret-1 util z
WANTLIB-main += ${WANTLIB}
2012-09-27 09:03:01 -04:00
WANTLIB-main += GL ICE SM X11 Xau Xcomposite Xcursor Xdamage Xdmcp
2012-09-30 05:02:13 -04:00
WANTLIB-main += Xext Xfixes Xi Xinerama Xrandr Xrender Xxf86vm archive
WANTLIB-main += atk-1.0 atk-bridge-2.0 atspi avahi-client avahi-common
WANTLIB-main += avahi-glib bz2 cairo cairo-gobject dbus-1 drm expat
WANTLIB-main += fontconfig freetype gdk-3 gdk_pixbuf-2.0 gnome-keyring
WANTLIB-main += gtk-3 harfbuzz icudata icule icuuc lzma m pango-1.0
2012-09-27 09:03:01 -04:00
WANTLIB-main += pangocairo-1.0 pangoft2-1.0 pixman-1 png pthread-stubs
2012-09-30 05:02:13 -04:00
WANTLIB-main += soup-2.4 soup-gnome-2.4 sqlite3 stdc++ xcb xcb-render
WANTLIB-main += xcb-shm xml2
WANTLIB-smb += ${WANTLIB}
WANTLIB-smb += gvfscommon smbclient execinfo talloc tdb wbclient
MODGNOME_DESKTOP_FILE= Yes
2012-09-27 13:38:17 -04:00
# man pages
2012-09-27 09:03:01 -04:00
BUILD_DEPENDS += textproc/docbook-xsl
2012-09-30 05:02:13 -04:00
LIB_DEPENDS= x11/gnome/libsecret
LIB_DEPENDS-main= ${LIB_DEPENDS} \
2010-11-22 03:36:47 -05:00
archivers/libarchive \
devel/libsoup,-gnome \
2012-09-27 09:03:01 -04:00
net/avahi \
x11/gtk+3
2010-09-07 15:34:08 -04:00
RUN_DEPENDS-smb= ${MODGETTEXT_RUN_DEPENDS}
LIB_DEPENDS-smb= ${LIB_DEPENDS} \
2012-09-27 09:03:01 -04:00
${BASE_PKGPATH},-main=${GNOME_VERSION} \
2010-11-22 03:36:47 -05:00
net/samba
CONFIGURE_ARGS= --disable-cdda \
2011-09-26 10:32:35 -04:00
--disable-bluray \
--disable-fuse \
--disable-hal \
2010-04-22 16:27:05 -04:00
--disable-afc \
--disable-obexftp \
--disable-gphoto2 \
--disable-gudev \
--disable-udev \
2012-09-27 09:03:01 -04:00
--disable-gdu
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:
${INSTALL_DATA_DIR} ${PREFIX}/share/applications/
2012-09-27 09:03:01 -04:00
${SUBST_CMD} -o ${SHAREOWN} -g ${SHAREGRP} \
-c ${FILESDIR}/mount-archive.desktop.in \
${PREFIX}/share/applications/mount-archive.desktop
rm ${PREFIX}/lib/gio/modules/*.{a,la}
.include <bsd.port.mk>