openbsd-ports/x11/gnome/session/Makefile

62 lines
1.9 KiB
Makefile

# $OpenBSD: Makefile,v 1.23 2007/05/30 09:56:30 jasper Exp $
COMMENT= "GNOME session"
DISTNAME= gnome-session-2.18.0
PKGNAME= ${DISTNAME}p0
CATEGORIES= x11 x11/gnome
MASTER_SITES= ${MASTER_SITE_GNOME:=sources/gnome-session/2.18/}
EXTRACT_SUFX= .tar.bz2
# LGPL
PERMIT_PACKAGE_CDROM= Yes
PERMIT_PACKAGE_FTP= Yes
PERMIT_DISTFILES_CDROM= Yes
PERMIT_DISTFILES_FTP= Yes
WANTLIB= ICE ORBit-2 ORBitCosNaming-2 SM X11 Xau Xcursor Xdmcp \
Xext Xfixes Xi Xinerama Xrandr Xrender art_lgpl_2 atk-1.0 \
audiofile bonobo-2 bonobo-activation bonoboui-2 c cairo \
crypto dbus-1 dbus-glib-1 esd expat fontconfig freetype \
gconf-2 gdk-x11-2.0 gdk_pixbuf-2.0 glib-2.0 glitz gmodule-2.0 \
gnome-2 gnome-keyring gnomecanvas-2 gnomevfs-2 gobject-2.0 \
gthread-2.0 gtk-x11-2.0 jpeg m pango-1.0 pangocairo-1.0 \
pangoft2-1.0 png popt pthread ssl startup-notification-1 \
util wrap xml2 z
MODULES= devel/gettext
BUILD_DEPENDS= :p5-XML-Parser-*:textproc/p5-XML-Parser \
:scrollkeeper-*:textproc/scrollkeeper \
:control-center2-*:x11/gnome/controlcenter2
LIB_DEPENDS= gnomeui-2::x11/gnome/libgnomeui \
gnome-desktop-2::x11/gnome/desktop
# Here we hang all the additional ports that will make up a satisfying
# Gnome2 user experience :)
RUN_DEPENDS+= ::x11/gnome/applets2 \
::x11/gnome/backgrounds \
::x11/gnome/controlcenter2
# Applets pulls in panel
RUN_DEPENDS+= ::x11/gnome/panel \
::x11/gnome/terminal \
::x11/gnome/themes \
::x11/gnome/yelp \
::x11/xscreensaver,no_gle
# ::x11/gnome/bug-buddy
USE_X11= Yes
USE_GMAKE= Yes
USE_LIBTOOL= Yes
CONFIGURE_STYLE= gnu
CONFIGURE_ARGS+= --disable-rebuilds \
--enable-esd \
--with-gconf-schema-file-dir=${LOCALBASE}/share/schemas/gnome-session
CONFIGURE_ENV= CPPFLAGS="-I${LOCALBASE}/include" \
LDFLAGS="-L${LOCALBASE}/lib"
post-patch:
@ln -s /usr/bin/true ${WRKDIR}/bin/scrollkeeper-update
.include <bsd.port.mk>