source: trunk/dports/science/mapm3/Portfile @ 30251

Last change on this file since 30251 was 30251, checked in by jmpp@…, 12 years ago

nomaintainer address abstraction in science category.

  • Property svn:eol-style set to native
  • Property svn:keywords set to Id
File size: 1.3 KB
Line 
1# $Id: Portfile 30251 2007-10-23 02:18:30Z jmpp@macports.org $
2
3PortSystem 1.0
4
5name                mapm3
6version             3
7revision                        1
8platforms           darwin
9maintainers         nomaintainer
10categories          science
11description         cli tool for calculating Quantitative Trait Loci
12master_sites        http://www-genome.wi.mit.edu/ftp/distribution/software/mapmaker3/
13
14distname            ${name}-source
15extract.suffix        .tar.Z
16checksums           md5 8aa7a061d32a49c8704c1a5c4b31aa2d
17
18pre-extract         {system "mkdir -p ${worksrcpath}" }
19extract.cmd         uncompress
20extract.pre_args    -c
21extract.post_args   | tar -C ${worksrcpath} -xf -
22
23patchfiles          patch-iolib.h patch-xmapmaker patch-Makefile patch-system.h patch-xqtl
24
25
26
27configure           { reinplace "s|^DIR= /usr/local/bin|DIR= ${prefix}/bin|g" \
28                        "${worksrcpath}/Makefile" }
29
30pre-destroot         { reinplace "s|^DIR= ${prefix}/bin|DIR= ${destroot}${prefix}/bin|g" \
31                        "${worksrcpath}/Makefile"
32                       system "mkdir -p ${destroot}${prefix}/bin "
33                    }
34
35
36
37variant   large_datasets  {
38                                        post-patch { reinplace \
39                                   "s|^SYS= -D_SYS_DARWIN -DUSE_RAND48|SYS= -D_SYS_DARWIN -DUSE_RAND48 -D_BIG_DATASETS|g" \
40                                   "${worksrcpath}/Makefile" }
41                                }
Note: See TracBrowser for help on using the repository browser.