openbsd-ports/x11/gnome/gdm/Makefile
jasper 0f80aa819a update gdm to 2.18.1
lots of help, and ok martynas@
2007-05-18 17:20:39 +00:00

57 lines
1.8 KiB
Makefile

# $OpenBSD: Makefile,v 1.16 2007/05/18 17:20:39 jasper Exp $
COMMENT= "GNOME display manager"
DISTNAME= gdm-2.18.1
CATEGORIES= x11/gnome
HOMEPAGE= http://www.gnome.org/projects/gdm/
# LGPL
PERMIT_PACKAGE_CDROM= Yes
PERMIT_PACKAGE_FTP= Yes
PERMIT_DISTFILES_CDROM= Yes
PERMIT_DISTFILES_FTP= Yes
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
MASTER_SITES= ${MASTER_SITE_GNOME:=sources/gdm/2.18/}
EXTRACT_SUFX= .tar.bz2
BUILD_DEPENDS= :scrollkeeper-*:textproc/scrollkeeper \
:p5-XML-Parser-*:textproc/p5-XML-Parser
RUN_DEPENDS= :desktop-file-utils-*:devel/desktop-file-utils \
:scrollkeeper-*:textproc/scrollkeeper \
:hicolor-icon-theme-*:x11/hicolor-icon-theme
LIB_DEPENDS= rsvg-2.>=18.1::x11/gnome/librsvg
MODULES= devel/gettext
USE_X11= Yes
USE_GMAKE= Yes
USE_LIBTOOL= Yes
CONFIGURE_STYLE= gnu old
CONFIGURE_ARGS+= ${CONFIGURE_SHARED} \
--sysconfdir="${SYSCONFDIR}/X11" \
--localstatedir=/var
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; \
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
.include <bsd.port.mk>