Ticket #22558: Portfile_wview-5.7.1.diff

File Portfile_wview-5.7.1.diff, 2.0 KB (added by mbrooksclark@…, 15 years ago)

Updated portfile for wview-5.7.1

  • Portfile

    old new  
    1 # $Id: Portfile 60332 2009-11-09 02:34:23Z ryandesign@macports.org $
     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
     3# $Id$
    24
    35PortSystem      1.0
    46
     7revision        0
     8
    59name            wview
    610
    7 version         5.6.4
     11version         5.7.1
    812
    913categories      science
    1014
     
    2731
    2832master_sites     sourceforge:wview
    2933
    30 depends_lib      port:gd2 port:radlib port:gawk port:sqlite3 port:curl
     34depends_lib      port:gd2 port:radlib port:openssl port:libpng port:zlib port:sqlite3 port:curl
    3135
    32 checksums        md5    ebae28a3f0ec8d3a244145424b952021 \
    33                  sha1   1c9629e6c256700c9d0e5314814b77643e898b78 \
    34                  rmd160 5e23b960be8d7055094aac66f08c0021d9a9eed9
     36depends_build    port:gawk
    3537
    36 configure.args   --exec-prefix=${prefix} --enable-station-sim --enable-http
     38checksums        md5    c704ea480b7b444b51b7b6a63ef56198 \
     39                 sha1   69017f9354eaa74b2441bdabcd314083c55f3e19 \
     40                 rmd160 a63ca2894abcd62b18804dda8d8fb50fb4f7b8e0
     41
     42configure.args   --enable-station-sim --enable-http
    3743
    3844configure.env-append    HTTP_DOC_ROOT="${prefix}/www"
    3945
    4046destroot.violate_mtree
    4147
    42 destroot.target-append install-env
    43 
    4448post-destroot {
     49
     50  xinstall -d -o root -g wheel -m 755 ${destroot}/Library/StartupItems
     51
    4552  xinstall -d -o root -g wheel -m 755 \
    4653    ${worksrcpath}/examples/MacOSX/wview ${destroot}/Library/StartupItems/wview
    4754
     
    5158  xinstall -o root -g wheel -m 644 \
    5259    ${worksrcpath}/examples/MacOSX/wview/StartupParameters.plist \
    5360    ${destroot}/Library/StartupItems/wview/StartupParameters.plist
    54          
     61
    5562  file mkdir ${destroot}${prefix}/share/doc/${name}
    5663
    5764  file copy ${worksrcpath}/wview-Quick-Start-MacOSX.html \