29747f458a
new freetype2 where needed. Submitted by: mezz, ahze, pav, and many others Approved by: portmgr (implicit, kris)
37 lines
1 KiB
Makefile
37 lines
1 KiB
Makefile
# New ports collection makefile for: gnome-menu-editor
|
|
# Date created: 2005-03-01
|
|
# Whom: Michael Johnson <ahze@FreeBSD.org>
|
|
#
|
|
# $FreeBSD$
|
|
# $MCom: ports/deskutils/gnome-menu-editor/Makefile,v 1.11 2006/09/01 20:29:54 ahze Exp $
|
|
#
|
|
|
|
PORTNAME= gnome-menu-editor
|
|
PORTVERSION= 0.6
|
|
PORTREVISION= 2
|
|
CATEGORIES= deskutils
|
|
MASTER_SITES= http://manny.cluecoder.org/packages/gnome-menu-editor/
|
|
|
|
MAINTAINER= gnome@FreeBSD.org
|
|
COMMENT= Simple menu editor for Gnome
|
|
|
|
USE_GMAKE= yes
|
|
USE_GNOME= gnomeprefix gnomehack gnomemenus intlhack
|
|
USE_GETTEXT= yes
|
|
USE_XLIB= 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}/src/gme-util.c
|
|
# Make .desktop file valid to desktop-file-validate
|
|
@${REINPLACE_CMD} -e 's|OnlyShowIn=GNOME|OnlyShowIn=GNOME;|' \
|
|
${WRKSRC}/data/gnome-menu-editor.desktop.in
|
|
|
|
post-install:
|
|
${LN} -sf ${PREFIX}/bin/gnome-menu-editor \
|
|
${PREFIX}/bin/gmenu-simple-editor
|
|
|
|
.include <bsd.port.mk>
|