freebsd-ports/x11/mate-menus/Makefile
Koop Mast 0a7668c133 Update the mate desktop to 1.18.
* The MATE DE is now GTK+3 based
* mate-calc has come back.
* New USE_MATE=mixer macro

* Add license
* Review dependancies
* Swich to USES=localbase
* atril/eom options reworked into option helper

Thanks to Eric Turgeon for submitting the bulk of this MATE update.

Obtained from:	gnome devel repo
2017-07-04 11:44:30 +00:00

40 lines
1.1 KiB
Makefile

# Created by: Joe Marcus Clarke <marcus@FreeBSD.org>
# $FreeBSD$
PORTNAME= mate-menus
PORTVERSION= 1.18.0
CATEGORIES= x11 mate
MASTER_SITES= MATE
DIST_SUBDIR= mate
MAINTAINER= gnome@FreeBSD.org
COMMENT= Implementation of the FreeDesktop Desktop Menu Spec
LICENSE= GPLv2 LGPL20
LICENSE_COMB= dual
LICENSE_FILE_GPLv2= ${WRKSRC}/COPYING
LICENSE_FILE_LGPL20= ${WRKSRC}/COPYING.LIB
PORTSCOUT= limitw:1,even
USES= gettext gmake libtool localbase pathfix pkgconfig \
python:2.7 tar:xz
USE_GNOME= glib20 intltool introspection:buid
USE_LDCONFIG= yes
GNU_CONFIGURE= yes
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>