# $Id: Portfile 32947 2008-01-15 12:14:22Z ryandesign@macports.org $

PortSystem       1.0
name             fastlink
version          4.1P
categories       science
maintainers      nomaintainer
description	 Genetic Analysis Software
long_description Genetic linkage analysis is a statistical technique \
                 used to map genes and find the approximate location \
                 of disease genes. 
homepage         http://www.ncbi.nlm.nih.gov/CBBresearch/Schaffer/fastlink.html
platforms        darwin
master_sites     ftp://fastlink.nih.gov/pub/fastlink/
distfiles        fastlink.tar.Z
checksums        md5 fec6f6529776a366c9ee1ac563a9df12

set worksrcdir   fastlink/4.1P/src

use_configure    no

build.target     installfast EXTRAFLAGS="-I${prefix}/include -I/usr/include -I/usr/include/malloc -L${prefix}/lib"

destroot         {
                 xinstall -m 755 -W ${worksrcpath} lodscore ilink linkmap mlink unknown ${destroot}${prefix}/bin
                 xinstall -m 755 -d ${destroot}${prefix}/share/doc/fastlink
                 eval xinstall -m 444 [glob ${workpath}/fastlink/README.*] ${destroot}$prefix/share/doc/fastlink
                 eval xinstall -m 444 [glob ${workpath}/fastlink/*.ps] ${destroot}$prefix/share/doc/fastlink
}

