summaryrefslogtreecommitdiffstats
path: root/x11/gnome-menus/Makefile
diff options
context:
space:
mode:
authormarcus <marcus@df743ca5-7f9a-e211-a948-0013205c9059>2006-02-03 13:42:22 +0800
committermarcus <marcus@df743ca5-7f9a-e211-a948-0013205c9059>2006-02-03 13:42:22 +0800
commit426828f0cfca9d5bf8958048a92ba0666216d20d (patch)
treea05a7731e8b8b3096ce9c1a7ab66ae57c6d0df00 /x11/gnome-menus/Makefile
parent9d37c88a0222d9f8a85fad3d0c86b255d03c4781 (diff)
downloadmarcuscom-ports-426828f0cfca9d5bf8958048a92ba0666216d20d.tar.gz
marcuscom-ports-426828f0cfca9d5bf8958048a92ba0666216d20d.tar.zst
marcuscom-ports-426828f0cfca9d5bf8958048a92ba0666216d20d.zip
Update to 2.13.5.
git-svn-id: svn://creme-brulee.marcuscom.com/ports/trunk@5610 df743ca5-7f9a-e211-a948-0013205c9059
Diffstat (limited to 'x11/gnome-menus/Makefile')
-rw-r--r--x11/gnome-menus/Makefile49
1 files changed, 49 insertions, 0 deletions
diff --git a/x11/gnome-menus/Makefile b/x11/gnome-menus/Makefile
new file mode 100644
index 000000000..e706cee11
--- /dev/null
+++ b/x11/gnome-menus/Makefile
@@ -0,0 +1,49 @@
+# New ports collection makefile for: gnome-menus
+# Date created: 30 November 2004
+# Whom: Joe Marcus Clarke <marcus@FreeBSD.org>
+#
+# $FreeBSD: ports/x11/gnome-menus/Makefile,v 1.5 2005/11/05 04:53:32 marcus Exp $
+# $MCom: ports/x11/gnome-menus/Makefile,v 1.21 2005/09/08 18:04:51 marcus Exp $
+#
+
+PORTNAME= gnome-menus
+PORTVERSION= 2.13.5
+CATEGORIES= x11 gnome
+MASTER_SITES= ${MASTER_SITE_GNOME}
+MASTER_SITE_SUBDIR= sources/${PORTNAME}/2.13
+DIST_SUBDIR= gnome2
+
+MAINTAINER= gnome@FreeBSD.org
+COMMENT= Implementation of the FreeDesktop Desktop Menu Spec
+
+USE_BZIP2= yes
+USE_X_PREFIX= yes
+USE_REINPLACE= yes
+USE_GMAKE= yes
+USE_GNOME= gnomeprefix gnomehack intlhack gnomevfs2 ltverhack
+USE_AUTOTOOLS= libtool:15
+USE_PYTHON= yes
+INSTALLS_SHLIB= 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|/usr/share/gnome|${X11BASE}/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' \
+ ${WRKSRC}/simple-editor/GMenuSimpleEditor/menutreemodel.py
+
+post-install:
+ @${MKDIR} ${PREFIX}/share/gnome/desktop-directories
+ @${INSTALL_DATA} ${WRKSRC}/KDE.directory ${PREFIX}/share/gnome/desktop-directories
+
+.include <bsd.port.post.mk>