2008-07-30 15:47:09 -04:00
|
|
|
# $OpenBSD: Makefile,v 1.46 2008/07/30 19:47:10 martynas Exp $
|
2003-01-31 13:42:04 -05:00
|
|
|
|
2007-07-05 18:50:10 -04:00
|
|
|
COMMENT-main= applets for use with the GNOME panel
|
|
|
|
COMMENT-battstat= GNOME applet for monitoring battery level
|
|
|
|
|
|
|
|
GNOME_PROJECT= gnome-applets
|
2007-11-10 10:38:17 -05:00
|
|
|
GNOME_VERSION= 2.20.0
|
2003-01-31 13:42:04 -05:00
|
|
|
|
2008-07-30 15:47:09 -04:00
|
|
|
PKGNAME-main= gnome-applets2-${VERSION}p5
|
2008-07-11 13:46:56 -04:00
|
|
|
PKGNAME-battstat= gnome-applets2-battstat-${VERSION}p5
|
2008-07-30 15:47:09 -04:00
|
|
|
SHARED_LIBS += gweather 1.0 # .0.0
|
2007-07-05 18:50:10 -04:00
|
|
|
CATEGORIES= x11
|
2003-01-31 13:42:04 -05:00
|
|
|
|
|
|
|
# LGPL
|
|
|
|
PERMIT_PACKAGE_CDROM= Yes
|
|
|
|
PERMIT_PACKAGE_FTP= Yes
|
|
|
|
PERMIT_DISTFILES_CDROM= Yes
|
|
|
|
PERMIT_DISTFILES_FTP= Yes
|
2007-11-10 10:38:17 -05:00
|
|
|
|
|
|
|
WANTLIB= ICE ORBit-2 ORBitCosNaming-2 SM X11 Xau Xcomposite \
|
|
|
|
Xcursor Xdamage 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 gailutil gconf-2 gdk-x11-2.0 gdk_pixbuf-2.0 \
|
|
|
|
glade-2.0 glib-2.0 glitz gmodule-2.0 gnome-2 gnome-keyring \
|
|
|
|
gnomecanvas-2 gnomeui-2 gnomevfs-2 gobject-2.0 gthread-2.0 \
|
|
|
|
gtk-x11-2.0 jpeg m pango-1.0 pangocairo-1.0 pangoft2-1.0 \
|
2008-06-02 13:58:23 -04:00
|
|
|
pcre pixman-1 png popt pthread ssl util xml2 z
|
2003-01-31 13:42:04 -05:00
|
|
|
|
2007-07-05 18:50:10 -04:00
|
|
|
MODULES= devel/gettext \
|
2007-11-02 06:32:21 -04:00
|
|
|
lang/python \
|
2007-07-05 18:50:10 -04:00
|
|
|
x11/gnome
|
2003-01-31 13:42:04 -05:00
|
|
|
|
2008-05-26 12:29:26 -04:00
|
|
|
MODGNOME_HELP_FILES= Yes
|
|
|
|
|
2006-12-16 07:22:32 -05:00
|
|
|
BUILD_DEPENDS= :scrollkeeper-*:textproc/scrollkeeper \
|
2007-07-05 18:50:10 -04:00
|
|
|
:gnome-icon-theme->=2.15.91:x11/gnome/icon-theme
|
2005-07-11 00:28:58 -04:00
|
|
|
RUN_DEPENDS= :scrollkeeper-*:textproc/scrollkeeper \
|
2007-05-16 18:18:38 -04:00
|
|
|
:gnome-icon-theme->=2.15.91:x11/gnome/icon-theme
|
2007-11-02 06:32:21 -04:00
|
|
|
MODPY_RUNDEP= No
|
2007-05-16 18:18:38 -04:00
|
|
|
LIB_DEPENDS= notify::devel/libnotify \
|
|
|
|
panel-applet-2::x11/gnome/panel
|
2006-11-26 06:35:12 -05:00
|
|
|
LIB_DEPENDS-main= ${LIB_DEPENDS} \
|
2007-05-16 18:18:38 -04:00
|
|
|
gstbase-0.10,gstreamer-0.10::multimedia/gstreamer-0.10/core \
|
|
|
|
gstaudio-0.10.>=0.1,gstinterfaces-0.10.>=0.1::multimedia/gstreamer-0.10/plugins-base \
|
2006-09-18 05:40:31 -04:00
|
|
|
gtop-2.0.>=3.0::devel/libgtop2 \
|
2007-05-16 18:18:38 -04:00
|
|
|
xklavier::x11/gnome/libxklavier \
|
|
|
|
gucharmap:gucharmap->=1.8:x11/gnome/gucharmap \
|
|
|
|
gnomekbd,gnomekbdui::x11/gnome/libgnomekbd
|
2003-01-31 13:42:04 -05:00
|
|
|
|
|
|
|
PSEUDO_FLAVORS= no_battstat
|
2004-12-25 14:58:21 -05:00
|
|
|
FLAVOR?=
|
|
|
|
|
2008-07-23 05:50:06 -04:00
|
|
|
# not all powerpc support apm(4), hence the use of ${MACHINE} and macppc
|
|
|
|
.if ${MACHINE_ARCH} != "amd64" && ${MACHINE_ARCH} != "arm" \
|
|
|
|
&& ${MACHINE_ARCH} != "i386" && ${MACHINE} != "macppc" \
|
|
|
|
&& ${MACHINE_ARCH} != "sparc"
|
|
|
|
FLAVOR+= no_battstat
|
|
|
|
.endif
|
|
|
|
|
2006-11-26 06:35:12 -05:00
|
|
|
MULTI_PACKAGES= -main
|
2004-12-25 14:58:21 -05:00
|
|
|
.if ${FLAVOR:L:Mno_battstat}
|
|
|
|
CONFIGURE_ARGS+= --disable-battstat
|
|
|
|
.else
|
2003-01-31 13:42:04 -05:00
|
|
|
MULTI_PACKAGES+= -battstat
|
|
|
|
.endif
|
|
|
|
|
2007-11-10 10:38:17 -05:00
|
|
|
CONFIGURE_ARGS+= --disable-schemas-install \
|
|
|
|
--disable-scrollkeeper \
|
|
|
|
--with-gconf-schema-file-dir=${LOCALBASE}/share/schemas/gnome-applets2
|
2003-01-31 13:42:04 -05:00
|
|
|
CONFIGURE_ENV= CPPFLAGS="-I${LOCALBASE}/include" \
|
|
|
|
LDFLAGS="-L${LOCALBASE}/lib"
|
|
|
|
|
2006-11-26 06:35:12 -05:00
|
|
|
WANTLIB-main= ${WANTLIB} \
|
2007-05-16 18:18:38 -04:00
|
|
|
XRes kvm xkbfile gnome-desktop-2 startup-notification-1 wnck-1
|
2003-01-31 13:42:04 -05:00
|
|
|
|
2005-07-11 00:28:58 -04:00
|
|
|
.if !${FLAVOR:L:Mno_battstat}
|
2003-01-31 13:42:04 -05:00
|
|
|
post-install:
|
2007-11-10 10:38:17 -05:00
|
|
|
${INSTALL_DATA_DIR} ${PREFIX}/share/examples/gnome-applets2
|
2004-10-17 00:41:19 -04:00
|
|
|
cp -Rp ${WRKINST}/${SYSCONFDIR}/gnome/* ${PREFIX}/share/examples/gnome-applets2/
|
2005-07-11 00:28:58 -04:00
|
|
|
.endif
|
2003-01-31 13:42:04 -05:00
|
|
|
|
|
|
|
.include <bsd.port.mk>
|
2007-05-16 18:18:38 -04:00
|
|
|
|
|
|
|
CONFIGURE_ARGS+= --sysconfdir="${SYSCONFDIR}/gnome"
|