Ticket #21807: Portfile-arb.diff
File Portfile-arb.diff, 2.8 KB (added by matt.cottrell@…, 15 years ago) |
---|
-
Portfile
old new 1 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 57345 2009-09-10 04:29:21Z macsforever2000@macports.org$2 # $Id$ 3 3 4 4 PortSystem 1.0 5 5 6 6 name arb 7 version 5.1 9.07 version 5.1 8 8 categories science 9 9 maintainers me.com:matt.cottrell 10 10 platforms darwin … … 25 25 26 26 fetch.type svn 27 27 svn.url http://svn.mikro.biologie.tu-muenchen.de/svn/branches/stable_5.0 28 svn.revision 6 19228 svn.revision 6215 29 29 svn.method checkout 30 30 #fetch.user coder 31 31 #fetch.password gimmeARBsource … … 70 70 reinplace "s| sed | gsed |g" ${worksrcpath}/HELP_SOURCE/genhelp/Makefile 71 71 reinplace "s| sed | gsed |g" ${worksrcpath}/GDEHELP/Makefile.helpfiles 72 72 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 73 75 } 74 76 75 77 platform darwin 9 { … … 106 108 107 109 post-activate { 108 110 system "rm -rf `find ${prefix}/share/arb -type d -name .svn`" 111 109 112 ui_msg " 110 1) 111 ************************************************************************** 112 bash-users add the following lines to your ~/.profile or to your ~/.bashrc 113 ************************************************************************** 113 **************************************************************** 114 Before running ARB you must set ARBHOME and add ARB to your PATH 115 **************************************************************** 116 117 You have two options (A is easier, B is more difficult): 118 119 A) Open a new terminal window and type arb_macsetup to set up your environment automatically 120 121 or 122 123 B) Follow the steps below: 124 125 1a) 126 bash users add the following lines to your ~/.profile or to your ~/.bashrc 127 114 128 ARBHOME=${prefix}/share/arb;export ARBHOME 115 129 PATH=${prefix}/share/arb/bin:\$PATH 116 130 export PATH 117 131 118 132 enter the following command: 119 133 . ~/.profile 120 2) 121 ************************************************** 134 1b) 122 135 tcsh users add the following lines to your ~/.cshrc 123 **************************************************124 136 setenv ARBHOME ${prefix}/share/arb 125 137 setenv PATH ${prefix}/share/arb\:\$PATH 126 138 127 139 enter the following command: 128 140 source ~/.cshrc 129 3) 130 ********************* 141 2) 131 142 type arb to start ARB 132 *********************133 143 134 144 A demo data base is located at ${prefix}/share/arb.demo.arb 135 145