aboutsummaryrefslogtreecommitdiffstats
path: root/devel/kdbg/Makefile
blob: 813dc46eba95daadcf864d7ad5879656343c1969 (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
# New ports collection makefile for:    kdbg
# Date created:             02 November 1999
# Whom:                 Chris D. Faulhaber <jedgar@fxp.org>
#
# $FreeBSD$
#

PORTNAME=   kdbg
PORTVERSION=    2.5.1
CATEGORIES= devel kde
MASTER_SITES=   SF/${PORTNAME}/Source%20Code/${PORTVERSION}

MAINTAINER= thomas.sander@gmx.de
COMMENT=    Graphical user interface around gdb using KDE

LICENSE=    GPLv2

USE_CMAKE=  yes
USE_KDE4=   kdelibs kdeprefix automoc4
USE_QT4=    moc_build qmake_build rcc_build uic_build
INSTALLS_ICONS= yes

OPTIONS_DEFINE= NLS
OPTIONS_DEFAULT=NLS

.include <bsd.port.options.mk>

.if ${PORT_OPTIONS:MNLS}
USE_GETTEXT=    yes
PLIST_SUB+= NLS=""
.else
PLIST_SUB+= NLS="@comment "
.endif

post-patch:
.if empty(PORT_OPTIONS:MNLS)
    ${REINPLACE_CMD} -e 's|add_subdirectory(po)||g' ${WRKSRC}/CMakeLists.txt
.endif

.include <bsd.port.mk>