2006-12-16 07:22:32 -05:00
|
|
|
# $OpenBSD: Makefile,v 1.20 2006/12/16 12:22:36 espie Exp $
|
2003-01-31 14:08:33 -05:00
|
|
|
|
|
|
|
COMMENT= "GNOME Virtual File System"
|
|
|
|
|
2005-05-24 17:50:12 -04:00
|
|
|
VERSION= 2.10.1
|
2003-01-31 14:08:33 -05:00
|
|
|
DISTNAME= gnome-vfs-${VERSION}
|
2006-01-08 10:25:49 -05:00
|
|
|
PKGNAME= gnome-vfs2-${VERSION}p0
|
|
|
|
SHARED_LIBS= gnomevfs-2 1000.1
|
2003-01-31 14:08:33 -05:00
|
|
|
CATEGORIES= devel x11/gnome
|
|
|
|
HOMEPAGE= http://www.gnome.org/
|
|
|
|
|
2005-05-24 17:50:12 -04:00
|
|
|
MASTER_SITES= ${MASTER_SITE_GNOME:=sources/gnome-vfs/2.10/}
|
2003-01-31 14:08:33 -05:00
|
|
|
|
2004-08-10 06:56:42 -04:00
|
|
|
MODULES= devel/gettext
|
2003-10-07 01:48:53 -04:00
|
|
|
|
|
|
|
LIB_DEPENDS= bonobo-2,bonobo-activation::x11/gnome/libbonobo \
|
2003-01-31 14:08:33 -05:00
|
|
|
bz2::archivers/bzip2 \
|
|
|
|
cdda_paranoia,cdda_interface::audio/cdparanoia \
|
|
|
|
gconf-2::devel/gconf2
|
|
|
|
|
2006-12-16 07:22:32 -05:00
|
|
|
BUILD_DEPENDS= :p5-XML-Parser-*:textproc/p5-XML-Parser \
|
2003-01-31 14:08:33 -05:00
|
|
|
:gnome-mime-data->=2.0.0:x11/gnome/mime-data
|
2004-06-22 23:26:11 -04:00
|
|
|
RUN_DEPENDS= :gnome-mime-data->=2.0.0:x11/gnome/mime-data \
|
|
|
|
:shared-mime-info-*:misc/shared-mime-info
|
2003-01-31 14:08:33 -05:00
|
|
|
|
|
|
|
# GPL
|
|
|
|
PERMIT_PACKAGE_CDROM= Yes
|
|
|
|
PERMIT_PACKAGE_FTP= Yes
|
|
|
|
PERMIT_DISTFILES_CDROM= Yes
|
|
|
|
PERMIT_DISTFILES_FTP= Yes
|
2006-09-18 08:19:39 -04:00
|
|
|
WANTLIB= ORBit-2 ORBitCosNaming-2 glib-2.0 \
|
|
|
|
gmodule-2.0 gobject-2.0 gthread-2.0 popt \
|
2004-12-15 08:57:55 -05:00
|
|
|
xml2 c crypto m pthread ssl z
|
2003-01-31 14:08:33 -05:00
|
|
|
|
|
|
|
USE_X11= Yes
|
|
|
|
USE_GMAKE= Yes
|
2004-12-10 15:36:42 -05:00
|
|
|
USE_LIBTOOL= Yes
|
2003-06-12 15:53:49 -04:00
|
|
|
CONFIGURE_STYLE= gnu old
|
2003-01-31 14:08:33 -05:00
|
|
|
CONFIGURE_ARGS+= ${CONFIGURE_SHARED}
|
2004-10-17 00:41:19 -04:00
|
|
|
CONFIGURE_ARGS+= --sysconfdir="${SYSCONFDIR}/gnome"
|
2003-06-12 15:53:49 -04:00
|
|
|
CONFIGURE_ARGS+= --disable-gtk-doc
|
2003-01-31 14:08:33 -05:00
|
|
|
CONFIGURE_ARGS+= --with-gconf-schema-file-dir=${LOCALBASE}/share/schemas/gnome-vfs2
|
2005-03-09 09:19:56 -05:00
|
|
|
CONFIGURE_ARGS+= --disable-ipv6 \
|
2005-11-08 09:28:41 -05:00
|
|
|
--disable-howl \
|
|
|
|
--disable-samba
|
2003-01-31 14:08:33 -05:00
|
|
|
CONFIGURE_ENV= CPPFLAGS="-I${LOCALBASE}/include" \
|
|
|
|
LDFLAGS="-L${LOCALBASE}/lib"
|
|
|
|
|
2005-05-24 17:50:12 -04:00
|
|
|
# This port has "/usr/local" hardcoded, we prefer ${LOCALBASE}
|
|
|
|
pre-build:
|
|
|
|
for i in gnome-vfs-mime-info.c xdgmime.c; do \
|
|
|
|
perl -pi -e "s,/usr/local,${LOCALBASE},g" \
|
|
|
|
${WRKSRC}/libgnomevfs/$$i; \
|
|
|
|
done
|
|
|
|
|
2003-01-31 14:08:33 -05:00
|
|
|
post-install:
|
|
|
|
@${INSTALL_DATA_DIR} ${PREFIX}/share/examples/gnome-vfs2; \
|
2004-10-17 00:41:19 -04:00
|
|
|
cp -Rp ${WRKINST}/${SYSCONFDIR}/gnome/* ${PREFIX}/share/examples/gnome-vfs2/
|
2003-01-31 14:08:33 -05:00
|
|
|
|
|
|
|
.include <bsd.port.mk>
|