2008-11-21 13:25:49 -05:00
|
|
|
# $OpenBSD: Makefile,v 1.39 2008/11/21 18:25:49 jasper Exp $
|
2007-04-27 18:06:37 -04:00
|
|
|
|
|
|
|
SHARED_ONLY= Yes
|
2003-01-31 14:08:33 -05:00
|
|
|
|
2007-11-10 09:39:26 -05:00
|
|
|
COMMENT-main= GNOME Virtual File System
|
|
|
|
COMMENT-smb= samba module for gnome-vfs2
|
2003-01-31 14:08:33 -05:00
|
|
|
|
2007-07-05 18:50:10 -04:00
|
|
|
GNOME_PROJECT= gnome-vfs
|
2008-11-21 13:25:49 -05:00
|
|
|
GNOME_VERSION= 2.24.0
|
2008-01-22 13:27:02 -05:00
|
|
|
PKGNAME= gnome-vfs2-${VERSION}
|
2008-11-21 13:25:49 -05:00
|
|
|
PKGNAME-main= gnome-vfs2-${VERSION}
|
|
|
|
PKGNAME-smb= gnome-vfs2-smb-${VERSION}
|
2007-11-10 09:39:26 -05:00
|
|
|
MULTI_PACKAGES= -main -smb
|
2003-10-07 01:48:53 -04:00
|
|
|
|
2008-11-21 13:25:49 -05:00
|
|
|
SHARED_LIBS += gnomevfs-2 2400.0 # .2400.0
|
2007-11-10 09:39:26 -05:00
|
|
|
|
2008-05-04 10:36:44 -04:00
|
|
|
# GPLv2/LGPLv2
|
2003-01-31 14:08:33 -05:00
|
|
|
PERMIT_PACKAGE_CDROM= Yes
|
|
|
|
PERMIT_PACKAGE_FTP= Yes
|
|
|
|
PERMIT_DISTFILES_CDROM= Yes
|
|
|
|
PERMIT_DISTFILES_FTP= Yes
|
2008-05-04 10:36:44 -04:00
|
|
|
|
2007-11-10 09:39:26 -05:00
|
|
|
WANTLIB= crypto dbus-1 glib-2.0 gmodule-2.0 gobject-2.0 gthread-2.0 \
|
|
|
|
m pcre ssl util z
|
2007-04-27 18:06:37 -04:00
|
|
|
|
2007-07-05 18:50:10 -04:00
|
|
|
MODULES= devel/gettext \
|
|
|
|
x11/gnome
|
|
|
|
BUILD_DEPENDS= :gnome-mime-data->=2.0.0:x11/gnome/mime-data
|
2007-11-14 09:59:21 -05:00
|
|
|
LIB_DEPENDS= ORBit-2.>=2::devel/ORBit2 \
|
2007-04-27 18:06:37 -04:00
|
|
|
gconf-2.>=5::devel/gconf2 \
|
2007-11-10 09:39:26 -05:00
|
|
|
xml2.>=9::textproc/libxml \
|
|
|
|
dbus-glib-1.>=3::x11/dbus-glib
|
2007-04-27 18:06:37 -04:00
|
|
|
RUN_DEPENDS= :gnome-mime-data->=2.0.0:x11/gnome/mime-data
|
2003-01-31 14:08:33 -05:00
|
|
|
|
2008-05-04 10:36:44 -04:00
|
|
|
WANTLIB-main= ${WANTLIB} c asn1 gssapi krb5 pthread rpcsvc stdc++
|
2007-11-10 09:39:26 -05:00
|
|
|
LIB_DEPENDS-main= ${LIB_DEPENDS} \
|
2007-11-14 09:59:21 -05:00
|
|
|
cdda_interface,cdda_paranoia::audio/cdparanoia \
|
2007-11-10 09:39:26 -05:00
|
|
|
bz2.>=10::archivers/bzip2 \
|
|
|
|
fam::sysutils/fam
|
|
|
|
|
|
|
|
WANTLIB-smb= ${WANTLIB}
|
|
|
|
LIB_DEPENDS-smb= ${LIB_DEPENDS} \
|
|
|
|
smbclient::net/samba \
|
2008-11-21 13:25:49 -05:00
|
|
|
gnomevfs-2.>=2400::x11/gnome/vfs2
|
2007-11-10 09:39:26 -05:00
|
|
|
RUN_DEPENDS-smb= ${RUN_DEPENDS}
|
|
|
|
|
2003-01-31 14:08:33 -05:00
|
|
|
USE_X11= Yes
|
2007-04-27 18:06:37 -04:00
|
|
|
CONFIGURE_ARGS+= ${CONFIGURE_SHARED} \
|
|
|
|
--with-gconf-schema-file-dir=${LOCALBASE}/share/schemas/gnome-vfs2 \
|
|
|
|
--disable-schemas-install \
|
|
|
|
--enable-cdda \
|
|
|
|
--disable-avahi \
|
2007-11-10 09:39:26 -05:00
|
|
|
--disable-howl
|
2003-01-31 14:08:33 -05:00
|
|
|
CONFIGURE_ENV= CPPFLAGS="-I${LOCALBASE}/include" \
|
|
|
|
LDFLAGS="-L${LOCALBASE}/lib"
|
|
|
|
|
2008-05-04 10:36:44 -04:00
|
|
|
FAKE_FLAGS= sysconfdir=${PREFIX}/share/examples/gnome-vfs2
|
2005-05-24 17:50:12 -04:00
|
|
|
|
2008-05-04 10:36:44 -04:00
|
|
|
post-extract:
|
|
|
|
${INSTALL} -m 555 ${FILESDIR}/krb5-config ${WRKDIR}/bin
|
|
|
|
|
2008-06-13 17:37:37 -04:00
|
|
|
pre-configure:
|
|
|
|
${SUBST_CMD} ${WRKSRC}/libgnomevfs/xdgmime.c
|
2003-01-31 14:08:33 -05:00
|
|
|
|
|
|
|
.include <bsd.port.mk>
|
2007-04-27 18:06:37 -04:00
|
|
|
|
|
|
|
CONFIGURE_ARGS+= --sysconfdir="${SYSCONFDIR}/gnome"
|