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$ |
---|
3 | |
---|
4 | PortSystem 1.0 |
---|
5 | |
---|
6 | name arb |
---|
7 | version 5.19.0 |
---|
8 | categories science |
---|
9 | maintainers me.com:matt.cottrell |
---|
10 | platforms darwin |
---|
11 | |
---|
12 | description ARB graphical DNA, RNA and amino acid sequence analysis tool |
---|
13 | |
---|
14 | homepage http://www.arb-home.de/ |
---|
15 | |
---|
16 | long_description ARB is an application for genetic sequence analysis that includes tools for editing and aligning \ |
---|
17 | nucleotide and amino acid sequences. Features include routines for designing fluorescence in situ \ |
---|
18 | hybridization (FISH) probes and PCR and sequencing primers. Phylogenetic trees can be generated and \ |
---|
19 | sequences can be added to existing trees. ARB maintains links between the phylogenetic trees and sequences \ |
---|
20 | for data base search and query. The Silva Comprehensive Ribosomal RNA Database (http://www.arb-silva.de/) \ |
---|
21 | maintaines up-to-date databases. 64-bit ARB is built on 10.6 in order to work with the largest data bases. \ |
---|
22 | 32-bit ARB is built on 10.5. An active community of scientists exchange tips on the ARB Yahoo! discussion group \ |
---|
23 | (http://tech.groups.yahoo.com/group/arb_users/). Citation: Wolfgang Ludwig, et al. (2004) ARB: a software environment \ |
---|
24 | for sequence data. Nucleic Acids Research. 32:1363-1371. |
---|
25 | |
---|
26 | fetch.type svn |
---|
27 | svn.url http://svn.mikro.biologie.tu-muenchen.de/svn/branches/stable_5.0 |
---|
28 | svn.revision 6192 |
---|
29 | svn.method checkout |
---|
30 | #fetch.user coder |
---|
31 | #fetch.password gimmeARBsource |
---|
32 | #work around until ticket #21232 is resolved |
---|
33 | svn.args --username coder --password gimmeARBsource |
---|
34 | |
---|
35 | depends_lib port:openmotif \ |
---|
36 | port:lynx \ |
---|
37 | port:gsed \ |
---|
38 | port:imake \ |
---|
39 | port:sablotron \ |
---|
40 | port:mesa \ |
---|
41 | port:glw \ |
---|
42 | port:glew \ |
---|
43 | port:tiff |
---|
44 | |
---|
45 | patchfiles patch-ARB-config.makefile.diff \ |
---|
46 | patch-ARB-makefile.diff \ |
---|
47 | patch-ARB-RNA3D_GlobalHeader.hxx.diff \ |
---|
48 | patch-ARB-DARWIN.pl.diff |
---|
49 | |
---|
50 | worksrcdir stable_5.0 |
---|
51 | |
---|
52 | use_configure no |
---|
53 | configure.env ARBHOME=${worksrcpath} |
---|
54 | configure.env-append PATH=${worksrcpath}/bin:$env(PATH) |
---|
55 | |
---|
56 | configure { |
---|
57 | reinplace "s|@@PREFIX@@|${prefix}|g" ${worksrcpath}/PERL2ARB/DARWIN.PL |
---|
58 | reinplace "s| sed | gsed |g" ${worksrcpath}/GDEHELP/MENUS/align.menu |
---|
59 | reinplace "s| sed | gsed |g" ${worksrcpath}/util/arb_check_build_env.pl |
---|
60 | reinplace "s| sed | gsed |g" ${worksrcpath}/arb_install.sh |
---|
61 | reinplace "s| sed | gsed |g" ${worksrcpath}/WINDOW/AW_status.cxx |
---|
62 | reinplace "s| sed | gsed |g" ${worksrcpath}/SH/example_batch_probe_match.sh |
---|
63 | reinplace "s| sed | gsed |g" ${worksrcpath}/GDEHELP/GDEmenus |
---|
64 | reinplace "s| sed | gsed |g" ${worksrcpath}/GDEHELP/genhelp.sh |
---|
65 | reinplace "s| sed | gsed |g" ${worksrcpath}/GDEHELP/genhelptree.sh |
---|
66 | reinplace "s| sed | gsed |g" ${worksrcpath}/SOURCE_TOOLS/make_java_dependencies.sh |
---|
67 | reinplace "s| sed | gsed |g" ${worksrcpath}/HELP_SOURCE/Makefile |
---|
68 | reinplace "s| sed | gsed |g" ${worksrcpath}/AISC_COM/AISC/Makefile |
---|
69 | reinplace "s| sed | gsed |g" ${worksrcpath}/GDEHELP/Makefile |
---|
70 | reinplace "s| sed | gsed |g" ${worksrcpath}/HELP_SOURCE/genhelp/Makefile |
---|
71 | reinplace "s| sed | gsed |g" ${worksrcpath}/GDEHELP/Makefile.helpfiles |
---|
72 | file copy ${worksrcpath}/config.makefile.template ${worksrcpath}/config.makefile |
---|
73 | } |
---|
74 | |
---|
75 | platform darwin 9 { |
---|
76 | post-configure { |
---|
77 | reinplace "s|ARB_64 := 1# compile 64bit ARB version|ARB_64 := 0# compile 64bit ARB version|g" ${worksrcpath}/config.makefile |
---|
78 | } |
---|
79 | } |
---|
80 | |
---|
81 | build.env-append ${configure.env} |
---|
82 | build.env-append PREFIX=${prefix} |
---|
83 | |
---|
84 | destroot.keepdirs ${destroot}${prefix}/share/arb/lib/pts |
---|
85 | |
---|
86 | destroot { |
---|
87 | eval xinstall -m 0755 [glob ${worksrcpath}/bin/*] ${destroot}${prefix}/bin |
---|
88 | file mkdir ${destroot}${prefix}/share/arb |
---|
89 | file mkdir ${destroot}${prefix}/share/arb/bin |
---|
90 | file copy ${worksrcpath}/lib ${destroot}${prefix}/share/arb/lib |
---|
91 | file copy ${worksrcpath}/GDEHELP ${destroot}${prefix}/share/arb/GDEHELP |
---|
92 | file mkdir ${destroot}${prefix}/lib/help |
---|
93 | file copy ${worksrcpath}/HELP_SOURCE/oldhelp ${destroot}${prefix}/lib/help |
---|
94 | file copy ${worksrcpath}/PERL_SCRIPTS ${destroot}${prefix}/share/arb/PERL_SCRIPTS |
---|
95 | file copy ${worksrcpath}/SH ${destroot}${prefix}/share/arb/SH |
---|
96 | file copy ${worksrcpath}/demo.arb ${destroot}${prefix}/share/arb |
---|
97 | } |
---|
98 | |
---|
99 | post-destroot { |
---|
100 | system "chmod a+w ${destroot}${prefix}/share/arb/lib/arb_tcp.dat" |
---|
101 | system "chmod a+w ${destroot}${prefix}/share/arb/lib/pts" |
---|
102 | system "chmod a+w ${destroot}${prefix}/share/arb/lib/macros" |
---|
103 | system "ln -s ${prefix}/bin/arb_pt_server ${destroot}${prefix}/share/arb/bin/arb_pt_server" |
---|
104 | system "ln -s ${prefix}/bin/arb_name_server ${destroot}${prefix}/share/arb/bin/arb_name_server" |
---|
105 | } |
---|
106 | |
---|
107 | post-activate { |
---|
108 | system "rm -rf `find ${prefix}/share/arb -type d -name .svn`" |
---|
109 | ui_msg " |
---|
110 | 1) |
---|
111 | ************************************************************************** |
---|
112 | bash-users add the following lines to your ~/.profile or to your ~/.bashrc |
---|
113 | ************************************************************************** |
---|
114 | ARBHOME=${prefix}/share/arb;export ARBHOME |
---|
115 | PATH=${prefix}/share/arb/bin:\$PATH |
---|
116 | export PATH |
---|
117 | |
---|
118 | enter the following command: |
---|
119 | . ~/.profile |
---|
120 | 2) |
---|
121 | ************************************************** |
---|
122 | tcsh users add the following lines to your ~/.cshrc |
---|
123 | ************************************************** |
---|
124 | setenv ARBHOME ${prefix}/share/arb |
---|
125 | setenv PATH ${prefix}/share/arb\:\$PATH |
---|
126 | |
---|
127 | enter the following command: |
---|
128 | source ~/.cshrc |
---|
129 | 3) |
---|
130 | ********************* |
---|
131 | type arb to start ARB |
---|
132 | ********************* |
---|
133 | |
---|
134 | A demo data base is located at ${prefix}/share/arb.demo.arb |
---|
135 | |
---|
136 | Please cite: Wolfgang Ludwig, et al. (2004) ARB: a software environment for sequence data. Nucleic Acids Research. 32:1363-1371 |
---|
137 | " |
---|
138 | } |
---|