summaryrefslogtreecommitdiffstats
path: root/x11/mate-applets/Makefile
diff options
context:
space:
mode:
authorkwm <kwm@df743ca5-7f9a-e211-a948-0013205c9059>2014-04-26 02:12:46 +0800
committerkwm <kwm@df743ca5-7f9a-e211-a948-0013205c9059>2014-04-26 02:12:46 +0800
commitdfc30719d9758d9e6b3e06963e4bf5175ae16825 (patch)
tree3c84ec64b1dd1a9a2618a75efa664a18033890bd /x11/mate-applets/Makefile
parentd0d9889c61e774a633eda7b5bce0688ca50d1ac8 (diff)
downloadmarcuscom-ports-dfc30719d9758d9e6b3e06963e4bf5175ae16825.tar
marcuscom-ports-dfc30719d9758d9e6b3e06963e4bf5175ae16825.tar.gz
marcuscom-ports-dfc30719d9758d9e6b3e06963e4bf5175ae16825.tar.bz2
marcuscom-ports-dfc30719d9758d9e6b3e06963e4bf5175ae16825.tar.lz
marcuscom-ports-dfc30719d9758d9e6b3e06963e4bf5175ae16825.tar.xz
marcuscom-ports-dfc30719d9758d9e6b3e06963e4bf5175ae16825.tar.zst
marcuscom-ports-dfc30719d9758d9e6b3e06963e4bf5175ae16825.zip
Update MC-ports to GNOME 3.12.
Dragons beware! Although most of them should be sleeping. git-svn-id: svn://creme-brulee.marcuscom.com/ports/trunk@19571 df743ca5-7f9a-e211-a948-0013205c9059
Diffstat (limited to 'x11/mate-applets/Makefile')
-rw-r--r--x11/mate-applets/Makefile81
1 files changed, 81 insertions, 0 deletions
diff --git a/x11/mate-applets/Makefile b/x11/mate-applets/Makefile
new file mode 100644
index 000000000..7cc30ad95
--- /dev/null
+++ b/x11/mate-applets/Makefile
@@ -0,0 +1,81 @@
+# Created by: Joe Marcus Clarke <marcus@FreeBSD.org>
+# $FreeBSD$
+# $MCom$
+
+PORTNAME= mate-applets
+PORTVERSION= 1.6.1
+PORTREVISION= 1
+CATEGORIES= x11 mate
+MASTER_SITES= MATE
+DIST_SUBDIR= mate
+
+MAINTAINER= gnome@FreeBSD.org
+COMMENT= Applets components for the MATE Desktop Environment
+
+LIB_DEPENDS= libgtop-2.0.so:${PORTSDIR}/devel/libgtop \
+ libxklavier.so:${PORTSDIR}/x11/libxklavier \
+ libdbus-1.so:${PORTSDIR}/devel/dbus \
+ libdbus-glib-1.so:${PORTSDIR}/devel/dbus-glib \
+ libpolkit-gobject-1.so:${PORTSDIR}/sysutils/polkit \
+ libhal.so:${PORTSDIR}/sysutils/hal \
+ libupower-glib.so:${PORTSDIR}/sysutils/upower \
+ libnotify.so:${PORTSDIR}/devel/libnotify
+
+PORTSCOUT= limitw:1,even
+
+USES= gettext gmake pathfix pkgconfig tar:xz
+USE_MATE= autogen common:build desktop docutils icontheme intlhack \
+ libmateweather libmatewnck mucharmap panel \
+ polkit settingsdaemon
+USE_XORG= x11
+USE_GNOME= gdkpixbuf2 glib20 gnomehier gtk20 introspection:build \
+ libxml2 libxslt pygobject pygtk2
+USE_PYTHON= yes
+USE_LDCONFIG= yes
+INSTALLS_OMF= yes
+USE_AUTOTOOLS= aclocal:env autoconf:env automake:env libtool libtoolize:env
+GNU_CONFIGURE= yes
+INSTALLS_ICONS= yes
+CONFIGURE_ARGS= --enable-mixer-applet \
+ --disable-networkmanager
+CONFIGURE_ENV= OS_SYS="/usr/include"
+CPPFLAGS+= -I${LOCALBASE}/include ${PTHREAD_CFLAGS}
+LDFLAGS+= -L${LOCALBASE}/lib ${PTHREAD_LIBS}
+PATHFIX_MAKEFILEIN= Makefile.*
+
+GLIB_SCHEMAS= org.mate.panel.applet.charpick.gschema.xml \
+ org.mate.panel.applet.geyes.gschema.xml \
+ org.mate.panel.applet.multiload.gschema.xml \
+ org.mate.stickynotes.gschema.xml
+
+FIX_APPLETS= accessx-status battstat charpick drivemount geyes \
+ invest-applet/data multiload stickynotes trashapplet
+
+.include <bsd.port.pre.mk>
+
+.if ${ARCH} != "i386" && ${ARCH} != "amd64"
+CFLAGS+= -fPIC
+PLIST_SUB+= BATTERY="@comment "
+.else
+GLIB_SCHEMAS+= org.mate.panel.applet.battstat.gschema.xml
+PLIST_SUB+= BATTERY=""
+.endif
+
+.if ${ARCH} != "i386" && ${ARCH} != "amd64"
+PLIST_SUB+= CPUFREQ="@comment "
+.else
+PLIST_SUB+= CPUFREQ=""
+GLIB_SCHEMAS+= org.mate.panel.applet.cpufreq.gschema.xml
+.endif
+
+post-patch:
+ @${FIND} ${WRKSRC} -name Makefile.am | ${XARGS} ${REINPLACE_CMD} -e \
+ 's|" == "|" = "|g'
+ ${MV} ${WRKSRC}/invest-applet/invest/invest-applet.py \
+ ${WRKSRC}/invest-applet/invest/mate-invest-applet.py
+.for dir in ${FIX_APPLETS}
+ @${REINPLACE_CMD} -e 's|@LIBEXECDIR@/|@LIBEXECDIR@/mate-|g' \
+ ${WRKSRC}/${dir}/org.mate.*
+.endfor
+
+.include <bsd.port.post.mk>