You've already forked macports-ports
mirror of
https://github.com/macports/macports-ports.git
synced 2026-07-12 18:20:25 -07:00
68 lines
2.3 KiB
Tcl
68 lines
2.3 KiB
Tcl
# -*- coding: utf-8; mode: tcl; tab-width: 4; indent-tabs-mode: nil; c-basic-offset: 4 -*- vim:fenc=utf-8:ft=tcl:et:sw=4:ts=4:sts=4
|
|
|
|
PortSystem 1.0
|
|
PortGroup kde4 1.1
|
|
PortGroup muniversal 1.0
|
|
|
|
name kdevelop
|
|
version 4.7.4
|
|
revision 2
|
|
categories kde kde4
|
|
license GPL-2+
|
|
maintainers nomaintainer
|
|
|
|
description KDE development IDE
|
|
long_description KDevelop is a free, open source IDE (Integrated \
|
|
Development Environment) for MS Windows, Mac OS X, \
|
|
Linux, Solaris and FreeBSD. It is a feature-full, \
|
|
plugin extensible IDE for C/C++ and other programming \
|
|
languages. It is based on KDevPlatform, and the KDE \
|
|
and Qt libraries and is under development since 1998.
|
|
|
|
# use C++11
|
|
compiler.cxx_standard 2011
|
|
|
|
homepage http://www.kdevelop.org/
|
|
master_sites kde:stable/kdevelop/${version}/
|
|
|
|
checksums rmd160 047f2d2203f25a66a69e7f5b38a2a70cb2005966 \
|
|
sha256 cdef56196364eb97a4d9f15b6d47e12d893ef0bfa7100855f532ba7a9ff69130
|
|
|
|
use_xz yes
|
|
|
|
depends_run-append path:bin/cmake:cmake
|
|
|
|
depends_lib-append port:kdelibs4 \
|
|
port:kdevplatform \
|
|
port:kate \
|
|
port:oxygen-icons
|
|
|
|
configure.args-append -DCMAKE_CXX_FLAGS="-std=c++11"
|
|
|
|
#Binaries do not link to openssl, nor use the ssl backend of kdelibs4
|
|
license_noconflict openssl
|
|
|
|
#1. Avoid automatic use of okteta unless specified in variant (find scripts are broken)
|
|
#2-3. Change use of std::list with QList which is recognized during build
|
|
patchfiles patch-okteta.diff \
|
|
patch-declarationbuilder.diff \
|
|
patch-context.diff
|
|
|
|
if {![variant_isset docs]} {
|
|
patchfiles-append patch-CMakeLists.diff
|
|
}
|
|
|
|
variant okteta description "Adds support for okteta" {
|
|
depends_lib-append port:okteta
|
|
patchfiles-delete patch-okteta.diff
|
|
}
|
|
|
|
pre-configure {
|
|
#Printer tests fail building in version 4.7.4
|
|
reinplace "s|add_subdirectory(tests)|#add_subdirectory(tests)|g" \
|
|
${worksrcpath}/debuggers/gdb/printers/CMakeLists.txt
|
|
}
|
|
|
|
livecheck.url ${kde4.mirror}${name}
|
|
livecheck.regex (\\d+(\\.\\d+)+)
|