blob: 871178360e103074462875edae4e5c98a121caf9 (
plain) (
tree)
|
|
# Created by: Joe Maloney jmaloney@pkgdemon.com>
# $FreeBSD$
# $MCom$
PORTNAME= alacarte
PORTVERSION= 3.11.91
PORTREVISION= 1
CATEGORIES= deskutils gnome
MASTER_SITES= GNOME
DIST_SUBDIR= gnome3
MAINTAINER= gnome@freebsd.org
COMMENT= Freedesktop compliant menu editor for GNOME
BUILD_DEPENDS= docbook-xsl>=0:${PORTSDIR}/textproc/docbook-xsl
USES= gettext gmake pkgconfig tar:xz
USE_GNOME= gnomemenus3 gnomeprefix intlhack libxslt:build \
py3gobject3
USE_PYTHON= 3
INSTALLS_ICONS= yes
GNU_CONFIGURE= yes
CPPFLAGS+= -I${LOCALBASE}/include
LDFLAGS+= -L${LOCALBASE}/lib
post-patch:
@${REINPLACE_CMD} -e 's|from gi._glib import|from gi.repository.GLib import|g' \
${WRKSRC}/Alacarte/util.py
@${REINPLACE_CMD} -e "s|ron\['XDG_MENU_PREFIX'\]|ron.get('XDG_MENU_PREFIX', '')|g" \
${WRKSRC}/Alacarte/MenuEditor.py
.include <bsd.port.mk>
|