1f8935d509
Bump PORTREVISION on all dependent ports. [1] audio/ario: USES=libtool. audio/gmpc: USES=libtool. audio/gnome-media: USES=libtool:keepla tar:bzip2. audio/xfce4-mixer: USES=libtool tar:bzip2. graphics/shotwell: Unbreak and USES=tar:xz. science/gwyddion: USES=libtool tar:bzip2. sysutils/mate-control-center: USES=libtool. x11/xfce4-clipman-plugin: USES=libtool tar:bzip2. Approved by: portmgr (implicit) [1]
66 lines
2.4 KiB
Makefile
66 lines
2.4 KiB
Makefile
# Created by: Joe Marcus Clarke <marcus@FreeBSD.org>
|
|
# $FreeBSD$
|
|
|
|
PORTNAME= mate-control-center
|
|
PORTVERSION= 1.6.1
|
|
PORTREVISION= 4
|
|
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 libtool pathfix pkgconfig \
|
|
shared-mime-info tar:xz
|
|
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 pango
|
|
INSTALLS_OMF= yes
|
|
USE_LDCONFIG= yes
|
|
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>
|