aboutsummaryrefslogtreecommitdiffstats
path: root/deskutils/gxneur/Makefile
blob: b5ece5a187d091a8dbfbef1b298bade8f7b6aa44 (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
38
39
40
41
42
43
44
45
# New ports collection makefile for:    gxneur
# Date created:             07 December 2008
# Whom:                 Alexander Logvinov <ports@logvinov.com>
#
# $FreeBSD$
#

PORTNAME=   gxneur
PORTVERSION=    0.15.0
PORTREVISION=   1
CATEGORIES= deskutils
MASTER_SITES=   http://dists.xneur.ru/release-${PORTVERSION}/tgz/

MAINTAINER= avl@FreeBSD.org
COMMENT=    GTK frontend for XNeur keyboard layout switcher

BUILD_DEPENDS=  xneur:${PORTSDIR}/deskutils/xneur
RUN_DEPENDS=    xneur:${PORTSDIR}/deskutils/xneur

MAKE_JOBS_SAFE= yes

USE_BZIP2=  yes
GNU_CONFIGURE=  yes
USE_GNOME=  desktopfileutils gconf2 gtk20 libglade2
INSTALLS_ICONS= yes

MAN1=       ${PORTNAME}.1

.include <bsd.port.pre.mk>

.if !defined(WITHOUT_NLS)
USE_GETTEXT=    yes
PLIST_SUB+= NLS=""
.else
CONFIGURE_ARGS+=    --disable-nls
PLIST_SUB+= NLS="@comment "
.endif

post-patch:
    @${REINPLACE_CMD} -e '/all_modifiers/d' ${WRKSRC}/src/misc.c

post-install:
    @-update-desktop-database

.include <bsd.port.post.mk>