openbsd-ports/x11/gnome/panel/Makefile

74 lines
2.6 KiB
Makefile
Raw Normal View History

# $OpenBSD: Makefile,v 1.70 2010/04/22 18:36:32 ajacoutot Exp $
COMMENT= GNOME panel
GNOME_PROJECT= gnome-panel
GNOME_VERSION= 2.30.0
SHARED_LIBS= panel-applet-2 4.0 # .2.67
CATEGORIES= x11
# OpenBSD does not have consolekit/policykit, so we fall back to the
# previous behaviour, bypassing gnome-session. Only if GDM is running,
# shutdown/restart is allowed.
#MASTER_SITES0= http://www.bsdfrog.org/OpenBSD/distfiles/
#PATCHFILES= gnome-panel-2.28.0-1.logout.patch:0
#PATCH_DIST_STRIP= -p1
# GPLv2/LGPLv2/GFDLv1.1
PERMIT_PACKAGE_CDROM= Yes
PERMIT_PACKAGE_FTP= Yes
PERMIT_DISTFILES_CDROM= Yes
PERMIT_DISTFILES_FTP= Yes
WANTLIB += ICE ORBit-2 ORBitCosNaming-2 SM X11 XRes Xau Xcomposite
WANTLIB += Xcursor Xdamage Xdmcp Xext Xfixes Xi Xinerama Xrandr
WANTLIB += Xrender art_lgpl_2 asn1 atk-1.0 avahi-client avahi-common
WANTLIB += avahi-glib bonobo-2 bonobo-activation bonoboui-2 bz2
WANTLIB += c cairo com_err croco-0.6 crypto dbus-1 dbus-glib-1
WANTLIB += eggdbus-1 execinfo expat fontconfig freetype gailutil
WANTLIB += gcrypt gdk-x11-2.0 gdk_pixbuf-2.0 gio-2.0 glib-2.0
WANTLIB += glitz gmodule-2.0 gnome-2 gnome-keyring gnomecanvas-2
WANTLIB += gnomevfs-2 gnutls gobject-2.0 gpg-error gsf-1 gssapi
WANTLIB += gthread-2.0 gtk-x11-2.0 ical icalss icalvcal krb5 m
WANTLIB += nspr4 nss3 ogg pango-1.0 pangocairo-1.0 pangoft2-1.0
WANTLIB += pcre pixman-1 plc4 plds4 png popt proxy pthread pthread-stubs
WANTLIB += smime3 soup-2.4 sqlite3 ssl ssl3 startup-notification-1
WANTLIB += tasn1 util vorbis vorbisfile xcb xcb-atom xcb-aux xcb-event
WANTLIB += xcb-render xcb-render-util xml2 z
MODULES= devel/gettext \
x11/gnome \
devel/gconf2
LIB_DEPENDS= camel-1.2,ebook-1.2,ecal-1.2,edataserver-1.2,edataserverui-1.2::databases/evolution-data-server \
canberra-gtk.>=1,canberra::audio/libcanberra \
ltdl.>=4::devel/libtool,-ltdl \
wnck-1.>=21::devel/libwnck \
gnome-desktop-2.>=5::x11/gnome/desktop \
gnome-menu::x11/gnome/menus \
gweather::x11/gnome/libgweather \
rsvg-2::x11/gnome/librsvg \
soup-gnome-2.4.>=1::devel/libsoup,-gnome
RUN_DEPENDS= :notification-daemon-*|notification-daemon-xfce-*|xfce4-notifyd-*:sysutils/notification-daemon
MODGNOME_HELP_FILES= Yes
USE_X11= Yes
DESKTOP_FILES= Yes
MODGCONF2_SCHEMAS_DIR= gnome-panel
CONFIGURE_ARGS= ${CONFIGURE_SHARED} \
--enable-gtk-doc=no \
--disable-polkit \
--disable-network-manager
CONFIGURE_ENV= CPPFLAGS="-I${LOCALBASE}/include -I${LOCALBASE}/include/libpng" \
LDFLAGS="-L${LOCALBASE}/lib"
pre-configure:
perl -pi -e 's,'s,xsltproc -o,xsltproc --nonet -o,g' \
${WRKSRC}/help/clock/Makefile.in \
${WRKSRC}/help/fish/Makefile.in
.include <bsd.port.mk>