mirror of
https://git.FreeBSD.org/ports.git
synced 2024-12-13 03:03:15 +00:00
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
38 lines
1.0 KiB
Makefile
38 lines
1.0 KiB
Makefile
# Created by: Joe Marcus Clarke <marcus@FreeBSD.org>
|
|
# $FreeBSD$
|
|
|
|
PORTNAME= mate-menus
|
|
PORTVERSION= 1.12.0
|
|
CATEGORIES= x11 mate
|
|
MASTER_SITES= MATE
|
|
DIST_SUBDIR= mate
|
|
|
|
MAINTAINER= gnome@FreeBSD.org
|
|
COMMENT= Implementation of the FreeDesktop Desktop Menu Spec
|
|
|
|
PORTSCOUT= limitw:1,even
|
|
|
|
USES= gettext gmake libtool pathfix pkgconfig \
|
|
python tar:xz
|
|
USE_GNOME= glib20 intlhack introspection:build
|
|
USE_LDCONFIG= yes
|
|
GNU_CONFIGURE= yes
|
|
CPPFLAGS+= -I${LOCALBASE}/include
|
|
LDFLAGS+= -L${LOCALBASE}/lib
|
|
INSTALL_TARGET= install-strip
|
|
|
|
post-patch:
|
|
@${REINPLACE_CMD} -e 's|/usr/share/mate|${LOCALBASE}/share/mate|g' \
|
|
${WRKSRC}/layout/mate-applications.menu \
|
|
${WRKSRC}/layout/mate-settings.menu
|
|
@${SED} -e 's|/usr/local|${LOCALBASE}|g' \
|
|
< ${FILESDIR}/KDE.directory > ${WRKSRC}/KDE.directory
|
|
@${SED} -e 's|/usr/local|${LOCALBASE}|g' \
|
|
< ${FILESDIR}/GNOME.directory > ${WRKSRC}/GNOME.directory
|
|
|
|
post-install:
|
|
@${INSTALL_DATA} ${WRKSRC}/*.directory \
|
|
${STAGEDIR}${PREFIX}/share/mate/desktop-directories/
|
|
|
|
.include <bsd.port.mk>
|