Tweak devel/kdbg version 2.5.2
[dports.git] / devel / kdbg / Makefile
1 # Created by: Chris D. Faulhaber <jedgar@fxp.org>
2 # $FreeBSD: devel/kdbg/Makefile 314960 2013-03-22 20:06:14Z makc $
3
4 PORTNAME=       kdbg
5 PORTVERSION=    2.5.2
6 CATEGORIES=     devel kde
7 MASTER_SITES=   SF/${PORTNAME}/Source%20Code/${PORTVERSION}
8
9 MAINTAINER=     thomas.sander@gmx.de
10 COMMENT=        Graphical user interface around gdb using KDE
11
12 LICENSE=        GPLv2
13
14 USES=           cmake
15 USE_KDE4=       kdelibs kdeprefix automoc4
16 USE_QT4=        moc_build qmake_build rcc_build uic_build
17 INSTALLS_ICONS= yes
18
19 OPTIONS_DEFINE= NLS
20 OPTIONS_DEFAULT=NLS
21
22 .include <bsd.port.options.mk>
23
24 .if ${PORT_OPTIONS:MNLS}
25 USE_GETTEXT=    yes
26 PLIST_SUB+=     NLS=""
27 .else
28 PLIST_SUB+=     NLS="@comment "
29 .endif
30
31 post-patch:
32 .if empty(PORT_OPTIONS:MNLS)
33         ${REINPLACE_CMD} -e 's|add_subdirectory(po)||g' ${WRKSRC}/CMakeLists.txt
34 .endif
35
36 .include <bsd.port.mk>