blob: 41f78013b8c7d5858372345e91c617b74535386e (
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
|
# Created by: Chris D. Faulhaber <jedgar@fxp.org>
# $FreeBSD$
PORTNAME= kdbg
PORTVERSION= 2.5.2
PORTREVISION= 3
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
USES= cmake
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}
USES+= gettext
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>
|