diff options
Diffstat (limited to 'deskutils/alacarte/Makefile')
-rw-r--r-- | deskutils/alacarte/Makefile | 36 |
1 files changed, 36 insertions, 0 deletions
diff --git a/deskutils/alacarte/Makefile b/deskutils/alacarte/Makefile new file mode 100644 index 000000000..e4198874c --- /dev/null +++ b/deskutils/alacarte/Makefile @@ -0,0 +1,36 @@ +# New ports collection makefile for: menueditor +# Date created: 22 March 2005 +# Whom: FreeBSD GNOME Team +# +# $FreeBSD$ +# $MCom$ +# + +PORTNAME= alacarte +PORTVERSION= 0.11.6 +CATEGORIES= deskutils gnome +MASTER_SITES= GNOME +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" + +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|python2.4|${PYTHON_VERSION}|g' \ + ${WRKSRC}/configure + +.include <bsd.port.mk> |