2010-10-25 17:45:57 +00:00
|
|
|
# $OpenBSD: Makefile,v 1.127 2010/10/25 17:45:57 ajacoutot Exp $
|
2003-01-31 19:06:39 +00:00
|
|
|
|
2007-07-05 22:50:10 +00:00
|
|
|
COMMENT= GNOME session
|
2003-01-31 19:06:39 +00:00
|
|
|
|
2007-07-05 22:50:10 +00:00
|
|
|
GNOME_PROJECT= gnome-session
|
2010-09-30 07:37:04 +00:00
|
|
|
GNOME_VERSION= 2.32.0
|
2010-10-01 09:42:11 +00:00
|
|
|
|
2010-10-25 17:45:57 +00:00
|
|
|
REVISION= 4
|
2008-12-15 08:56:38 +00:00
|
|
|
|
2007-07-05 22:50:10 +00:00
|
|
|
CATEGORIES= x11
|
2003-01-31 19:06:39 +00:00
|
|
|
|
2008-11-21 18:18:59 +00:00
|
|
|
# GPLv2/LGPLv2/GFDLv1.1
|
2003-01-31 19:06:39 +00:00
|
|
|
PERMIT_PACKAGE_CDROM= Yes
|
|
|
|
PERMIT_PACKAGE_FTP= Yes
|
|
|
|
PERMIT_DISTFILES_CDROM= Yes
|
|
|
|
PERMIT_DISTFILES_FTP= Yes
|
2007-11-10 15:52:24 +00:00
|
|
|
|
2009-10-13 23:20:41 +00:00
|
|
|
WANTLIB += ICE ORBit-2 SM X11 Xau Xcomposite Xcursor Xdamage Xdmcp
|
|
|
|
WANTLIB += Xext Xfixes Xi Xinerama Xrandr Xrender Xtst atk-1.0
|
|
|
|
WANTLIB += c cairo dbus-1 dbus-glib-1 expat fontconfig freetype
|
2010-10-11 08:11:24 +00:00
|
|
|
WANTLIB += gdk-x11-2.0 gdk_pixbuf-2.0 gio-2.0 glib-2.0 gmodule-2.0
|
2009-10-13 23:20:41 +00:00
|
|
|
WANTLIB += gobject-2.0 gthread-2.0 gtk-x11-2.0 m pango-1.0 pangocairo-1.0
|
|
|
|
WANTLIB += pangoft2-1.0 pcre pixman-1 png pthread pthread-stubs
|
2010-09-30 07:37:04 +00:00
|
|
|
WANTLIB += z xcb-render xcb-render-util execinfo xcb
|
2007-05-18 14:11:32 +00:00
|
|
|
|
2007-07-05 22:50:10 +00:00
|
|
|
MODULES= devel/gettext \
|
2009-06-07 10:46:40 +00:00
|
|
|
x11/gnome \
|
|
|
|
devel/gconf2
|
2007-05-18 14:11:32 +00:00
|
|
|
|
2008-12-17 18:47:57 +00:00
|
|
|
BUILD_DEPENDS= ::textproc/rarian \
|
2008-11-25 13:47:50 +00:00
|
|
|
::textproc/xmlto \
|
2009-05-22 08:50:19 +00:00
|
|
|
::x11/gnome/settings-daemon
|
2010-07-25 08:15:32 +00:00
|
|
|
LIB_DEPENDS= ::devel/libexecinfo
|
2010-07-07 16:37:57 +00:00
|
|
|
RUN_DEPENDS= ::x11/gnome/settings-daemon \
|
|
|
|
::sysutils/consolekit
|
|
|
|
|
|
|
|
# polkit-gnome isn't really *required* but then we will loose the polkit
|
2010-09-18 06:04:00 +00:00
|
|
|
# auth. dialog ; same for gconf2-polkit, gconf2 and polkit are already
|
|
|
|
# dependencies and we want to be able to handle system-wide gconf entries.
|
|
|
|
# This should really be a dep. of a "gnome" metapackage.
|
2010-07-07 16:37:57 +00:00
|
|
|
RUN_DEPENDS+= ::x11/polkit-gnome
|
2010-09-18 06:04:00 +00:00
|
|
|
RUN_DEPENDS+= ::devel/gconf2,-polkit
|
2003-01-31 19:06:39 +00:00
|
|
|
|
2007-07-05 22:50:10 +00:00
|
|
|
DESKTOP_FILES= Yes
|
2009-06-07 10:46:40 +00:00
|
|
|
MODGCONF2_SCHEMAS_DIR= gnome-session
|
2007-07-05 22:50:10 +00:00
|
|
|
|
2009-10-13 23:20:41 +00:00
|
|
|
CONFIGURE_ARGS= ${CONFIGURE_SHARED} \
|
|
|
|
--disable-rebuilds
|
|
|
|
CONFIGURE_ENV= CPPFLAGS="-I${LOCALBASE}/include" \
|
|
|
|
LDFLAGS="-L${LOCALBASE}/lib -lexecinfo"
|
2010-10-19 08:13:56 +00:00
|
|
|
USE_GROFF = Yes
|
2003-01-31 19:06:39 +00:00
|
|
|
|
2009-08-20 09:40:13 +00:00
|
|
|
# XXX gconf2 MODULE changes this value but gsm-gconf.c uses this to
|
|
|
|
# find the right path for gconftool-2
|
|
|
|
CONFIGURE_ENV+= GCONFTOOL=${LOCALBASE}/bin/gconftool-2
|
|
|
|
|
2010-09-30 07:37:04 +00:00
|
|
|
MAKE_FLAGS= XSLTPROC="${LOCALBASE}/bin/xsltproc -nonet"
|
2009-10-13 23:20:41 +00:00
|
|
|
|
2008-01-24 11:43:31 +00:00
|
|
|
post-install:
|
|
|
|
${INSTALL_DATA_DIR} ${PREFIX}/share/doc/gnome-session
|
2008-11-18 23:06:41 +00:00
|
|
|
${SUBST_CMD} -c ${FILESDIR}/README.OpenBSD \
|
|
|
|
${PREFIX}/share/doc/gnome-session/README.OpenBSD
|
2008-11-21 18:18:59 +00:00
|
|
|
chown ${SHAREOWN}:${SHAREGRP} \
|
|
|
|
${PREFIX}/share/doc/gnome-session/README.OpenBSD
|
2008-01-24 11:43:31 +00:00
|
|
|
|
2003-01-31 19:06:39 +00:00
|
|
|
.include <bsd.port.mk>
|