aboutsummaryrefslogtreecommitdiffstats
path: root/x11
diff options
context:
space:
mode:
authormiwi <miwi@FreeBSD.org>2014-02-28 20:44:24 +0800
committermiwi <miwi@FreeBSD.org>2014-02-28 20:44:24 +0800
commit2fb3a37f3759ee09c42f13c6da646cbe93f7b0bc (patch)
tree65eeb14a0fac944025525f74f7cf8e47bc868cdc /x11
parent52c2633a5bf55478267e2bdf974796f2608c04b6 (diff)
downloadfreebsd-ports-gnome-2fb3a37f3759ee09c42f13c6da646cbe93f7b0bc.tar.gz
freebsd-ports-gnome-2fb3a37f3759ee09c42f13c6da646cbe93f7b0bc.tar.zst
freebsd-ports-gnome-2fb3a37f3759ee09c42f13c6da646cbe93f7b0bc.zip
- Stage support
Diffstat (limited to 'x11')
-rw-r--r--x11/gnome-menus/Makefile10
1 files changed, 4 insertions, 6 deletions
diff --git a/x11/gnome-menus/Makefile b/x11/gnome-menus/Makefile
index 2cbe9c18578f..9259ae4249af 100644
--- a/x11/gnome-menus/Makefile
+++ b/x11/gnome-menus/Makefile
@@ -15,16 +15,14 @@ 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 intlhack glib20 ltverhack introspection:build
+USES= pkgconfig gettext gmake pathfix
USE_AUTOTOOLS= libtool
USE_PYTHON= 2
USE_LDCONFIG= yes
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 +40,8 @@ post-patch:
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>