1
0
mirror of https://git.FreeBSD.org/ports.git synced 2024-11-26 00:55:14 +00:00
freebsd-ports/x11/mate-menus/Makefile
Tijl Coosemans 5c0834bd1b For several MATE related ports:
- USES=libtool tar:xz.
- INSTALL_TARGET=install-strip.
- Add CONFIGURE_ARGS=--disable-static to ports that only install plugins.
2014-05-18 21:05:53 +00:00

42 lines
1.2 KiB
Makefile

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