openbsd-ports/x11/gnome/vfs2/Makefile
2003-06-12 19:53:49 +00:00

47 lines
1.3 KiB
Makefile

# $OpenBSD: Makefile,v 1.2 2003/06/12 19:53:49 marcm Exp $
COMMENT= "GNOME Virtual File System"
VERSION= 2.2.3
DISTNAME= gnome-vfs-${VERSION}
PKGNAME= gnome-vfs2-${VERSION}
CATEGORIES= devel x11/gnome
HOMEPAGE= http://www.gnome.org/
MAINTAINER= Marc Matteo <marcm@openbsd.org>
MASTER_SITES= ${MASTER_SITE_GNOME:=sources/gnome-vfs/2.2/}
LIB_DEPENDS= bonobo-2::x11/gnome/libbonobo \
bz2::archivers/bzip2 \
cdda_paranoia,cdda_interface::audio/cdparanoia \
gconf-2::devel/gconf2
BUILD_DEPENDS= :pkgconfig->=0.8.0:devel/pkgconfig \
:gnome-mime-data->=2.0.0:x11/gnome/mime-data
RUN_DEPENDS= :gnome-mime-data->=2.0.0:x11/gnome/mime-data
# GPL
PERMIT_PACKAGE_CDROM= Yes
PERMIT_PACKAGE_FTP= Yes
PERMIT_DISTFILES_CDROM= Yes
PERMIT_DISTFILES_FTP= Yes
CONFDIR= ${SYSCONFDIR}/gnome
USE_X11= Yes
USE_GMAKE= Yes
CONFIGURE_STYLE= gnu old
CONFIGURE_ARGS+= ${CONFIGURE_SHARED}
CONFIGURE_ARGS+= --sysconfdir="${CONFDIR}"
CONFIGURE_ARGS+= --disable-gtk-doc
CONFIGURE_ARGS+= --with-gconf-schema-file-dir=${LOCALBASE}/share/schemas/gnome-vfs2
CONFIGURE_ENV= CPPFLAGS="-I${LOCALBASE}/include" \
LDFLAGS="-L${LOCALBASE}/lib"
SUBST_VARS= CONFDIR
post-install:
@${INSTALL_DATA_DIR} ${PREFIX}/share/examples/gnome-vfs2; \
cp -Rp ${WRKINST}/${CONFDIR}/* ${PREFIX}/share/examples/gnome-vfs2/
.include <bsd.port.mk>