<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.1//EN"
"http://www.w3.org/TR/xhtml11/DTD/xhtml11.dtd">
<html xmlns="http://www.w3.org/1999/xhtml">
<head><meta http-equiv="content-type" content="text/html; charset=utf-8" /><style type="text/css"><!--
#msg dl { border: 1px #006 solid; background: #369; padding: 6px; color: #fff; }
#msg dt { float: left; width: 6em; font-weight: bold; }
#msg dt:after { content:':';}
#msg dl, #msg dt, #msg ul, #msg li, #header, #footer { font-family: verdana,arial,helvetica,sans-serif; font-size: 10pt;  }
#msg dl a { font-weight: bold}
#msg dl a:link    { color:#fc3; }
#msg dl a:active  { color:#ff0; }
#msg dl a:visited { color:#cc6; }
h3 { font-family: verdana,arial,helvetica,sans-serif; font-size: 10pt; font-weight: bold; }
#msg pre, #msg p { overflow: auto; background: #ffc; border: 1px #fc0 solid; padding: 6px; }
#msg ul { overflow: auto; }
#header, #footer { color: #fff; background: #636; border: 1px #300 solid; padding: 6px; }
#patch { width: 100%; }
#patch h4 {font-family: verdana,arial,helvetica,sans-serif;font-size:10pt;padding:8px;background:#369;color:#fff;margin:0;}
#patch .propset h4, #patch .binary h4 {margin:0;}
#patch pre {padding:0;line-height:1.2em;margin:0;}
#patch .diff {width:100%;background:#eee;padding: 0 0 10px 0;overflow:auto;}
#patch .propset .diff, #patch .binary .diff  {padding:10px 0;}
#patch span {display:block;padding:0 10px;}
#patch .modfile, #patch .addfile, #patch .delfile, #patch .propset, #patch .binary, #patch .copfile {border:1px solid #ccc;margin:10px 0;}
#patch ins {background:#dfd;text-decoration:none;display:block;padding:0 10px;}
#patch del {background:#fdd;text-decoration:none;display:block;padding:0 10px;}
#patch .lines, .info {color:#888;background:#fff;}
--></style>
<title>[31078] trunk/dports/science</title>
</head>
<body>

<div id="msg">
<dl>
<dt>Revision</dt> <dd><a href="http://trac.macosforge.org/projects/macports/changeset/31078">31078</a></dd>
<dt>Author</dt> <dd>simon@macports.org</dd>
<dt>Date</dt> <dd>2007-11-15 09:25:51 -0800 (Thu, 15 Nov 2007)</dd>
</dl>

<h3>Log Message</h3>
<pre>science/jmol: New port. &quot;An open-source Java viewer for chemical structures in 3D.&quot;</pre>

<h3>Added Paths</h3>
<ul>
<li>trunk/dports/science/jmol/</li>
<li><a href="#trunkdportssciencejmolPortfile">trunk/dports/science/jmol/Portfile</a></li>
</ul>

</div>
<div id="patch">
<h3>Diff</h3>
<a id="trunkdportssciencejmolPortfile"></a>
<div class="addfile"><h4>Added: trunk/dports/science/jmol/Portfile (0 => 31078)</h4>
<pre class="diff"><span>
<span class="info">--- trunk/dports/science/jmol/Portfile                                (rev 0)
+++ trunk/dports/science/jmol/Portfile        2007-11-15 17:25:51 UTC (rev 31078)
</span><span class="lines">@@ -0,0 +1,47 @@
</span><ins>+# $Id$
+
+PortSystem          1.0
+
+name                jmol
+version             11.2.14
+categories          science
+platforms           darwin
+maintainers         simon
+description         An open-source Java viewer for chemical structures in 3D
+long_description    Jmol is a free, open source molecule viewer for \
+                    students, educators, and researchers in chemistry and \
+                    biochemistry. \
+                    \
+                    This port only installs the Jmol application, not the \
+                    applet or developer version. If you want to use it, \
+                    please download it from the Jmol homepage.
+
+homepage            http://jmol.sourceforge.net/
+master_sites        sourceforge
+
+distname            ${name}-${version}-binary
+checksums           md5 18464a0587b2d41bb509fa69e222829f \
+                    sha1 07734fcd99517ae96b4e215701bf34ef6a56452b \
+                    rmd160 d2e31719a09555ec38f77008fd3066c7031623c4
+worksrcdir          ${name}-${version}
+
+depends_run         bin:java:kaffe
+
+use_configure       no
+
+post-patch {
+  reinplace &quot;s|/usr/share/jmol/|${prefix}/share/java/jmol/|g&quot; \
+    ${worksrcpath}/jmol
+}
+
+build {}
+
+destroot {
+  # install the jmol script:
+  xinstall ${worksrcpath}/jmol ${destroot}${prefix}/bin
+  # install the jmol java files:
+  xinstall -d ${destroot}${prefix}/share/java/jmol
+  foreach img [glob ${worksrcpath}/*.jar] {
+    xinstall $img ${destroot}${prefix}/share/java/jmol
+  }
+}
</ins><span class="cx">Property changes on: trunk/dports/science/jmol/Portfile
</span><span class="cx">___________________________________________________________________
</span><span class="cx">Name: svn:keywords
</span><span class="cx">   + Id
</span><span class="cx">Name: svn:eol-style
</span><span class="cx">   + native
</span></span></pre>
</div>
</div>

</body>
</html>