summaryrefslogtreecommitdiffstats
path: root/deskutils/gnome-menu-editor/Makefile
blob: 705018659e25145fb9333d0088ac0793b8605a9e (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
33
34
35
36
37
# 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.7 2005/08/29 03:35:47 ahze Exp $
#

PORTNAME=   gnome-menu-editor
PORTVERSION=    0.5
PORTREVISION=   1
CATEGORIES= deskutils
MASTER_SITES=   http://manny.cluecoder.org/packages/gnome-menu-editor/

MAINTAINER= gnome@FreeBSD.org
COMMENT=    Simple menu editor for Gnome

USE_REINPLACE=  yes
USE_AUTOTOOLS=  libtool:15
USE_GMAKE=  yes
USE_X_PREFIX=   yes
USE_GNOME=  gnomeprefix gnomehack gnomemenus intlhack

PLIST_FILES=    bin/gnome-menu-editor \
        bin/gmenu-simple-editor \
        share/gnome/applications/gnome-menu-editor.desktop

post-patch:
# 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>