2011-01-18 15:03:07 -05:00
|
|
|
# $OpenBSD: Makefile,v 1.65 2011/01/18 20:03:07 ajacoutot Exp $
|
2010-04-20 09:29:41 -04:00
|
|
|
|
|
|
|
SHARED_ONLY= Yes
|
2003-01-31 13:47:09 -05:00
|
|
|
|
2007-07-05 18:50:10 -04:00
|
|
|
COMMENT= components for the GNOME desktop
|
2003-01-31 13:47:09 -05:00
|
|
|
|
2007-07-05 18:50:10 -04:00
|
|
|
GNOME_PROJECT= gnome-desktop
|
2010-11-17 07:01:08 -05:00
|
|
|
GNOME_VERSION= 2.32.1
|
2010-07-25 04:15:32 -04:00
|
|
|
|
2011-01-18 15:03:07 -05:00
|
|
|
REVISION= 0
|
|
|
|
|
2010-04-20 09:29:41 -04:00
|
|
|
SHARED_LIBS += gnome-desktop-2 8.0 # .15.2
|
2009-10-22 09:32:17 -04:00
|
|
|
|
2007-07-05 18:50:10 -04:00
|
|
|
CATEGORIES= x11
|
2003-01-31 13:47:09 -05:00
|
|
|
|
2008-11-21 13:01:10 -05:00
|
|
|
# LGPLv2/GFDLv1.1/GPLv2
|
2003-01-31 13:47:09 -05:00
|
|
|
PERMIT_PACKAGE_CDROM= Yes
|
|
|
|
PERMIT_PACKAGE_FTP= Yes
|
|
|
|
PERMIT_DISTFILES_CDROM= Yes
|
|
|
|
PERMIT_DISTFILES_FTP= Yes
|
2007-11-10 10:13:23 -05:00
|
|
|
|
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
|
2010-11-17 07:01:08 -05:00
|
|
|
WANTLIB += execinfo expat fontconfig freetype
|
2009-10-10 10:05:21 -04:00
|
|
|
WANTLIB += gconf-2 gdk-x11-2.0 gdk_pixbuf-2.0 gio-2.0 glib-2.0
|
2010-10-11 04:11:24 -04:00
|
|
|
WANTLIB += gmodule-2.0 gobject-2.0 gthread-2.0 gtk-x11-2.0
|
2009-10-10 10:05:21 -04:00
|
|
|
WANTLIB += m pango-1.0 pangocairo-1.0 pangoft2-1.0 pcre pixman-1
|
2010-04-20 09:29:41 -04:00
|
|
|
WANTLIB += png pthread-stubs xcb xcb-atom xcb-aux xcb-event
|
2010-11-17 07:01:08 -05:00
|
|
|
WANTLIB += xcb-render z startup-notification-1
|
|
|
|
WANTLIB += GL Xxf86vm drm xcb-shm
|
2007-05-12 12:13:17 -04:00
|
|
|
|
2007-07-05 18:50:10 -04:00
|
|
|
MODULES= devel/gettext \
|
2009-10-20 10:48:35 -04:00
|
|
|
lang/python \
|
|
|
|
x11/gnome
|
2003-01-31 13:47:09 -05:00
|
|
|
|
2009-10-20 10:48:35 -04:00
|
|
|
BUILD_DEPENDS= ${RUN_DEPENDS}
|
2010-11-17 07:01:08 -05:00
|
|
|
RUN_DEPENDS= x11/gnome/py-gnome
|
|
|
|
LIB_DEPENDS= devel/startup-notification
|
2003-01-31 13:47:09 -05:00
|
|
|
|
2008-05-26 12:29:26 -04:00
|
|
|
MODGNOME_HELP_FILES= Yes
|
2007-07-05 18:50:10 -04:00
|
|
|
DESKTOP_FILES= Yes
|
2003-01-31 13:47:09 -05:00
|
|
|
CONFIGURE_ARGS+= ${CONFIGURE_SHARED}
|
2007-05-12 12:13:17 -04:00
|
|
|
CONFIGURE_ARGS+= --with-gnome-distributor="OpenBSD Ports" \
|
2010-09-30 03:33:59 -04:00
|
|
|
--disable-scrollkeeper \
|
|
|
|
--disable-gtk-doc
|
2003-01-31 13:47:09 -05:00
|
|
|
CONFIGURE_ENV= CPPFLAGS="-I${LOCALBASE}/include" \
|
|
|
|
LDFLAGS="-L${LOCALBASE}/lib"
|
2010-11-22 03:36:47 -05:00
|
|
|
USE_GROFF = Yes
|
2003-01-31 13:47:09 -05:00
|
|
|
|
2009-01-21 12:14:42 -05:00
|
|
|
# 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' {} \;
|
|
|
|
|
2003-01-31 13:47:09 -05:00
|
|
|
.include <bsd.port.mk>
|