Ticket #21807: Portfile-arb.diff

File Portfile-arb.diff, 2.8 KB (added by matt.cottrell@…, 15 years ago)

Portfile diff to install arb 5.1

  • Portfile

    old new  
    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
    2 # $Id: Portfile 57345 2009-09-10 04:29:21Z macsforever2000@macports.org $
     2# $Id$
    33
    44PortSystem              1.0
    55
    66name                    arb
    7 version                 5.19.0
     7version                 5.1
    88categories              science
    99maintainers             me.com:matt.cottrell
    1010platforms               darwin
     
    2525
    2626fetch.type              svn
    2727svn.url                 http://svn.mikro.biologie.tu-muenchen.de/svn/branches/stable_5.0
    28 svn.revision            6192
     28svn.revision            6215
    2929svn.method              checkout
    3030#fetch.user             coder             
    3131#fetch.password         gimmeARBsource
     
    7070                        reinplace "s| sed | gsed |g" ${worksrcpath}/HELP_SOURCE/genhelp/Makefile
    7171                        reinplace "s| sed | gsed |g" ${worksrcpath}/GDEHELP/Makefile.helpfiles
    7272                        file copy ${worksrcpath}/config.makefile.template ${worksrcpath}/config.makefile
     73                        reinplace "s|@@PREFIX@@|${prefix}|g" ${filespath}/arb_macsetup
     74                        file copy ${filespath}/arb_macsetup ${worksrcpath}/bin
    7375}
    7476
    7577platform darwin 9      {
     
    106108                       
    107109post-activate           {
    108110                        system "rm -rf `find ${prefix}/share/arb -type d -name .svn`"
     111
    109112ui_msg "
    110 1)
    111 **************************************************************************
    112 bash-users add the following lines to your ~/.profile or to your ~/.bashrc
    113 **************************************************************************
     113****************************************************************
     114Before running ARB you must set ARBHOME and add ARB to your PATH
     115****************************************************************
     116
     117You have two options (A is easier, B is more difficult):
     118
     119A) Open a new terminal window and type arb_macsetup to set up your environment automatically
     120
     121or
     122       
     123B) Follow the steps below:
     124
     1251a)
     126bash users add the following lines to your ~/.profile or to your ~/.bashrc
     127
    114128      ARBHOME=${prefix}/share/arb;export ARBHOME
    115129      PATH=${prefix}/share/arb/bin:\$PATH
    116130      export PATH
    117131
    118132      enter the following command:
    119133      . ~/.profile
    120 2)
    121 **************************************************
     1341b)
    122135tcsh users add the following lines to your ~/.cshrc
    123 **************************************************
    124136      setenv ARBHOME ${prefix}/share/arb
    125137      setenv PATH ${prefix}/share/arb\:\$PATH
    126138
    127139      enter the following command:
    128140      source ~/.cshrc
    129 3)
    130 *********************
     1412)
    131142type arb to start ARB
    132 *********************
    133143
    134144A demo data base is located at ${prefix}/share/arb.demo.arb
    135145