mirror of
https://git.FreeBSD.org/ports.git
synced 2024-12-20 04:02:27 +00:00
35 lines
1015 B
Makefile
35 lines
1015 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>
|