Modified: trunk/dports/science/whatcheck/Portfile (74467 => 74468)
--- trunk/dports/science/whatcheck/Portfile 2010-12-18 08:40:01 UTC (rev 74467)
+++ trunk/dports/science/whatcheck/Portfile 2010-12-18 08:42:14 UTC (rev 74468)
@@ -41,12 +41,12 @@
}
post-patch {
- reinplace "s|@PREFIX@|${prefix}|g" ${worksrcpath}/Makefile_whatcheck \
- ${worksrcpath}/WHATIF.FIG \
- ${worksrcpath}/DO_WHATCHECK.COM
- if {"little" != ${os.endian}} {
+ reinplace "s|@PREFIX@|${prefix}|g" ${worksrcpath}/Makefile_whatcheck \
+ ${worksrcpath}/WHATIF.FIG \
+ ${worksrcpath}/DO_WHATCHECK.COM
+ if {"little" != ${os.endian}} {
configure.f77-append -fconvert=little-endian
- }
+ }
reinplace "s|@F77@|${configure.f77}|g" ${worksrcpath}/Makefile_whatcheck \
${worksrcpath}/scatter/Makefile
}
@@ -58,21 +58,21 @@
}
destroot {
- file mkdir ${destroot}${prefix}/share/whatcheck/dssp
- copy ${worksrcpath}/dssp/dsspcmbi ${destroot}${prefix}/share/whatcheck/dssp/DSSP.EXE
+ file mkdir ${destroot}${prefix}/share/whatcheck/dssp
+ copy ${worksrcpath}/dssp/dsspcmbi ${destroot}${prefix}/share/whatcheck/dssp/DSSP.EXE
- foreach d {whatcheck WHATIF.FIG supertab.sty DO_WHATCHECK.COM ascdata bindata dbdata nqual qualty} {
+ foreach d {whatcheck WHATIF.FIG supertab.sty DO_WHATCHECK.COM ascdata bindata dbdata nqual qualty} {
copy ${worksrcpath}/${d} ${destroot}${prefix}/share/whatcheck
- }
+ }
- file mkdir ${destroot}${prefix}/share/whatcheck/scatter
- foreach d {scatter SCATTER.fig scatter.html} {
+ file mkdir ${destroot}${prefix}/share/whatcheck/scatter
+ foreach d {scatter SCATTER.fig scatter.html} {
copy ${worksrcpath}/scatter/${d} ${destroot}${prefix}/share/whatcheck/scatter
- }
+ }
- ln -s ${prefix}/bin/fig2dev ${destroot}${prefix}/share/whatcheck/scatter/fig2dev
- ln -s ${prefix}/share/whatcheck/DO_WHATCHECK.COM ${destroot}${prefix}/bin/whatcheck
- ln -s ${prefix}/share/whatcheck/dssp/DSSP.EXE ${destroot}${prefix}/bin/dssp
+ ln -s ${prefix}/bin/fig2dev ${destroot}${prefix}/share/whatcheck/scatter/fig2dev
+ ln -s ${prefix}/share/whatcheck/DO_WHATCHECK.COM ${destroot}${prefix}/bin/whatcheck
+ ln -s ${prefix}/share/whatcheck/dssp/DSSP.EXE ${destroot}${prefix}/bin/dssp
}
livecheck.type regex