1
0
mirror of https://git.FreeBSD.org/ports.git synced 2024-12-15 03:14:23 +00:00
freebsd-ports/devel/kdbg/Makefile

38 lines
740 B
Makefile

# Created by: Chris D. Faulhaber <jedgar@fxp.org>
# $FreeBSD$
PORTNAME= kdbg
PORTVERSION= 2.5.2
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
NO_STAGE= yes
.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>