Ticket #21835: Portfile

File Portfile, 2.5 KB (added by howarth@…, 14 years ago)

add missing depends_lib on glw to Portfile

Line 
1# -*- coding: utf-8; mode: tcl; tab-width: 4; indent-tabs-mode: nil; c-basic-offset: 4 -*- vim:fenc=utf-8:ft=tcl:et:sw=4:ts=4:sts=4
2# $Id$
3PortSystem          1.0
4name                molmol
5version             2k.2.0
6categories          science
7maintainers         bromo.med.uc.edu:howarth
8description         Molecular graphics display program
9long_description    MOLMOL is a molecular graphics program for displaying, analyzing, \
10                    and manipulating the three-dimensional structure of biological \
11                    macromolecules, with special emphasis on the study of protein \
12                    or DNA structures determined by NMR. The program runs on UNIX \
13                    and Windows NT/95/98/2000 and is freely available. It does not work \
14                    properly with RNA.
15homepage            http://www.mol.biol.ethz.ch/wuthrich/software/molmol/
16platforms           darwin
17master_sites        ftp://ftp.mol.biol.ethz.ch/software/MOLMOL/unix-gzip
18distfiles           molmol-2k.2.0-src.tar.gz \
19                    molmol-2k.2.0-doc.tar.gz
20checksums           molmol-2k.2.0-src.tar.gz md5 e1f4416d8041a67fa08cadb03ed91c7c \
21                                             sha1 09482a1dea601563ca64e773dc0ec47019e22c63 \
22                                             rmd160 b1de89953631dd9b11928751d7853cb511bf45f0 \
23                    molmol-2k.2.0-doc.tar.gz md5 517545b60b0179ab691a679ed29903a7 \
24                                             sha1 b47551283fa19f57f4d5edcbd52f725055d80b7f \
25                                             rmd160 08b3e21ab6eb7c9044e59373334181ff91ca8a53
26depends_lib         port:openmotif \
27                    port:glut \
28                    port:glw \
29                    port:tiff \
30                    port:jpeg \
31                    port:libpng
32patchfiles          molmol-build.diff
33use_configure       no
34use_parallel_build  no
35build.target-delete all
36extract.mkdir       yes
37post-patch {
38    reinplace  "s|@PREFIX@|${prefix}|g" ${worksrcpath}/makedef \
39                                        ${worksrcpath}/molmol
40}       
41destroot {
42    # Install example files not installed by the Makefile
43    file copy ${worksrcpath} \
44        ${destroot}${prefix}/share/${name}
45    ln -s ${prefix}/share/${name}/${name} ${destroot}${prefix}/bin/${name}
46    file mkdir ${destroot}${prefix}/share/doc/${name}
47    ln -s ${prefix}/share/${name}/COPYING ${destroot}${prefix}/share/doc/${name}/COPYING
48    ln -s ${prefix}/share/${name}/man ${destroot}${prefix}/share/doc/${name}/man
49}