openbsd-ports/x11/gnome/desktop/Makefile
2009-08-11 08:38:41 +00:00

55 lines
1.6 KiB
Makefile

# $OpenBSD: Makefile,v 1.48 2009/08/11 08:39:38 ajacoutot Exp $
COMMENT= components for the GNOME desktop
GNOME_PROJECT= gnome-desktop
GNOME_VERSION= 2.24.3
PKGNAME= ${DISTNAME}p10
SHARED_LIBS += gnome-desktop-2 6.0 # .9.4
CATEGORIES= x11
# LGPLv2/GFDLv1.1/GPLv2
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 Xcomposite \
Xcursor Xdamage Xdmcp Xext Xfixes Xi Xinerama Xrandr \
Xrender art_lgpl_2 atk-1.0 avahi-client avahi-common \
avahi-glib bonobo-2 bonobo-activation \
bonoboui-2 cairo crypto dbus-1 dbus-glib-1 expat \
fontconfig freetype gailutil gconf-2 gdk-x11-2.0 gdk_pixbuf-2.0 \
gio-2.0 glib-2.0 glitz gmodule-2.0 gnome-2 gnome-keyring \
gnomecanvas-2 gnomevfs-2 gobject-2.0 gthread-2.0 gtk-x11-2.0 \
m pango-1.0 pangocairo-1.0 pangoft2-1.0 pcre pixman-1 \
png popt ssl util xml2 z pthread-stubs xcb
MODULES= devel/gettext \
x11/gnome \
lang/python
RUN_DEPENDS= ::x11/gnome/py-gnome
LIB_DEPENDS= gnomeui-2::x11/gnome/libgnomeui \
startup-notification-1::devel/startup-notification
MODGNOME_HELP_FILES= Yes
USE_X11= Yes
DESKTOP_FILES= Yes
CONFIGURE_ARGS+= ${CONFIGURE_SHARED}
CONFIGURE_ARGS+= --with-gnome-distributor="OpenBSD Ports" \
--disable-scrollkeeper
CONFIGURE_ENV= CPPFLAGS="-I${LOCALBASE}/include" \
LDFLAGS="-L${LOCALBASE}/lib"
# stop systrace spam by avoiding xsltproc to access net
pre-configure:
find ${WRKSRC}/desktop-docs/ -name Makefile.in \
-exec perl -pi -e 's,xsltproc,xsltproc --nonet,g' {} \;
.include <bsd.port.mk>
CONFIGURE_ARGS+= --sysconfdir="${SYSCONFDIR}/gnome"