openbsd-ports/x11/gnome/nautilus/Makefile
jasper 4c70e03ed7 update nautilus to 2.18.1
feedback and ok alek@
2007-05-12 16:15:12 +00:00

66 lines
2.2 KiB
Makefile

# $OpenBSD: Makefile,v 1.23 2007/05/12 16:15:12 jasper Exp $
COMMENT= "GNOME shell and file manager"
DISTNAME= nautilus-2.18.1
SHARED_LIBS += nautilus-extension 2.0 # .2.0
CATEGORIES= x11 x11/gnome
HOMEPAGE= http://www.gnome.org/projects/nautilus/
# LGPL
PERMIT_PACKAGE_CDROM= Yes
PERMIT_PACKAGE_FTP= Yes
PERMIT_DISTFILES_CDROM= Yes
PERMIT_DISTFILES_FTP= Yes
WANTLIB= ICE ORBit-2 ORBitCosNaming-2 SM X11 Xau Xcursor Xdmcp \
Xext Xfixes Xi Xinerama Xrandr Xrender art_lgpl_2 atk-1.0 \
audiofile bonobo-2 bonobo-activation bonoboui-2 bz2 \
c cairo croco-0.6 crypto dbus-1 dbus-glib-1 esd expat \
fam fontconfig freetype gailutil gconf-2 gdk-x11-2.0\
gdk_pixbuf-2.0 glade-2.0 glib-2.0 glitz gmodule-2.0 \
gnome-2 gnome-keyring gnome-menu gnomecanvas-2 gnomeui-2 \
gnomevfs-2 gobject-2.0 gsf-1 gthread-2.0 gtk-x11-2.0 \
jpeg m pango-1.0 pangocairo-1.0 pangoft2-1.0 png popt \
pthread rpcsvc ssl startup-notification-1 stdc++ util xml2 z
MASTER_SITES= ${MASTER_SITE_GNOME:=sources/nautilus/2.18/}
EXTRACT_SUFX= .tar.bz2
MODULES= devel/gettext
BUILD_DEPENDS= :p5-XML-Parser-*:textproc/p5-XML-Parser \
:shared-mime-info->=0.21:misc/shared-mime-info
RUN_DEPENDS= ::devel/desktop-file-utils \
:shared-mime-info->=0.21:misc/shared-mime-info \
:gnome-icon-theme-*:x11/gnome/icon-theme
LIB_DEPENDS= eel-2.>=20.0::x11/gnome/eel \
gnome-desktop-2::x11/gnome/desktop \
rsvg-2.>=18.0::x11/gnome/librsvg
USE_X11= Yes
USE_GMAKE= Yes
USE_LIBTOOL= Yes
CONFIGURE_STYLE= gnu
CONFIGURE_ARGS+= ${CONFIGURE_SHARED} \
--disable-tracker \
--disable-beagle \
--with-gconf-schema-file-dir=${LOCALBASE}/share/schemas/nautilus \
--disable-schemas-install \
--disable-update-mimedb
CONFIGURE_ENV= CPPFLAGS="-I${LOCALBASE}/include" \
LDFLAGS="-L${WRKBUILD}/libnautilus/.libs \
-L${WRKBUILD}/libnautilus-adapter/.libs \
-L${WRKBUILD}/libnautilus-private/.libs \
-L${LOCALBASE}/lib"
# The regression tests require a running instance of X.
# You will also need to set the XAUTHORITY environment variable to point
# to the appropriate .Xauthority file.
REGRESS_IS_INTERACTIVE=Yes
REGRESS_FLAGS+= DISPLAY=${DISPLAY} XAUTHORITY=${XAUTHORITY}
.include <bsd.port.mk>
CONFIGURE_ARGS+= --sysconfdir="${SYSCONFDIR}/gnome"