openbsd-ports/x11/gnome/desktop/Makefile
ajacoutot 56881e0491 --disable-scrollkeeper is not needed when rarian is in the dependency
chain (scrollkeer is a compatility wrapper that does nothing).
2011-04-05 16:37:58 +00:00

55 lines
1.5 KiB
Makefile

# $OpenBSD: Makefile,v 1.66 2011/04/05 16:37:59 ajacoutot Exp $
SHARED_ONLY= Yes
COMMENT= components for the GNOME desktop
GNOME_PROJECT= gnome-desktop
GNOME_VERSION= 2.32.1
REVISION= 0
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
WANTLIB += ICE ORBit-2 SM X11 Xau Xcomposite Xcursor Xdamage Xdmcp
WANTLIB += Xext Xfixes Xi Xinerama Xrandr Xrender atk-1.0 cairo
WANTLIB += execinfo expat fontconfig freetype
WANTLIB += gconf-2 gdk-x11-2.0 gdk_pixbuf-2.0 gio-2.0 glib-2.0
WANTLIB += 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 z startup-notification-1
WANTLIB += GL Xxf86vm drm xcb-shm
MODULES= devel/gettext \
lang/python \
x11/gnome
BUILD_DEPENDS= ${RUN_DEPENDS}
RUN_DEPENDS= x11/gnome/py-gnome
LIB_DEPENDS= devel/startup-notification
MODGNOME_HELP_FILES= Yes
DESKTOP_FILES= Yes
CONFIGURE_ARGS+= ${CONFIGURE_SHARED}
CONFIGURE_ARGS+= --with-gnome-distributor="OpenBSD Ports" \
--disable-gtk-doc
CONFIGURE_ENV= CPPFLAGS="-I${LOCALBASE}/include" \
LDFLAGS="-L${LOCALBASE}/lib"
USE_GROFF = Yes
# 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>