openbsd-ports/x11/gnome/vfs2/Makefile

62 lines
1.8 KiB
Makefile
Raw Normal View History

# $OpenBSD: Makefile,v 1.18 2006/01/08 15:25:49 alek Exp $
COMMENT= "GNOME Virtual File System"
2005-05-24 17:50:12 -04:00
VERSION= 2.10.1
DISTNAME= gnome-vfs-${VERSION}
PKGNAME= gnome-vfs2-${VERSION}p0
SHARED_LIBS= gnomevfs-2 1000.1
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/}
2004-08-10 06:56:42 -04:00
MODULES= devel/gettext
LIB_DEPENDS= bonobo-2,bonobo-activation::x11/gnome/libbonobo \
bz2::archivers/bzip2 \
cdda_paranoia,cdda_interface::audio/cdparanoia \
gconf-2::devel/gconf2
BUILD_DEPENDS= :pkgconfig-*:devel/pkgconfig \
2004-02-22 00:34:26 -05:00
:p5-XML-Parser-*:textproc/p5-XML-Parser \
:gnome-mime-data->=2.0.0:x11/gnome/mime-data
RUN_DEPENDS= :gnome-mime-data->=2.0.0:x11/gnome/mime-data \
:shared-mime-info-*:misc/shared-mime-info
# GPL
PERMIT_PACKAGE_CDROM= Yes
PERMIT_PACKAGE_FTP= Yes
PERMIT_DISTFILES_CDROM= Yes
PERMIT_DISTFILES_FTP= Yes
2004-12-15 08:57:55 -05:00
WANTLIB= ORBit-2 ORBitCosNaming-2 glib-2.0.0.0 \
gmodule-2.0.0.0 gobject-2.0.0.0 gthread-2.0.0.0 popt \
xml2 c crypto m pthread ssl z
USE_X11= Yes
USE_GMAKE= Yes
USE_LIBTOOL= Yes
CONFIGURE_STYLE= gnu old
CONFIGURE_ARGS+= ${CONFIGURE_SHARED}
2004-10-17 00:41:19 -04:00
CONFIGURE_ARGS+= --sysconfdir="${SYSCONFDIR}/gnome"
CONFIGURE_ARGS+= --disable-gtk-doc
CONFIGURE_ARGS+= --with-gconf-schema-file-dir=${LOCALBASE}/share/schemas/gnome-vfs2
CONFIGURE_ARGS+= --disable-ipv6 \
2005-11-08 09:28:41 -05:00
--disable-howl \
--disable-samba
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
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/
.include <bsd.port.mk>