forked from Lainports/freebsd-ports
* Still build MATE against gtk+ 2 due to gtk+ 3 support not ready for prime time. * Fix loading of a number of applets. We rename a number of applets but didn't change the "config" files the "add applet to panel" dialog uses. [1] * Unbreak the creation of new notes with the stickynotes applet [2] PR: 205391 [1], 200349 [2] Obtained from: GNOME devel repo
48 lines
1.5 KiB
Makefile
48 lines
1.5 KiB
Makefile
# Created by: Joe Marcus Clarke <marcus@FreeBSD.org>
|
|
# $FreeBSD$
|
|
|
|
PORTNAME= mate-power-manager
|
|
PORTVERSION= 1.12.1
|
|
CATEGORIES= sysutils mate
|
|
MASTER_SITES= MATE
|
|
DIST_SUBDIR= mate
|
|
|
|
MAINTAINER= gnome@FreeBSD.org
|
|
COMMENT= Power management system for the MATE Desktop
|
|
|
|
BUILD_DEPENDS= itstool:${PORTSDIR}/textproc/itstool \
|
|
gnome-keyring>=3.0.0:${PORTSDIR}/security/gnome-keyring
|
|
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 \
|
|
libnotify.so:${PORTSDIR}/devel/libnotify
|
|
RUN_DEPENDS= pkexec:${PORTSDIR}/sysutils/polkit \
|
|
gnome-keyring>=3.0.0:${PORTSDIR}/security/gnome-keyring
|
|
|
|
PORTSCOUT= limitw:1,even
|
|
|
|
USES= execinfo gettext gmake libtool pathfix pkgconfig tar:xz
|
|
USE_MATE= panel
|
|
USE_XORG= x11 xext xproto xrandr xrender
|
|
USE_GNOME= cairo glib20 gtk20 intlhack
|
|
GNU_CONFIGURE= yes
|
|
INSTALLS_ICONS= yes
|
|
CONFIGURE_ENV= LIBS="-lexecinfo"
|
|
CONFIGURE_ARGS= --with-doc-dir=${PREFIX}/share/doc \
|
|
--disable-docbook-docs \
|
|
--with-gtk=2.0 \
|
|
--with-keyring
|
|
CPPFLAGS+= -I${LOCALBASE}/include
|
|
LDFLAGS+= -L${LOCALBASE}/lib
|
|
|
|
GLIB_SCHEMAS= org.mate.power-manager.gschema.xml
|
|
|
|
post-patch:
|
|
@${REINPLACE_CMD} -e "s|docbook2man|docbook2man_disabled|g" \
|
|
${WRKSRC}/configure
|
|
@${TOUCH} ${WRKSRC}/aclocal.m4 ${WRKSRC}/Makefile.in \
|
|
${WRKSRC}/configure ${WRKSRC}/config.h.in
|
|
|
|
.include <bsd.port.mk>
|