freebsd-ports/x11/mate-menus/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

41 lines
1.1 KiB
Makefile

# Created by: Joe Marcus Clarke <marcus@FreeBSD.org>
# $FreeBSD$
PORTNAME= mate-menus
PORTVERSION= 1.6.0
PORTREVISION= 1
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 pathfix pkgconfig
USE_XZ= yes
USE_MATE= autogen common:build intlhack ltverhack
USE_GNOME= glib20 gnomehier introspection:build
USE_PYTHON= yes
USE_LDCONFIG= yes
USE_AUTOTOOLS= aclocal:env autoconf:env automake:env libtool libtoolize:env
GNU_CONFIGURE= yes
CPPFLAGS+= -I${LOCALBASE}/include
LDFLAGS+= -L${LOCALBASE}/lib
PATHFIX_MAKEFILEIN= Makefile.*
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>