Ticket #45194: patch-Portfile-ndmanager.diff

File patch-Portfile-ndmanager.diff, 3.0 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#Portfile made obsolete 2014/09/28
    45PortSystem              1.0
    56
    67name                    ndmanager
    78version                 1.2.3
    8 categories              science
    9 platforms               darwin
    10 maintainers             gmail.com:FlorianFranzen
    11 license                 GPL-2+
     9revision                1
    1210
    13 description             Simple graphical application to help manage experimental recording parameters and process data
     11replaced_by      ndmanager2
    1412
    15 long_description        Manageable recording parameters are e.g., number of channels and sampling \
    16                         rate of the acquisition system. Can process data by filtering, spike \
    17                         extraction, PCA, etc. NDManager is part of a larger data analysis framework, \
    18                         see Klusters, NeuroScope and FMAToolbox.
     13platforms        darwin
     14maintainers      nomaintainer
     15supported_archs  noarch
     16description      this port is only a stub and has been made obsolete by ${replaced_by}
     17default long_description ${description}
    1918
    20 homepage                http://ndmanager.sourceforge.net/
    21 master_sites            sourceforge:project/ndmanager/ndmanager/ndmanager-${version}
    22 distname                ${name}_${version}
    23 worksrcdir              ${name}
     19homepage        http://www.macports.org/
    2420
    25 checksums               rmd160  9bfba2b130e0673987190ac74dc985332493eb52 \
    26                         sha256  775bc655712bb09f0c90402a0dcd441fb266f3992ce349312a3c9878b3c8dfd9
     21archive_sites
     22distfiles
    2723
    28 depends_lib             port:kdelibs3 \
    29                         port:qt3 \
    30                         port:libxml2
     24pre-configure {
     25    ui_error "KDE3 is considered obsolete, and is being replaced by KDE4. Consequently, ${subport} has been made obsolete by the port ${replaced_by}. Please install ${replaced_by} instead.
     26To do this, it is required to fully uninstall KDE3 first, to then install KDE4 by running
     27sudo port uninstall --follow-dependents kdelibs3
     28WARNING: By running this command, all KDE3 ports will be uninstalled. Please ensure that there are replacements for all the programs you are using."
     29    return -code error "obsolete port"
     30}
    3131
    32 patchfiles              patch_src_Makefile-tmpldir_prefix.diff
    33 
    34 configure.args          --with-qt-dir=${prefix}/lib/qt3 \
    35                         --with-qt-includes=${prefix}/lib/qt3/include \
    36                         --with-qt-libraries=${prefix}/lib/qt3/lib \
    37                         --with-kde3=yes \
    38                         --with-extra-libs=${prefix}/lib/kde3 \
    39                         --with-extra-includes=${prefix}/lib/kde3/include \
    40                         --without-arts
    41 
    42 livecheck.regex         /${name}_(\[0-9.\]+)${extract.suffix}
     32livecheck.type  none