freebsd-ports/sysutils/mate-control-center/Makefile
Koop Mast a236e2d0bf Say hello to Mate 1.6.
Mate is a lite desktop forked from gnome2.

Most of the work is done by Jeremy Messenger (mezz@). The only thing I did
was update a few ports to later 1.6 release and attempting to keep up with
ports infra changes. Resulting bugs are all mine.

Mate is a sort of replacement for Gnome 2. So people wanting to keep a
Gnome 2 like desktop should switch. Gnome 2 will be replaced by Gnome 3
in the near future. This switch will be announce with a transition time
so people have more time to switch if they haven't already.

This release was made possible by everyone that send friendly pokes to
keep mate on my mind.

Approved by:	portmgr (bapt)
2013-11-23 11:39:07 +00:00

68 lines
2.4 KiB
Makefile

# Created by: Joe Marcus Clarke <marcus@FreeBSD.org>
# $FreeBSD$
PORTNAME= mate-control-center
PORTVERSION= 1.6.1
CATEGORIES= sysutils mate
MASTER_SITES= MATE
DIST_SUBDIR= mate
MAINTAINER= gnome@FreeBSD.org
COMMENT= Control center for MATE project
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 pathfix pkgconfig \
shared-mime-info
USE_XZ= yes
USE_MATE= desktop docutils libmatekbd marco menus settingsdaemon
USE_XORG= x11 xcursor xext xxf86misc xft xi xrandr xscrnsaver
USE_GNOME= dconf glib20 gnomehier gtk20 intlhack libxml2 librsvg2 \
ltverhack pango
INSTALLS_OMF= yes
USE_LDCONFIG= yes
USE_AUTOTOOLS= libtool
GNU_CONFIGURE= yes
CONFIGURE_ARGS= --enable-appindicator=no
INSTALLS_ICONS= yes
CPPFLAGS+= -I${LOCALBASE}/include
LDFLAGS+= -L${LOCALBASE}/lib
GLIB_SCHEMAS= org.mate.control-center.gschema.xml \
org.mate.control-center.keybinding.gschema.xml
FIX_FILES= capplets/accessibility/at-properties \
capplets/display \
capplets/keyboard capplets/windows
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
.for dir in ${FIX_FILES}
@${REINPLACE_CMD} -e 's|Desktop_in_files = |Desktop_in_files = mate-|g' \
${WRKSRC}/${dir}/Makefile.in
.endfor
@${MV} ${WRKSRC}/capplets/accessibility/at-properties/at-properties.desktop.in.in \
${WRKSRC}/capplets/accessibility/at-properties/mate-at-properties.desktop.in.in
@${MV} ${WRKSRC}/capplets/display/display-properties.desktop.in.in \
${WRKSRC}/capplets/display/mate-display-properties.desktop.in.in
@${MV} ${WRKSRC}/capplets/keyboard/keyboard.desktop.in.in \
${WRKSRC}/capplets/keyboard/mate-keyboard.desktop.in.in
@${MV} ${WRKSRC}/capplets/windows/window-properties.desktop.in.in \
${WRKSRC}/capplets/windows/mate-window-properties.desktop.in.in
post-install:
@${STRIP_CMD} ${STAGEDIR}${PREFIX}/lib/libmate-window-settings.so.1
@${STRIP_CMD} ${STAGEDIR}${PREFIX}/lib/window-manager-settings/libmarco.so
@${STRIP_CMD} ${STAGEDIR}${PREFIX}/lib/libslab.so.0
.include <bsd.port.mk>