mirror of
https://git.FreeBSD.org/ports.git
synced 2025-01-03 06:04:53 +00:00
6f6fbe4bdf
- Fix all ports that add {CPP,LD}FLAGS to *_ENV to modify flags instead PR: 157936 Submitted by: myself Exp-runs by: pav Approved by: pav
38 lines
963 B
Makefile
38 lines
963 B
Makefile
# New ports collection makefile for: menueditor
|
|
# Date created: 22 March 2005
|
|
# Whom: 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= 1
|
|
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
|
|
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>
|