summaryrefslogtreecommitdiffstats
path: root/x11/gnome-menus/Makefile
diff options
context:
space:
mode:
authorkwm <kwm@df743ca5-7f9a-e211-a948-0013205c9059>2010-06-30 05:14:07 +0800
committerkwm <kwm@df743ca5-7f9a-e211-a948-0013205c9059>2010-06-30 05:14:07 +0800
commit6544b6a85e1e8ae06b0fccd804c6363eb5f42aa3 (patch)
treec7f5799deb0d51aa4371fb431e989b1d91005cd5 /x11/gnome-menus/Makefile
parentba47f961f8b5ef6ce5a281fa573904e04f5f9dcc (diff)
downloadmarcuscom-ports-6544b6a85e1e8ae06b0fccd804c6363eb5f42aa3.tar
marcuscom-ports-6544b6a85e1e8ae06b0fccd804c6363eb5f42aa3.tar.gz
marcuscom-ports-6544b6a85e1e8ae06b0fccd804c6363eb5f42aa3.tar.bz2
marcuscom-ports-6544b6a85e1e8ae06b0fccd804c6363eb5f42aa3.tar.lz
marcuscom-ports-6544b6a85e1e8ae06b0fccd804c6363eb5f42aa3.tar.xz
marcuscom-ports-6544b6a85e1e8ae06b0fccd804c6363eb5f42aa3.tar.zst
marcuscom-ports-6544b6a85e1e8ae06b0fccd804c6363eb5f42aa3.zip
Bump all gir ports. Always nice to find out things break after you update it :)
Error message is: /usr/local/share/gir-1.0/Pango-1.0.gir: Incompatible version 1.0 (supported: 1.1) git-svn-id: svn://creme-brulee.marcuscom.com/ports/trunk@14282 df743ca5-7f9a-e211-a948-0013205c9059
Diffstat (limited to 'x11/gnome-menus/Makefile')
-rw-r--r--x11/gnome-menus/Makefile52
1 files changed, 52 insertions, 0 deletions
diff --git a/x11/gnome-menus/Makefile b/x11/gnome-menus/Makefile
new file mode 100644
index 000000000..b202d95e4
--- /dev/null
+++ b/x11/gnome-menus/Makefile
@@ -0,0 +1,52 @@
+# New ports collection makefile for: gnome-menus
+# Date created: 30 November 2004
+# Whom: Joe Marcus Clarke <marcus@FreeBSD.org>
+#
+# $FreeBSD$
+# $MCom: ports/x11/gnome-menus/Makefile,v 1.105 2010/04/02 01:36:17 avl Exp $
+#
+
+PORTNAME= gnome-menus
+PORTVERSION= 2.30.0
+PORTREVISION= 2
+CATEGORIES= x11 gnome
+MASTER_SITES= GNOME
+DIST_SUBDIR= gnome2
+
+MAINTAINER= gnome@FreeBSD.org
+COMMENT= Implementation of the FreeDesktop Desktop Menu Spec
+
+BUILD_DEPENDS= g-ir-scanner:${PORTSDIR}/devel/gobject-introspection
+
+USE_GETTEXT= yes
+USE_BZIP2= yes
+USE_GMAKE= yes
+USE_GNOME= gnomeprefix gnomehack intlhack glib20 ltverhack
+USE_AUTOTOOLS= libtool:22
+USE_PYTHON= yes
+USE_LDCONFIG= yes
+CONFIGURE_ENV= CPPFLAGS="-I${LOCALBASE}/include" \
+ LDFLAGS="-L${LOCALBASE}/lib"
+
+post-patch:
+ @${REINPLACE_CMD} -e 's|applications.menu||' \
+ ${WRKSRC}/layout/Makefile.in
+ @${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
+ @${SED} -e 's|/usr/local|${LOCALBASE}|g' \
+ < ${FILESDIR}/KDE.directory > ${WRKSRC}/KDE.directory
+ @${REINPLACE_CMD} -e 's|%%LOCALBASE%%|${LOCALBASE}|g' \
+ ${WRKSRC}/simple-editor/GMenuSimpleEditor/menutreemodel.py
+ @${REINPLACE_CMD} -e 's|%%PTHREAD_LIBS%%|${PTHREAD_LIBS}|' \
+ ${WRKSRC}/util/Makefile.in
+
+post-install:
+ @${INSTALL_DATA} ${WRKSRC}/layout/applications.menu \
+ ${PREFIX}/etc/xdg/menus/gnome-applications.menu
+ @${INSTALL_DATA} ${WRKSRC}/KDE.directory \
+ ${PREFIX}/share/desktop-directories
+
+.include <bsd.port.mk>