Changeset 79137
- Timestamp:
- 06/02/11 19:25:58 (4 years ago)
- File:
-
- 1 edited
-
trunk/dports/science/afni/Portfile (modified) (4 diffs)
Legend:
- Unmodified
- Added
- Removed
-
trunk/dports/science/afni/Portfile
r79136 r79137 2 2 # $Id$ 3 3 4 PortSystem 1.04 PortSystem 1.0 5 5 6 name afni6 name afni 7 7 version 2010_10_19_1028 8 8 revision 1 9 distname AFNI_${version}10 categories science11 maintainers nomaintainer12 description Analysis of Functional Neuro Images13 long_description This is a port of AFNI, Advanced Functional Neuro \9 distname AFNI_${version} 10 categories science 11 maintainers nomaintainer 12 description Analysis of Functional Neuro Images 13 long_description This is a port of AFNI, Advanced Functional Neuro \ 14 14 Imaging. AFNI is a tool for analyzing 3 dimensional \ 15 15 images, especially functional MRI images used in \ 16 16 brain mapping research. 17 homepage http://afni.nimh.nih.gov/17 homepage http://afni.nimh.nih.gov/ 18 18 19 19 platforms darwin 20 depends_lib path:lib/pkgconfig/glib-2.0.pc:glib2 \20 depends_lib path:lib/pkgconfig/glib-2.0.pc:glib2 \ 21 21 port:glib1 \ 22 22 port:openmotif 23 depends_run port:netpbm \24 port:jpeg \25 port:whirlgif \26 port:endian23 depends_run port:netpbm \ 24 port:jpeg \ 25 port:whirlgif \ 26 port:endian 27 27 28 master_sites http://afni.nimh.nih.gov/pub/dist/tgz/AFNI_ARCHIVE/28 master_sites http://afni.nimh.nih.gov/pub/dist/tgz/AFNI_ARCHIVE/ 29 29 dist_subdir ${name}/${version}_${revision} 30 30 extract.suffix .tgz … … 50 50 patchfiles patch-Makefile.INCLUDE.diff 51 51 52 use_configure no52 use_configure no 53 53 54 54 if {${os.major} == 10} { … … 83 83 } 84 84 85 pre-build {85 pre-build { 86 86 # this appears to be Tiger-only, but i'm uncertain (predates me) 87 if { ! [file exists "/usr/X11R6/lib/libGLw.a"] } {88 file copy ${distpath}/libGLw.a.tiger /usr/X11R6/lib/libGLw.a89 }90 #file copy -force ${distpath}/afni.1 ${workpath}91 #reinplace "s|%%PREFIX%%|${prefix}|g" ${workpath}/afni.187 if { ! [file exists "/usr/X11R6/lib/libGLw.a"] } { 88 file copy ${distpath}/libGLw.a.tiger /usr/X11R6/lib/libGLw.a 89 } 90 #file copy -force ${distpath}/afni.1 ${workpath} 91 #reinplace "s|%%PREFIX%%|${prefix}|g" ${workpath}/afni.1 92 92 } 93 build.target all plugins93 build.target all plugins 94 94 95 95 destroot.target vastness 96 96 post-destroot { 97 97 # Deal with files that conflict with other ports 98 eval file delete ${destroot}${prefix}/bin/cjpeg ${destroot}${prefix}/bin/djpeg \99 ${destroot}${prefix}/bin/whirlgif100 file rename ${destroot}${prefix}/bin/abut ${destroot}${prefix}/bin/afni_abut98 eval file delete ${destroot}${prefix}/bin/cjpeg ${destroot}${prefix}/bin/djpeg \ 99 ${destroot}${prefix}/bin/whirlgif 100 file rename ${destroot}${prefix}/bin/abut ${destroot}${prefix}/bin/afni_abut 101 101 102 102 # xinstall -d -m 755 ${destroot}${prefix}/lib/${name} … … 113 113 114 114 # Install binaries and scripts 115 # xinstall -d -m 755 ${destroot}${prefix}/bin116 # eval xinstall -m 755 [glob ${worksrcpath}/macosx_bin/*] ${destroot}${prefix}/bin115 # xinstall -d -m 755 ${destroot}${prefix}/bin 116 # eval xinstall -m 755 [glob ${worksrcpath}/macosx_bin/*] ${destroot}${prefix}/bin 117 117 } 118 118
Note: See TracChangeset
for help on using the changeset viewer.

