|
|||||||||
Saturday the 17th of May, 2008 |
|||||||||
afni most recent diff
Scroll down toward the bottom of the page to get installation instructions for afni. The raw portfile for afni 2007.04.18.1830 is located here: http://afni.darwinports.com/dports/science/afni/Portfile Find related portfiles with the unique DarwinPorts.com search feature. Check for any related Fink projects here: pdb.finkproject.org/pdb/package.php/afni # $Id: Portfile 27682 2007-08-12 01:48:12Z nox PortSystem 1.0 Name: afni Version: 2007.04.18.1830 distfiles afni_src.tgz afni.1 TTatlas+tlrc.BRIK.gz TTatlas+tlrc.HEAD CA_EZ_v1.3c-May0806.tgz openMotif-2.2.3.tar.gz Category: science Maintainers: bacon Description: Analysis of Functional Neuro Images Long Description: This is a port of AFNI, Advanced Functional Neuro Imaging. AFNI is a tool for analyzing 3 dimensional images, especially functional MRI images used in brain mapping research. Homepage: http://afni.nimh.nih.gov/ master_sites http://www.neuro.mcw.edu/~bacon/Ports/distfiles/AFNI/${version}/ checksums afni_src.tgz md5 90ecae8727cadc6172517bc7149be67e afni.1 md5 80cc1f1c6ca0ef59a3032ad63abfbdd5 TTatlas+tlrc.BRIK.gz md5 f5a107b049bc426af5342565f4e5beee TTatlas+tlrc.HEAD md5 a0ca787a2996d7e66548176808503ac5 CA_EZ_v1.3c-May0806.tgz md5 dbb2caab5c030c505b306e1526d19150 openMotif-2.2.3.tar.gz md5 94c96a0f94ee0d5e41d3dba2188b263d extract.only afni_src.tgz CA_EZ_v1.3c-May0806.tgz openMotif-2.2.3.tar.gz use_configure no depends_lib port:glib2 depends_run port:netpbm port:jpeg port:whirlgif port:endian build.dir ${workpath}/afni_src build.target vastness platform powerpc { post-patch { cd ${workpath}/afni_src file copy ${filespath}/Makefile.ppc Makefile reinplace "s|openMotif-2.2.3|${workpath}/openMotif-2.2.3|g" ${workpath}/afni_src/Makefile } } platform i386 { post-patch { cd ${workpath}/afni_src file copy ${filespath}/Makefile.i386 Makefile reinplace "s|openMotif-2.2.3|${workpath}/openMotif-2.2.3|g" ${workpath}/afni_src/Makefile } } pre-build { cd ${workpath}/openMotif-2.2.3 system "./configure --disable-shared --enable-static --disable-demos" system "make" } destroot { # First, separate files that were all dumped into macosx_bin by the Makefile cd ${workpath}/afni_src file mkdir macosx_lib eval file rename [glob macosx_bin/*.a] macosx_lib eval file rename [glob macosx_bin/*.so] macosx_lib file mkdir macosx_include eval file rename [glob macosx_bin/*.h] macosx_include file mkdir macosx_share eval file rename [glob macosx_bin/*.jpg] macosx_share eval file rename [glob macosx_bin/*.txt] macosx_share # Delete files that conflict with other ports eval file delete macosx_bin/cjpeg macosx_bin/djpeg macosx_bin/whirlgif # Install binaries and scripts xinstall -d -m 755 ${destroot}${prefix}/bin eval xinstall -m 755 [glob macosx_bin/*] ${destroot}${prefix}/bin # Install libraries and plugins xinstall -d -m 755 ${destroot}${prefix}/lib/afni eval xinstall -m 644 [glob macosx_lib/*] ${destroot}${prefix}/lib/afni # Install headers xinstall -d -m 755 ${destroot}${prefix}/include/afni eval xinstall -m 644 [glob macosx_include/*] ${destroot}${prefix}/include/afni # Install miscellaneous files xinstall -d -m 755 ${destroot}${prefix}/share/afni eval xinstall -m 644 [glob macosx_share/*] ${destroot}${prefix}/share/afni eval xinstall -m 644 [glob ${distpath}/TTatlas*] ${destroot}${prefix}/share/afni cd ${workpath} eval xinstall -m 644 [glob CA_EZ_v1.3c-May0806/*] ${destroot}${prefix}/share/afni # Install docs xinstall -d -m 755 ${destroot}${prefix}/share/doc/afni eval xinstall -m 644 [glob afni_src/README.*] ${destroot}${prefix}/share/doc/afni xinstall -d -m 755 ${destroot}${prefix}/man/man1 eval xinstall -m 644 ${distpath}/afni.1 ${destroot}${prefix}/man/man1 reinplace "s|%%PREFIX%%|${prefix}|g" ${destroot}${prefix}/man/man1/afni.1 } If you haven't already installed Darwin Ports, you can find easy instructions for doing so at the main Darwin Ports page. Once Darwin Ports has been installed, in a terminal window and while online, type the following and hit return:
% cd /opt/local/bin/portslocation/dports/afniYou will then be prompted for your root password, which you should enter. You may have to wait for a few minutes while the software is retrieved from the network and installed for you. Y ou should see something that looks similar to: Make sure that you do not close the terminal window while Darwin Ports is working. Once the software has been installed, you can find further information about using afni with these commands: % man afni Where to find more information:
|
![]() |
![]() Digg afni on MacOSX
Other Helpful SitesMacOSForgeDebian Packages MacPorts - SVN Freshports - FreeBSD Fink Package List RPM for MacOSX Port Categories
aqua
archivers audio benchmarks cad comms cross databases devel editors emulators games genealogy gnome gnustep graphics irc java kde lang math multimedia net news palm perl python ruby science security shells sysutils textproc www x11 xfce zope
Current CVS DownloadsDarwin Ports Current :nightly CVS snapshot OpenDarwin CVSWeb SSH Key Gen |
|||||||
| |




