openbsd-ports/x11/gnome/desktop/Makefile

54 lines
1.5 KiB
Makefile
Raw Normal View History

# $OpenBSD: Makefile,v 1.56 2010/06/22 17:37:56 ajacoutot Exp $
SHARED_ONLY= Yes
COMMENT= components for the GNOME desktop
GNOME_PROJECT= gnome-desktop
GNOME_VERSION= 2.30.2
SHARED_LIBS += gnome-desktop-2 8.0 # .15.2
CATEGORIES= x11
# LGPLv2/GFDLv1.1/GPLv2
PERMIT_PACKAGE_CDROM= Yes
PERMIT_PACKAGE_FTP= Yes
PERMIT_DISTFILES_CDROM= Yes
PERMIT_DISTFILES_FTP= Yes
2009-10-10 10:05:21 -04:00
WANTLIB += ICE ORBit-2 SM X11 Xau Xcomposite Xcursor Xdamage Xdmcp
WANTLIB += Xext Xfixes Xi Xinerama Xrandr Xrender atk-1.0 cairo
WANTLIB += dbus-1 dbus-glib-1 execinfo expat fontconfig freetype
WANTLIB += gconf-2 gdk-x11-2.0 gdk_pixbuf-2.0 gio-2.0 glib-2.0
WANTLIB += glitz gmodule-2.0 gobject-2.0 gthread-2.0 gtk-x11-2.0
WANTLIB += m pango-1.0 pangocairo-1.0 pangoft2-1.0 pcre pixman-1
WANTLIB += png pthread-stubs xcb xcb-atom xcb-aux xcb-event
WANTLIB += xcb-render xcb-render-util z
MODULES= devel/gettext \
lang/python \
x11/gnome
BUILD_DEPENDS= ${RUN_DEPENDS}
RUN_DEPENDS= ::x11/gnome/py-gnome
2009-10-10 10:05:21 -04:00
LIB_DEPENDS= startup-notification-1::devel/startup-notification
MODGNOME_HELP_FILES= Yes
2006-11-20 03:07:40 -05:00
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"