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

Last change on this file since 11593 was 11593, checked in by jkh, 15 years ago

The disposition of the dlopen() and poll() routines has evolved over 3 releases. Properly
conditionalize usage of this in the ports that need it to ensure that builds on Jaguar, Panther
and Tiger all work.

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