summaryrefslogtreecommitdiffstats
path: root/sysutils/mate-power-manager/Makefile
diff options
context:
space:
mode:
Diffstat (limited to 'sysutils/mate-power-manager/Makefile')
-rw-r--r--sysutils/mate-power-manager/Makefile50
1 files changed, 50 insertions, 0 deletions
diff --git a/sysutils/mate-power-manager/Makefile b/sysutils/mate-power-manager/Makefile
new file mode 100644
index 0000000..7fdaa3f
--- /dev/null
+++ b/sysutils/mate-power-manager/Makefile
@@ -0,0 +1,50 @@
+# Created by: Joe Marcus Clarke <marcus@FreeBSD.org>
+# $FreeBSD$
+# $MCom$
+
+PORTNAME= mate-power-manager
+PORTVERSION= 1.6.2
+PORTREVISION= 1
+CATEGORIES= sysutils mate
+MASTER_SITES= MATE
+DIST_SUBDIR= mate
+
+MAINTAINER= gnome@FreeBSD.org
+COMMENT= Power management system for the MATE Desktop
+
+LIB_DEPENDS= libcanberra-gtk.so:${PORTSDIR}/audio/libcanberra \
+ libdbus-1.so:${PORTSDIR}/devel/dbus \
+ libdbus-glib-1.so:${PORTSDIR}/devel/dbus-glib \
+ libunique-1.0.so:${PORTSDIR}/x11-toolkits/unique \
+ libupower-glib.so:${PORTSDIR}/sysutils/upower \
+ libexecinfo.so:${PORTSDIR}/devel/libexecinfo \
+ libnotify.so:${PORTSDIR}/devel/libnotify
+RUN_DEPENDS= pkexec:${PORTSDIR}/sysutils/polkit
+
+PORTSCOUT= limitw:1,even
+
+USES= gettext gmake pathfix pkgconfig tar:xz
+USE_MATE= autogen common:build docutils intlhack libmatekeyring \
+ panel
+USE_XORG= x11 xext xproto xrandr xrender
+USE_GNOME= cairo glib20 gnomehier gtk20
+INSTALLS_OMF= yes
+USE_AUTOTOOLS= aclocal:env autoconf:env automake:env libtool libtoolize:env
+GNU_CONFIGURE= yes
+INSTALLS_ICONS= yes
+CONFIGURE_ARGS= --with-doc-dir=${PREFIX}/share/doc \
+ --disable-docbook-docs \
+ --with-gtk=2.0 \
+ --with-systemdinhibit=no
+CPPFLAGS+= -I${LOCALBASE}/include
+LDFLAGS+= -L${LOCALBASE}/lib
+PATHFIX_MAKEFILEIN= Makefile.*
+
+GLIB_SCHEMAS= org.mate.power-manager.gschema.xml
+
+post-patch:
+ @${REINPLACE_CMD} -e "s|docbook2man|docbook2man_disabled|g" \
+ ${WRKSRC}/configure.ac
+ @${CHMOD} +x ${WRKSRC}/autogen.sh
+
+.include <bsd.port.mk>