summaryrefslogtreecommitdiffstats
path: root/deskutils/alacarte/Makefile
diff options
context:
space:
mode:
authormarcus <marcus@df743ca5-7f9a-e211-a948-0013205c9059>2007-04-28 13:22:16 +0800
committermarcus <marcus@df743ca5-7f9a-e211-a948-0013205c9059>2007-04-28 13:22:16 +0800
commita990b26f5c6a36111b6b26213419b6084a066e5d (patch)
treec483d3f397684b7b77f1b7f75a7448f3b1eea9a2 /deskutils/alacarte/Makefile
parent3d337eba843469908ab7a970981e6e4bd1ff5a5c (diff)
downloadmarcuscom-ports-a990b26f5c6a36111b6b26213419b6084a066e5d.tar
marcuscom-ports-a990b26f5c6a36111b6b26213419b6084a066e5d.tar.gz
marcuscom-ports-a990b26f5c6a36111b6b26213419b6084a066e5d.tar.bz2
marcuscom-ports-a990b26f5c6a36111b6b26213419b6084a066e5d.tar.lz
marcuscom-ports-a990b26f5c6a36111b6b26213419b6084a066e5d.tar.xz
marcuscom-ports-a990b26f5c6a36111b6b26213419b6084a066e5d.tar.zst
marcuscom-ports-a990b26f5c6a36111b6b26213419b6084a066e5d.zip
share/gnome -> share
git-svn-id: svn://creme-brulee.marcuscom.com/ports/trunk@8656 df743ca5-7f9a-e211-a948-0013205c9059
Diffstat (limited to 'deskutils/alacarte/Makefile')
-rw-r--r--deskutils/alacarte/Makefile40
1 files changed, 40 insertions, 0 deletions
diff --git a/deskutils/alacarte/Makefile b/deskutils/alacarte/Makefile
new file mode 100644
index 000000000..e72de0b65
--- /dev/null
+++ b/deskutils/alacarte/Makefile
@@ -0,0 +1,40 @@
+# New ports collection makefile for: menueditor
+# Date created: 22 March 2005
+# Whom: FreeBSD GNOME Team
+#
+# $FreeBSD$
+# $MCom: ports/deskutils/alacarte/Makefile,v 1.14 2007/02/13 06:29:20 mezz Exp $
+#
+
+PORTNAME= alacarte
+PORTVERSION= 0.11.3
+PORTREVISION= 1
+CATEGORIES= deskutils 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= An editor for the freedesktop.org menu specification
+
+USE_BZIP2= yes
+USE_GNOME= gnomehack gnomeprefix pygnomedesktop intlhack
+USE_GMAKE= yes
+USE_GETTEXT= yes
+USE_PYTHON= yes
+INSTALLS_ICONS= yes
+GNU_CONFIGURE= yes
+CONFIGURE_ENV= CPPFLAGS="-I${LOCALBASE}/include" \
+ LDFLAGS="-L${LOCALBASE}/lib" \
+ GMSGFMT="${LOCALBASE}/bin/msgfmt"
+
+post-patch:
+ @${REINPLACE_CMD} -e 's|applications.menu|gnome-applications.menu|' \
+ ${WRKSRC}/Alacarte/MenuEditor.py
+ @${REINPLACE_CMD} -e 's|/usr/local|${LOCALBASE}|' \
+ ${WRKSRC}/Alacarte/util.py
+ @${REINPLACE_CMD} -e 's|gmsgfmt|msgfmt|g ; \
+ s|python2.4|${PYTHON_VERSION}|g' \
+ ${WRKSRC}/configure
+
+.include <bsd.port.mk>