diff options
Diffstat (limited to 'x11/gnome-menus/Makefile')
-rw-r--r-- | x11/gnome-menus/Makefile | 25 |
1 files changed, 11 insertions, 14 deletions
diff --git a/x11/gnome-menus/Makefile b/x11/gnome-menus/Makefile index 16f8ff5ed..f360adeeb 100644 --- a/x11/gnome-menus/Makefile +++ b/x11/gnome-menus/Makefile @@ -1,24 +1,20 @@ # Created by: Joe Marcus Clarke <marcus@FreeBSD.org> # $FreeBSD$ -# $MCom: ports/trunk/x11/gnome-menus/Makefile 18610 2013-06-30 16:33:05Z marcus $ +# $MCom: ports/trunk/x11/gnome-menus3/Makefile 18610 2013-06-30 16:33:05Z marcus $ PORTNAME= gnome-menus -PORTVERSION= 2.30.5 -PORTREVISION= 1 +PORTVERSION= 3.6.2 CATEGORIES= x11 gnome MASTER_SITES= GNOME -DIST_SUBDIR= gnome2 +DIST_SUBDIR= gnome3 MAINTAINER= gnome@FreeBSD.org COMMENT= Implementation of the FreeDesktop Desktop Menu Spec -CONFLICTS= gnome-menus-3.[0-9]* - -NO_STAGE= yes USES= gettext gmake pathfix pkgconfig -USE_BZIP2= yes -USE_GNOME= gnomehier gnomeprefix intlhack glib20 ltverhack \ - introspection:build +USE_XZ= yes +USE_GNOME= glib20 gnomehier gnomeprefix intlhack introspection:build \ + ltverhack USE_AUTOTOOLS= libtool USE_PYTHON= yes USE_LDCONFIG= yes @@ -31,8 +27,7 @@ post-patch: @${REINPLACE_CMD} -e 's|applications.menu|gnome-applications.menu|' \ ${WRKSRC}/util/test-menu-spec.c @${REINPLACE_CMD} -e 's|/usr/share/gnome|${LOCALBASE}/share/gnome|g' \ - ${WRKSRC}/layout/applications.menu \ - ${WRKSRC}/layout/settings.menu + ${WRKSRC}/layout/applications.menu @${SED} -e 's|/usr/local|${LOCALBASE}|g' \ < ${FILESDIR}/KDE.directory > ${WRKSRC}/KDE.directory @${REINPLACE_CMD} -e 's|%%LOCALBASE%%|${LOCALBASE}|g' \ @@ -41,9 +36,11 @@ post-patch: ${WRKSRC}/util/Makefile.in post-install: + @${MKDIR} -p ${STAGEDIR}${PREFIX}/etc/xdg/menus/ @${INSTALL_DATA} ${WRKSRC}/layout/applications.menu \ - ${PREFIX}/etc/xdg/menus/gnome-applications.menu + ${STAGEDIR}${PREFIX}/etc/xdg/menus/gnome-applications.menu @${INSTALL_DATA} ${WRKSRC}/KDE.directory \ - ${PREFIX}/share/desktop-directories + ${STAGEDIR}${PREFIX}/share/desktop-directories + @${STRIP_CMD} ${STAGEDIR}${PREFIX}/lib/libgnome-menu-3.so.0 .include <bsd.port.mk> |