mirror of
https://git.FreeBSD.org/ports.git
synced 2024-12-23 04:23:08 +00:00
dfbc5c5119
Approved by: portmgr@
38 lines
742 B
Makefile
38 lines
742 B
Makefile
# Created by: Chris D. Faulhaber <jedgar@fxp.org>
|
|
# $FreeBSD$
|
|
|
|
PORTNAME= kdbg
|
|
PORTVERSION= 2.5.2
|
|
PORTREVISION= 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
|
|
|
|
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>
|