# Created by: Joe Marcus Clarke # $FreeBSD: head/x11/gnome-menus/Makefile 398833 2015-10-08 15:12:22Z olgeni $ # $MCom: ports/trunk/x11/gnome-menus/Makefile 20031 2014-11-02 21:47:55Z kwm $ PORTNAME= gnome-menus PORTVERSION= 3.13.3 CATEGORIES= x11 gnome MASTER_SITES= GNOME DIST_SUBDIR= gnome3 MAINTAINER= gnome@FreeBSD.org COMMENT= Implementation of the FreeDesktop Desktop Menu Spec USES= gettext gmake libtool pathfix pkgconfig python tar:xz USE_GNOME= glib20 gnomeprefix intlhack \ introspection:build GNU_CONFIGURE= yes USE_LDCONFIG= yes CPPFLAGS+= -I${LOCALBASE}/include LDFLAGS+= -L${LOCALBASE}/lib INSTALL_TARGET= install-strip post-patch: @${SED} -e 's|/usr/local|${LOCALBASE}|g' \ < ${FILESDIR}/KDE.directory > ${WRKSRC}/KDE.directory post-install: @${MKDIR} -p ${STAGEDIR}${PREFIX}/etc/xdg/menus/ @${INSTALL_DATA} ${WRKSRC}/layout/gnome-applications.menu \ ${STAGEDIR}${PREFIX}/etc/xdg/menus/gnome-applications.menu @${INSTALL_DATA} ${WRKSRC}/KDE.directory \ ${STAGEDIR}${PREFIX}/share/desktop-directories .include