310fc7eeb7
* 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
47 lines
1.4 KiB
Makefile
47 lines
1.4 KiB
Makefile
# Created by: Joe Marcus Clarke <marcus@FreeBSD.org>
|
|
# $FreeBSD$
|
|
|
|
PORTNAME= mate-control-center
|
|
PORTVERSION= 1.12.1
|
|
CATEGORIES= sysutils mate
|
|
MASTER_SITES= MATE
|
|
DIST_SUBDIR= mate
|
|
|
|
MAINTAINER= gnome@FreeBSD.org
|
|
COMMENT= Control center for MATE project
|
|
|
|
BUILD_DEPENDS= itstool:${PORTSDIR}/textproc/itstool
|
|
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 \
|
|
libxklavier.so:${PORTSDIR}/x11/libxklavier \
|
|
libpolkit-gobject-1.so:${PORTSDIR}/sysutils/polkit
|
|
|
|
PORTSCOUT= limitw:1,even
|
|
|
|
USES= desktop-file-utils gettext gmake libtool pathfix pkgconfig \
|
|
shared-mime-info tar:xz
|
|
USE_MATE= desktop libmatekbd marco menus settingsdaemon
|
|
USE_XORG= x11 xcursor xext xxf86misc xft xi xrandr xscrnsaver
|
|
USE_GNOME= dconf glib20 gtk20 intlhack libxml2 librsvg2 \
|
|
pango
|
|
USE_LDCONFIG= yes
|
|
GNU_CONFIGURE= yes
|
|
CONFIGURE_ARGS= --enable-appindicator=no \
|
|
--with-gtk=2.0
|
|
INSTALLS_ICONS= yes
|
|
CPPFLAGS+= -I${LOCALBASE}/include
|
|
LDFLAGS+= -L${LOCALBASE}/lib
|
|
INSTALL_TARGET= install-strip
|
|
|
|
GLIB_SCHEMAS= org.mate.control-center.gschema.xml \
|
|
org.mate.control-center.keybinding.gschema.xml
|
|
|
|
post-patch:
|
|
@${REINPLACE_CMD} -e 's|%%LOCALBASE%%|${LOCALBASE}|' \
|
|
${WRKSRC}/capplets/common/mate-theme-info.c
|
|
@${REINPLACE_CMD} -e 's|/usr/sbin|${PREFIX}/sbin|g' \
|
|
${WRKSRC}/capplets/display/org.mate.randr.policy.in
|
|
|
|
.include <bsd.port.mk>
|