freebsd-ports/x11/gnome-menus/Makefile
John Marino 0ae327316b 3 ports categories: Remove $PTHREAD_LIBS
Categories: editors, x11, x11-toolkits

approved by:	PTHREAD blanket
2015-03-24 19:37:43 +00:00

34 lines
1,016 B
Makefile

# Created by: Joe Marcus Clarke <marcus@FreeBSD.org>
# $FreeBSD$
# $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 <bsd.port.mk>