most recent changes, diff for rasmol
Index: science/rasmol/Portfile
--- science/rasmol/Portfile (revision 32652)
+++ science/rasmol/Portfile (revision 32653)
@@ -14,17 +14,16 @@
depends_lib lib:libX11.6:XFree86
patchfiles patch-Imakefile.diff
post-patch { reinplace "s|@PREFIX@|${prefix}|g" ${worksrcpath}/Imakefile }
-worksrcdir RasMol_${version}/src
+worksrcdir ${distname}/src
configure.cmd xmkmf
configure.pre_args
build.target rasmol
-destroot { cd ${workpath}/${distname}
- file mkdir ${destroot}${prefix}/share/man/man1
- system "cp doc/rasmol.1.gz ${destroot}${prefix}/share/man/man1"
- system "cp src/rasmol ${destroot}${prefix}/bin"
- file mkdir ${destroot}${prefix}/lib/rasmol
- system "cp doc/rasmol.hlp ${destroot}${prefix}/lib/rasmol"
- system "cp -r data ${destroot}${prefix}/lib/rasmol"
+destroot { xinstall -d ${destroot}${prefix}/share/man/man1
+ xinstall -W ${workpath}/${distname} doc/rasmol.1.gz ${destroot}${prefix}/share/man/man1
+ xinstall -W ${workpath}/${distname} src/rasmol ${destroot}${prefix}/bin
+ xinstall -d ${destroot}${prefix}/lib/rasmol
+ xinstall -W ${workpath}/${distname} doc/rasmol.hlp ${destroot}${prefix}/lib/rasmol
+ file copy ${workpath}/${distname}/data ${destroot}${prefix}/lib/rasmol
}
platform darwin 6 { depends_lib-append lib:libdl:dlcompat }