ports/185917: [PATCH] x11/gnome-menus: disable g-ir-scanner cache, support staging
Dmitry Marakasov
amdmi3 at amdmi3.ru
Tue Jan 28 23:09:28 UTC 2014
* Dmitry Marakasov (amdmi3 at amdmi3.ru) wrote:
Updated patch, which makes use of USE_GNOME=introspection to take
care of environement for g-ir-scanner automatically.
--- gnome-menus.patch begins here ---
Index: Makefile
===================================================================
--- Makefile (revision 341493)
+++ Makefile (working copy)
@@ -12,12 +12,10 @@
MAINTAINER= gnome at FreeBSD.org
COMMENT= Implementation of the FreeDesktop Desktop Menu Spec
-BUILD_DEPENDS= g-ir-scanner:${PORTSDIR}/devel/gobject-introspection
-
USE_BZIP2= yes
-USE_GMAKE= yes
-USE_GNOME= gnomeprefix gnomehack intlhack glib20 ltverhack
-USES= pkgconfig gettext
+USE_GNOME= gnomeprefix gnomehack intlhack glib20 ltverhack \
+ introspection:build
+USES= pkgconfig gettext gmake
USE_AUTOTOOLS= libtool
USE_PYTHON= 2
USE_LDCONFIG= yes
@@ -24,7 +22,6 @@
CPPFLAGS+= -I${LOCALBASE}/include
LDFLAGS+= -L${LOCALBASE}/lib
-NO_STAGE= yes
post-patch:
@${REINPLACE_CMD} -e 's|applications.menu||' \
${WRKSRC}/layout/Makefile.in
@@ -42,8 +39,8 @@
post-install:
@${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
.include <bsd.port.mk>
--- gnome-menus.patch ends here ---
--
Dmitry Marakasov . 55B5 0596 FF1E 8D84 5F56 9510 D35A 80DD F9D2 F77D
amdmi3 at amdmi3.ru ..: jabber: amdmi3 at jabber.ru http://www.amdmi3.ru
More information about the freebsd-gnome
mailing list