source: trunk/dports/science/rasmol/Portfile @ 2592

Last change on this file since 2592 was 2592, checked in by michaelm, 17 years ago

New Port of Rasmol

  • Property svn:eol-style set to native
File size: 1.8 KB
Line 
1# $Id: Portfile,v 1.1 2003/05/09 12:47:47 michaelm Exp $
2
3PortSystem 1.0
4
5name                rasmol
6version             2.7.1.1
7description         Molecular graphics visualisation tool
8categories          science graphics
9maintainers         michaelm@opendarwin.org
10distname            RasMol_${version}
11master_sites        http://www.bernstein-plus-sons.com/software/
12checksums           md5 0d5c99eeda079d8cbf413944d284740b
13depends_lib         lib:libX11.6:XFree86
14patchfiles          patch-lmakefile.diff
15pre-patch           { reinplace "s|@PREFIX@|${prefix}|g" ${portpath}/${filedir}/patch-lmakefile.diff  }
16worksrcdir          RasMol_${version}/src
17configure.cmd       xmkmf
18configure.pre_args
19build.target        rasmol
20install             { cd ${workpath}/${distname}
21                     system "mkdir -p ${destroot}${prefix}/man/man1"
22                     system "gunzip doc/rasmol.1"
23                     system "gunzip doc/manualA4.pdf"
24                     system "gunzip doc/manualUS.pdf"
25                     system "gunzip doc/refcardA4.pdf"
26                     system "cp doc/rasmol.1 ${destroot}${prefix}/man/man1"
27                     system "mkdir -p ${destroot}${prefix}/bin"
28                     system "cp src/rasmol ${destroot}${prefix}/bin"
29                     system "mkdir -p ${destroot}${prefix}/lib/rasmol"
30                     system "cp doc/rasmol.hlp ${destroot}${prefix}/lib/rasmol"
31                     system "cp -r data  ${destroot}${prefix}/lib/rasmol"
32 }
33 
34variant             darwin { depends_lib-append   lib:libdl.1:dlcompat }
35
36
37
38long_description \
39RasMol is a molecular graphics program  intended  for  the \
40visualisation  of  proteins,  nucleic  acids  and  small \
41molecules.  The program is aimed at display, teaching  and \
42generation of publication quality images.
Note: See TracBrowser for help on using the repository browser.