aboutsummaryrefslogtreecommitdiffstats
path: root/deskutils/gxneur/Makefile
blob: 2d54c144299ed250decda2da06c3184b2c34deb9 (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
# Created by: Alexander Logvinov <ports@logvinov.com>
# $FreeBSD$

PORTNAME=   gxneur
PORTVERSION=    0.17.0
DISTVERSIONSUFFIX=.orig
PORTREVISION=   2
CATEGORIES= deskutils
MASTER_SITES=   https://launchpad.net/~andrew-crew-kuznetsov/+archive/xneur-stable/+files/
DISTNAME=   ${PORTNAME}_${DISTVERSIONPREFIX}${DISTVERSION}${DISTVERSIONSUFFIX}

MAINTAINER= mizhka@gmail.com
COMMENT=    GTK frontend for XNeur keyboard layout switcher

LICENSE=    GPLv2

BUILD_DEPENDS=  xneur:deskutils/xneur
RUN_DEPENDS=    xneur:deskutils/xneur

GNU_CONFIGURE=  yes
USES=       compiler:c++11-lang pkgconfig
WRKSRC=     ${WRKDIR}/${PORTNAME}-${PORTVERSION}
USE_GNOME=  gconf2 gtk20 libglade2
INSTALLS_ICONS= yes

OPTIONS_DEFINE= NLS

OPTIONS_SUB=    yes
NLS_USES=   gettext
NLS_CONFIGURE_OFF=  --without-nls

post-patch:
    @${REINPLACE_CMD} -e '/all_modifiers/d' ${WRKSRC}/src/misc.c
    @${REINPLACE_CMD} -e 's|-Werror||g' ${WRKSRC}/configure

.include <bsd.port.mk>