source: trunk/dports/kde/okteta/Portfile @ 123030

Last change on this file since 123030 was 123030, checked in by jmr@…, 5 years ago

change rpm-vercomp to vercmp in all portfiles, again

  • Property svn:eol-style set to native
  • Property svn:keywords set to Id
File size: 1.4 KB
Line 
1# -*- 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
2# $Id: Portfile 123030 2014-08-04 00:14:49Z jmr@macports.org $
3
4PortSystem          1.0
5PortGroup           kde4   1.1
6
7name                okteta
8version             4.12.5
9categories          kde kde4
10license             GPL-2+ LGPL-2.1+
11maintainers         nicos openmaintainer
12description         Okteta is a simple editor for the raw data of files.
13long_description    ${description}
14platforms           darwin
15homepage            http://www.kde.org/applications/utilities/okteta/
16master_sites        kde:stable/${version}/src/
17use_xz              yes
18
19checksums           rmd160  2ec52b39472069b54505e92937750c2ad9c22f40 \
20                    sha256  58c8872ec66011e0807ff4ba1573b341446b40fa73bedf695ad7a69396882988
21
22#Binaries do not link to openssl, nor use the ssl backend of kdelibs4
23license_noconflict  openssl
24
25depends_lib-append  port:kdelibs4 \
26                    port:qca
27
28if {![variant_isset docs]} {
29    patchfiles      patch-CMakeLists.diff
30}
31
32pre-activate {
33    #Deactivate hack for when kdesdk4 port has been fragmented into small ports
34    if {[file exists ${prefix}/bin/kdedoc]
35        && ![catch {set vers [lindex [registry_active kdesdk4] 0]}] 
36        && [vercmp [lindex $vers 1] 4.11.0] < 0} {
37            registry_deactivate_composite kdesdk4 "" [list ports_nodepcheck 1] 
38    } 
39}
40
41livecheck.url       http://kde.mirrors.hoobly.com/stable/
42livecheck.regex     (\\d+(\\.\\d+)+)
Note: See TracBrowser for help on using the repository browser.