aboutsummaryrefslogtreecommitdiffstats
path: root/deskutils/gtweakui/Makefile
blob: aeb33dabe0db0cb9a71192e02e2d710b66a7af50 (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
# Created by: Sergey Akifyev <asa@gascom.ru>
# $FreeBSD$
#    $MCom: ports/deskutils/gtweakui/Makefile,v 1.2 2007/05/19 21:36:03 marcus Exp $

PORTNAME=   gTweakUI
PORTVERSION=    0.4.0
PORTREVISION=   11
CATEGORIES= deskutils gnome
MASTER_SITES=   SF
DIST_SUBDIR=    gnome2

MAINTAINER= ports@FreeBSD.org
COMMENT=    A collection of simple dialogs as a front end to GConf

USE_BZIP2=  yes
USES=        pathfix gmake pkgconfig
USE_GNOME=  gnomeprefix libgnomeui gconf2 libglade2 intlhack
GNU_CONFIGURE=  yes

DESKTOP_FILES=  gtweakui-galeon.desktop.in \
                gtweakui-menus.desktop.in \
                gtweakui-nautilus.desktop.in \
                gtweakui-session.desktop.in

NO_STAGE=   yes
post-patch:
.for FILE in ${DESKTOP_FILES}
    @${REINPLACE_CMD} -e 's|/usr/share|${PREFIX}/share|g' \
            -e 's|Settings;|&AdvancedSettings;|g' ${WRKSRC}/${FILE}
.endfor
    @${REINPLACE_CMD} 's|$$(datadir)/applications|$$(datadir)/control-center-2.0/capplets|g' ${WRKSRC}/Makefile.in

.include <bsd.port.mk>