Ticket #45223: patch-Portfile-qalculate-kde.diff

File patch-Portfile-qalculate-kde.diff, 2.4 KB (added by NicosPavlov, 10 years ago)
  • Portfile

     
    11# -*- 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
    22# $Id$
    33
     4#Port made obsolete on 2014/09/26
    45PortSystem      1.0
    56
    67name            qalculate-kde
    78version         0.9.7
    8 categories      math kde kde3
    9 platforms       darwin
    10 license         GPL-2
    11 maintainers     vcn.com:jjstickel
     9revision        1
    1210
    13 description     Qalculate! is a multi-purpose desktop calculator for GNU/Linux.
     11platforms        darwin
     12maintainers      nomaintainer
     13supported_archs  noarch
     14description      this port is only a stub and has been made obsolete
     15default long_description ${description}
    1416
    15 long_description \
    16                 Qalculate! is a multi-purpose desktop calculator for \
    17                 GNU/Linux. It is small and simple to use but with much \
    18                 power and versatility underneath. Features include \
    19                 customizable functions, units, arbitrary precision, \
    20                 plotting, and a user-friendly interface.
     17homepage        http://www.macports.org/
    2118
    22 homepage        http://qalculate.sourceforge.net/
    23 master_sites    sourceforge:qalculate
     19archive_sites
     20distfiles
    2421
    25 checksums           md5     90104c97894f4775737349ad99428bcf \
    26                     sha1    fa0db8a3fb80264328770c4bbcbc0892a4d4ce91 \
    27                     rmd160  cd789e07f5b33faf4a834e6693af4d97e17d879b
     22pre-configure {
     23    ui_error "KDE3 is considered obsolete, and is being replaced by KDE4. Consequently, ${subport} has been made obsolete"
     24    return -code error "obsolete port"
     25}
    2826
    29 depends_build   path:bin/pkg-config:pkgconfig
    30 
    31 depends_lib     port:libqalculate\
    32                 port:kdelibs3
    33 
    34 depends_run     port:gnuplot
    35 
    36 use_parallel_build  yes
    37 
    38 configure.cppflags-append "-L${prefix}/lib"
    39 configure.cflags-append   "-L${prefix}/lib"
    40 configure.env             QTDIR=${prefix}/lib/qt3
    41 configure.args            --with-qt-dir=${prefix}/lib/qt3 \
    42                           --with-extra-includes=${prefix}/include \
    43                           --without-arts
    44 
    45 post-destroot {
    46     file delete ${destroot}${prefix}/bin/qalculate
    47     file rename ${destroot}${prefix}/share/doc/HTML ${destroot}${prefix}/share/doc/kde
    48 }
     27livecheck.type  none