2007-07-08 05:25:18 -04:00
|
|
|
# $OpenBSD: Makefile,v 1.19 2007/07/08 09:25:18 ajacoutot Exp $
|
2003-10-08 11:57:01 -04:00
|
|
|
|
2007-07-05 18:50:10 -04:00
|
|
|
COMMENT= GNOME display manager
|
2003-10-08 11:57:01 -04:00
|
|
|
|
2007-07-05 18:50:10 -04:00
|
|
|
GNOME_PROJECT= gdm
|
|
|
|
GNOME_VERSION= 2.18.2
|
2003-10-08 11:57:01 -04:00
|
|
|
|
2007-05-18 13:20:39 -04:00
|
|
|
HOMEPAGE= http://www.gnome.org/projects/gdm/
|
2003-10-08 11:57:01 -04:00
|
|
|
|
|
|
|
# LGPL
|
|
|
|
PERMIT_PACKAGE_CDROM= Yes
|
|
|
|
PERMIT_PACKAGE_FTP= Yes
|
|
|
|
PERMIT_DISTFILES_CDROM= Yes
|
|
|
|
PERMIT_DISTFILES_FTP= Yes
|
2007-05-18 13:20:39 -04:00
|
|
|
WANTLIB= ORBit-2 X11 Xau Xcursor Xdmcp Xext Xfixes Xi Xinerama \
|
|
|
|
Xrandr Xrender art_lgpl_2 atk-1.0 bz2 c cairo croco-0.6 \
|
|
|
|
crypto dbus-1 dbus-glib-1 dmx expat fontconfig freetype \
|
|
|
|
gconf-2 gdk-x11-2.0 gdk_pixbuf-2.0 glade-2.0 glib-2.0 \
|
|
|
|
glitz gmodule-2.0 gnomecanvas-2 gnomevfs-2 gobject-2.0 \
|
|
|
|
gsf-1 gthread-2.0 gtk-x11-2.0 m pango-1.0 pangocairo-1.0 \
|
|
|
|
pangoft2-1.0 png popt pthread ssl util xml2 z
|
|
|
|
|
2007-07-08 05:25:18 -04:00
|
|
|
BUILD_DEPENDS= :scrollkeeper-*:textproc/scrollkeeper \
|
|
|
|
:gnome-doc-utils->=0.3.2:x11/gnome/doc-utils
|
2007-07-05 18:50:10 -04:00
|
|
|
RUN_DEPENDS= :scrollkeeper-*:textproc/scrollkeeper \
|
2005-11-14 18:03:45 -05:00
|
|
|
:hicolor-icon-theme-*:x11/hicolor-icon-theme
|
2007-05-18 13:20:39 -04:00
|
|
|
LIB_DEPENDS= rsvg-2.>=18.1::x11/gnome/librsvg
|
2003-10-08 11:57:01 -04:00
|
|
|
|
2007-07-05 18:50:10 -04:00
|
|
|
MODULES= devel/gettext \
|
|
|
|
x11/gnome
|
2006-01-19 08:35:47 -05:00
|
|
|
|
2003-10-08 11:57:01 -04:00
|
|
|
USE_X11= Yes
|
2007-07-05 18:50:10 -04:00
|
|
|
DESKTOP_FILES= Yes
|
2003-10-08 11:57:01 -04:00
|
|
|
CONFIGURE_STYLE= gnu old
|
2007-05-18 13:20:39 -04:00
|
|
|
CONFIGURE_ARGS+= ${CONFIGURE_SHARED} \
|
|
|
|
--sysconfdir="${SYSCONFDIR}/X11" \
|
|
|
|
--localstatedir=/var
|
2003-10-08 11:57:01 -04:00
|
|
|
CONFIGURE_ENV= CPPFLAGS="-I${LOCALBASE}/include -I${X11BASE}/include" \
|
|
|
|
LDFLAGS="-L${LOCALBASE}/lib"
|
|
|
|
|
|
|
|
post-patch:
|
|
|
|
@ln -s /usr/bin/true ${WRKDIR}/bin/scrollkeeper-update
|
|
|
|
|
|
|
|
post-install:
|
|
|
|
@${INSTALL_DATA_DIR} ${PREFIX}/share/examples/gdm; \
|
2007-05-18 13:20:39 -04:00
|
|
|
mv ${WRKINST}/${SYSCONFDIR}/X11/gdm ${PREFIX}/share/examples/; \
|
|
|
|
rmdir ${WRKINST}/${SYSCONFDIR}/X11/dm
|
|
|
|
find ${PREFIX}/share/examples/gdm -type d -exec chmod 555 {} \;
|
|
|
|
find ${PREFIX}/share/examples/gdm ! -type d -exec chmod 444 {} \;
|
|
|
|
chmod 644 ${PREFIX}/share/examples/gdm/custom.conf
|
2003-10-08 11:57:01 -04:00
|
|
|
|
|
|
|
.include <bsd.port.mk>
|