[38701] trunk/dports/science/mapm3/Portfile
ryandesign at macports.org
ryandesign at macports.org
Tue Jul 29 00:30:36 PDT 2008
Revision: 38701
http://trac.macosforge.org/projects/macports/changeset/38701
Author: ryandesign at macports.org
Date: 2008-07-29 00:30:35 -0700 (Tue, 29 Jul 2008)
Log Message:
-----------
mapm3: whitespace changes only
Modified Paths:
--------------
trunk/dports/science/mapm3/Portfile
Modified: trunk/dports/science/mapm3/Portfile
===================================================================
--- trunk/dports/science/mapm3/Portfile 2008-07-29 07:27:41 UTC (rev 38700)
+++ trunk/dports/science/mapm3/Portfile 2008-07-29 07:30:35 UTC (rev 38701)
@@ -1,37 +1,40 @@
# $Id$
-PortSystem 1.0
+PortSystem 1.0
-name mapm3
-version 3
-revision 2
-platforms darwin
-maintainers nomaintainer
-categories science
-description cli tool for calculating Quantitative Trait Loci
-master_sites http://www-genome.wi.mit.edu/ftp/distribution/software/mapmaker3/
+name mapm3
+version 3
+revision 2
+platforms darwin
+maintainers nomaintainer
+categories science
+description cli tool for calculating Quantitative Trait Loci
+master_sites http://www-genome.wi.mit.edu/ftp/distribution/software/mapmaker3/
-distname ${name}-source
-extract.suffix .tar.Z
-checksums md5 8aa7a061d32a49c8704c1a5c4b31aa2d
+distname ${name}-source
+extract.suffix .tar.Z
+checksums md5 8aa7a061d32a49c8704c1a5c4b31aa2d
-extract.mkdir yes
-extract.cmd uncompress
-extract.pre_args -c
-extract.post_args | tar -C ${worksrcpath} -xf -
+extract.mkdir yes
+extract.cmd uncompress
+extract.pre_args -c
+extract.post_args | tar -C ${worksrcpath} -xf -
-patchfiles patch-iolib.h patch-xmapmaker patch-Makefile patch-system.h patch-xqtl
+patchfiles patch-iolib.h \
+ patch-xmapmaker \
+ patch-Makefile \
+ patch-system.h \
+ patch-xqtl
+configure {
+ reinplace "s|^DIR= /usr/local/bin|DIR= ${prefix}/bin|g" "${worksrcpath}/Makefile"
+}
+pre-destroot {
+ reinplace "s|^DIR= ${prefix}/bin|DIR= ${destroot}${prefix}/bin|g" "${worksrcpath}/Makefile"
+ system "mkdir -p ${destroot}${prefix}/bin "
+}
-configure { reinplace "s|^DIR= /usr/local/bin|DIR= ${prefix}/bin|g" \
- "${worksrcpath}/Makefile" }
-
-pre-destroot { reinplace "s|^DIR= ${prefix}/bin|DIR= ${destroot}${prefix}/bin|g" \
- "${worksrcpath}/Makefile"
- system "mkdir -p ${destroot}${prefix}/bin "
- }
-
post-destroot {
xinstall -d ${destroot}${prefix}/lib/${name}
foreach prog {mapmaker qtl} {
@@ -41,8 +44,10 @@
}
}
-variant large_datasets {
- post-patch { reinplace \
- "s|^SYS= -D_SYS_DARWIN -DUSE_RAND48|SYS= -D_SYS_DARWIN -DUSE_RAND48 -D_BIG_DATASETS|g" \
- "${worksrcpath}/Makefile" }
- }
+variant large_datasets {
+ post-patch {
+ reinplace \
+ "s|^SYS= -D_SYS_DARWIN -DUSE_RAND48|SYS= -D_SYS_DARWIN -DUSE_RAND48 -D_BIG_DATASETS|g" \
+ "${worksrcpath}/Makefile"
+ }
+}
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://lists.macosforge.org/pipermail/macports-changes/attachments/20080729/22252464/attachment-0001.html
More information about the macports-changes
mailing list