blob: d147a528957f12de2f24d6e4f315362fd161be68 (
plain) (
blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
|
# Created by: FreeBSD GNOME Team
# $FreeBSD$
# $MCom: ports/deskutils/alacarte/Makefile,v 1.25 2010/03/29 13:19:00 avl Exp $
PORTNAME= alacarte
PORTVERSION= 0.13.2
PORTREVISION= 2
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
USES= gettext gmake pkgconfig
USE_PYTHON= yes
INSTALLS_ICONS= yes
GNU_CONFIGURE= yes
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>
|