Ticket #23297: Portfile_wview-5.12.1.diff
File Portfile_wview-5.12.1.diff, 2.7 KB (added by brooks@…, 15 years ago) |
---|
-
Portfile
old new 1 1 # -*- coding: utf-8; mode: tcl; tab-width: 4; truncate-lines: t; indent-tabs-mode: nil; c-basic-offset: 4 -*- vim:fenc=utf-8:et:sw=4:ts=4:sts=4 2 # $Id: Portfile 62126 2009-12-29 15:43:25Z macsforever2000@macports.org $3 2 4 3 PortSystem 1.0 5 4 6 5 name wview 7 version 5.1 0.06 version 5.12.1 8 7 categories science 9 8 maintainers clarksonline.net:brooks 10 9 homepage http://wviewweather.com/ … … 27 26 port:sqlite3 port:curl 28 27 depends_build port:gawk 29 28 30 checksums md5 8a484efc23b3eb3cfdbf257d129d1eaa\31 sha1 aed7e5953a91361316cb4dfc23fed60f3bbd48d2\32 rmd160 a590b3212a560f3d034b6bb2b2da30f5edd5cb8b29 checksums md5 1a1146e9417a2bd6e62984b3edb79f77 \ 30 sha1 f9cd6ce7c4a63402335548daea34a098633a205b \ 31 rmd160 7029049eb428bbe9ea806e253939ee41fcdef1d0 33 32 34 configure.args --enable-station-sim --enable-http33 configure.args --enable-station-sim 35 34 36 35 destroot.violate_mtree 37 36 … … 59 58 reinplace "s|/etc/init.d/wview stop|/sbin/SystemStarter stop wview|" \ 60 59 ${destroot}${prefix}/www/wviewmgmt/wview_upgrade.php 61 60 61 file mkdir ${destroot}${prefix}/share/${name} 62 62 63 file mkdir ${destroot}${prefix}/share/doc/${name} 63 64 64 65 file mkdir ${destroot}${prefix}/share/${name}/etc 65 66 66 67 file mkdir ${destroot}${prefix}/share/${name}/var 67 68 69 file mkdir ${destroot}${prefix}/share/${name}/examples 70 68 71 file rename ${destroot}${prefix}/etc/${name} \ 69 72 ${destroot}${prefix}/share/${name}/etc/${name} 70 73 71 74 file rename ${destroot}${prefix}/var/${name} \ 72 75 ${destroot}${prefix}/share/${name}/var/${name} 73 76 77 file copy ${worksrcpath}/examples/conf \ 78 ${destroot}${prefix}/share/${name}/examples/conf 79 74 80 file copy ${worksrcpath}/wview-Quick-Start-MacOSX.html \ 75 81 ${destroot}${prefix}/share/doc/${name}/wview-Quick-Start-MacOSX.html 76 82 … … 96 102 file copy ${destroot}${prefix}/share/${name}/etc/${name} ${prefix}/etc/wview 97 103 file attributes ${prefix}/etc/wview -group www 98 104 file attributes ${prefix}/etc/${name}/wview-conf.sdb -group www 105 } else { 106 file copy -force ${destroot}${prefix}/share/${name}/etc/${name}/wview-conf-update.sql \ 107 ${prefix}/etc/${name}/wview-conf-update.sql 108 exec sqlite3 ${prefix}/etc/${name}/wview-conf.sdb < ${prefix}/etc/${name}/wview-conf-update.sql 99 109 } 100 110 101 111 file copy -force ${destroot}${prefix}/share/${name}/etc/${name}/wview-version \