openbsd-ports/x11/gnome/gdm/Makefile

69 lines
2.0 KiB
Makefile
Raw Normal View History

2010-06-12 10:57:50 -04:00
# $OpenBSD: Makefile,v 1.74 2010/06/12 14:57:50 steven Exp $
2003-10-08 11:57:01 -04:00
COMMENT= GNOME display manager
2003-10-08 11:57:01 -04:00
GNOME_PROJECT= gdm
GNOME_VERSION= 2.20.11
2003-10-08 11:57:01 -04:00
2009-07-12 16:32:02 -04:00
HOMEPAGE= http://projects.gnome.org/gdm/
2003-10-08 11:57:01 -04:00
# GPLv2
2003-10-08 11:57:01 -04:00
PERMIT_PACKAGE_CDROM= Yes
PERMIT_PACKAGE_FTP= Yes
PERMIT_DISTFILES_CDROM= Yes
PERMIT_DISTFILES_FTP= Yes
WANTLIB += X11 Xau Xcomposite Xcursor Xdamage Xdmcp Xext Xfixes
WANTLIB += Xi Xinerama Xrandr Xrender art_lgpl_2 atk-1.0 bz2 c
WANTLIB += cairo croco-0.6 dmx expat fontconfig freetype gailutil
WANTLIB += gdk-x11-2.0 gdk_pixbuf-2.0 gio-2.0 glade-2.0 glib-2.0
WANTLIB += glitz gmodule-2.0 gobject-2.0 gsf-1 gtk-x11-2.0 m pango-1.0
WANTLIB += pangocairo-1.0 pangoft2-1.0 pcre pixman-1 png pthread
WANTLIB += pthread-stubs util wrap xcb xml2 z
WANTLIB += gthread-2.0 xcb-render xcb-render-util
BUILD_DEPENDS= ::x11/gnome/zenity
RUN_DEPENDS= :sox-*:audio/sox \
:hicolor-icon-theme-*:x11/hicolor-icon-theme \
::x11/gnome/zenity \
::sysutils/ktsuss
LIB_DEPENDS= rsvg-2::x11/gnome/librsvg \
gnomecanvas-2.>=2002::x11/gnome/libgnomecanvas
2003-10-08 11:57:01 -04:00
MODULES= devel/gettext \
x11/gnome
2003-10-08 11:57:01 -04:00
USE_X11= Yes
2010-06-12 10:57:50 -04:00
USE_LIBTOOL= gnu
MODGNOME_HELP_FILES= Yes
2003-10-08 11:57:01 -04:00
CONFIGURE_STYLE= gnu old
CONFIGURE_ARGS+= ${CONFIGURE_SHARED} \
2010-04-11 12:39:05 -04:00
--with-xevie=no \
--sysconfdir="${SYSCONFDIR}/X11" \
--localstatedir=/var \
--mandir=${PREFIX}/man \
--enable-secureremote=yes \
--enable-console-helper=no \
--disable-scrollkeeper \
--with-console-kit=no \
--with-libaudit=no
# -pthread is needed to resolve some undefined symbols
# (pthread_mutex_trylock in libgthread for gdmflexiserver, gdmXnest...)
2003-10-08 11:57:01 -04:00
CONFIGURE_ENV= CPPFLAGS="-I${LOCALBASE}/include -I${X11BASE}/include" \
LDFLAGS="-L${LOCALBASE}/lib -pthread"
2003-10-08 11:57:01 -04:00
# XXX IPv6-only FLAVOR?
CONFIGURE_ARGS+= --enable-ipv6=no
FAKE_FLAGS= sysconfdir=${PREFIX}/share/examples \
dmconfdir=${PREFIX}/share/examples/dm
2003-10-08 11:57:01 -04:00
pre-configure:
${SUBST_CMD} \
${WRKSRC}/config/{Init.in,PostSession.in,PreSession.in,Xsession.in,XKeepsCrashing} \
${WRKSRC}/gui/gdmsetup.desktop.in.in
2003-10-08 11:57:01 -04:00
.include <bsd.port.mk>