summaryrefslogtreecommitdiffstats
path: root/x11/gnome-menus/Makefile
diff options
context:
space:
mode:
authormezz <mezz@df743ca5-7f9a-e211-a948-0013205c9059>2007-04-27 03:31:03 +0800
committermezz <mezz@df743ca5-7f9a-e211-a948-0013205c9059>2007-04-27 03:31:03 +0800
commiteecc21b9cec4e69235cad99c9aef89b480cd15d7 (patch)
treeb4ea46d0732697d27844360a9d377f8589248dac /x11/gnome-menus/Makefile
parent8d7d90c3cf2221feef29efe6a19596ac01006d27 (diff)
downloadmarcuscom-ports-eecc21b9cec4e69235cad99c9aef89b480cd15d7.tar
marcuscom-ports-eecc21b9cec4e69235cad99c9aef89b480cd15d7.tar.gz
marcuscom-ports-eecc21b9cec4e69235cad99c9aef89b480cd15d7.tar.bz2
marcuscom-ports-eecc21b9cec4e69235cad99c9aef89b480cd15d7.tar.lz
marcuscom-ports-eecc21b9cec4e69235cad99c9aef89b480cd15d7.tar.xz
marcuscom-ports-eecc21b9cec4e69235cad99c9aef89b480cd15d7.tar.zst
marcuscom-ports-eecc21b9cec4e69235cad99c9aef89b480cd15d7.zip
share/gnome/ -> share/, I didn't touch for ${LOCALBASE}/share/gnome/apps yet.
I already have added in my note to do a double check on this to make sure if it will be share/apps/ or share/gnome/apps/ for GNOME1 stuff. git-svn-id: svn://creme-brulee.marcuscom.com/ports/trunk@8649 df743ca5-7f9a-e211-a948-0013205c9059
Diffstat (limited to 'x11/gnome-menus/Makefile')
-rw-r--r--x11/gnome-menus/Makefile58
1 files changed, 58 insertions, 0 deletions
diff --git a/x11/gnome-menus/Makefile b/x11/gnome-menus/Makefile
new file mode 100644
index 000000000..7f7a513f1
--- /dev/null
+++ b/x11/gnome-menus/Makefile
@@ -0,0 +1,58 @@
+# 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.50 2007/03/12 22:36:46 marcus Exp $
+#
+
+PORTNAME= gnome-menus
+PORTVERSION= 2.18.0
+PORTREVISION= 1
+CATEGORIES= x11 gnome
+MASTER_SITES= ${MASTER_SITE_GNOME}
+MASTER_SITE_SUBDIR= sources/${PORTNAME}/${PORTVERSION:C/^([0-9]+\.[0-9]+).*/\1/}
+DIST_SUBDIR= gnome2
+
+MAINTAINER= gnome@FreeBSD.org
+COMMENT= Implementation of the FreeDesktop Desktop Menu Spec
+
+USE_GETTEXT= yes
+USE_BZIP2= yes
+USE_XLIB= yes
+USE_GMAKE= yes
+USE_GNOME= gnomeprefix gnomehack intlhack gnomevfs2 ltverhack
+USE_AUTOTOOLS= libtool:15
+USE_PYTHON= yes
+USE_LDCONFIG= yes
+CONFIGURE_ENV= CPPFLAGS="-I${LOCALBASE}/include" \
+ LDFLAGS="-L${LOCALBASE}/lib"
+
+.include <bsd.port.pre.mk>
+
+.if exists(${LOCALBASE}/lib/libfam.so) || !defined(WITHOUT_FAM)
+USE_FAM= yes
+.endif
+
+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|%%X11BASE%%|${X11BASE}|g ; \
+ s|%%LOCALBASE%%|${LOCALBASE}|g' \
+ ${WRKSRC}/simple-editor/GMenuSimpleEditor/menutreemodel.py
+
+post-install:
+ @${MKDIR} ${PREFIX}/share/desktop-directories
+ @${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.post.mk>