[60332] trunk/dports/science/wview/Portfile
ryandesign at macports.org
ryandesign at macports.org
Sun Nov 8 18:34:24 PST 2009
Revision: 60332
http://trac.macports.org/changeset/60332
Author: ryandesign at macports.org
Date: 2009-11-08 18:34:23 -0800 (Sun, 08 Nov 2009)
Log Message:
-----------
wview: maintainer update to 5.6.4 and remove all variants; closes #22099
Modified Paths:
--------------
trunk/dports/science/wview/Portfile
Modified: trunk/dports/science/wview/Portfile
===================================================================
--- trunk/dports/science/wview/Portfile 2009-11-09 02:08:06 UTC (rev 60331)
+++ trunk/dports/science/wview/Portfile 2009-11-09 02:34:23 UTC (rev 60332)
@@ -4,7 +4,7 @@
name wview
-version 4.0.1
+version 5.6.4
categories science
@@ -17,65 +17,30 @@
long_description \
wview is a unix application for weather stations. It archives weather \
data from the station. Generates full html web sites with graphics. \
- ftp/ssh export capability. MySQL/PostgreSQL archiving. International. \
- Weather alarms. Data feed. RSS feed. Stations currently supported include: \
- Davis Vantage Pro/Pro2, Vaisala WXT-510, La Crosse WS-2300, and a \
- weather station simulator.
+ ftp/ssh export capability. International. Weather alarms. Data feed. \
+ RSS feed. Stations currently supported include: Davis Vantage Pro/Pro2,\
+ Vaisala WXT-510, La Crosse WS-2300, and a weather station simulator.
platforms darwin
+use_autoconf yes
+
master_sites sourceforge:wview
-depends_lib port:gd2 port:radlib
+depends_lib port:gd2 port:radlib port:gawk port:sqlite3 port:curl
-checksums md5 1042769d7c94395bcc3732de7c1c8e87 \
- sha1 949c76e1a2179eedb7104a7b28a526d4e4ffe953 \
- rmd160 86e581f2d9779650d0189b0dbfb068b71b5affc8
+checksums md5 ebae28a3f0ec8d3a244145424b952021 \
+ sha1 1c9629e6c256700c9d0e5314814b77643e898b78 \
+ rmd160 5e23b960be8d7055094aac66f08c0021d9a9eed9
-configure.args --exec-prefix=${prefix}
+configure.args --exec-prefix=${prefix} --enable-station-sim --enable-http
-variant env description { Install config files and templates (first time install) } {
- destroot.target-append install-env
-}
+configure.env-append HTTP_DOC_ROOT="${prefix}/www"
-variant mysql5 description { Includes mySQL5 database support } {
- configure.args-append --enable-mysql
- configure.ldflags-append -L${prefix}/lib/mysql5/mysql
- depends_lib-append path:bin/mysql_config5:mysql5
-}
-
-variant pgresql description { Includes Postgresql database support } {
- configure.args-append --enable-pgresql
- depends_lib-append port:postgresql83
-}
-
-variant vpro description { Support for Davis Vantage Pro WX Station } {
- configure.args-append --enable-station-vp2
-}
-
-variant wxt510 description { Support for Vaisala WXT-510 WX Station } {
- configure.args-append --enable-station-wxt510
-}
-
-variant ws2300 description { Support for the La Crosse WS-2300 series stations } {
- configure.args-append --enable-station-ws2300
-}
-
-variant wmr918 description { Support for the for the Oregon Scientific WMR918/968 WX Station} {
- configure.args-append --enable-station-wmr918
-}
-
-variant sim description { Support for the Simulated WX Station } {
- configure.args-append --enable-station-sim
-}
-
-variant http description { Enable support for uploading data to Weather Underground } {
- configure.args-append --enable-http
- depends_lib-append port:curl
-}
-
destroot.violate_mtree
+destroot.target-append install-env
+
post-destroot {
xinstall -d -o root -g wheel -m 755 \
${worksrcpath}/examples/MacOSX/wview ${destroot}/Library/StartupItems/wview
@@ -86,8 +51,7 @@
xinstall -o root -g wheel -m 644 \
${worksrcpath}/examples/MacOSX/wview/StartupParameters.plist \
${destroot}/Library/StartupItems/wview/StartupParameters.plist
-
-
+
file mkdir ${destroot}${prefix}/share/doc/${name}
file copy ${worksrcpath}/wview-Quick-Start-MacOSX.html \
@@ -104,21 +68,24 @@
file copy ${worksrcpath}/UPGRADE \
${destroot}${prefix}/share/doc/${name}/UPGRADE
-
-
}
post-install {
ui_msg "\n#####################################"
- ui_msg "Run\n"
- ui_msg "\tsudo ${prefix}/bin/wviewconfig and\n"
- ui_msg "\tsudo ${prefix}/bin/wviewhtmlconfig\n"
+ ui_msg "Run"
+ ui_msg "\tsudo ${prefix}/bin/wviewconfig"
+ ui_msg "\tsudo ${prefix}/bin/wviewhtmlconfig"
ui_msg "before launching wview\n"
- ui_msg "\n#####################################"
- ui_msg "html templates and config files are stored in ${prefix}/etc/wview/\n"
- ui_msg "archive files are stored in ${prefix}/var/wview/\n"
- ui_msg "\n#####################################"
- ui_msg "Start the daemons with the command:\n"
+ ui_msg "#####################################"
+ ui_msg "html templates and config files are stored in"
+ ui_msg "\t${prefix}/etc/wview/\n"
+ ui_msg "archive files are stored in"
+ ui_msg "\t${prefix}/var/wview/\n"
+ ui_msg "#####################################"
+ ui_msg "wviewmgmt scripts are installed in"
+ ui_msg "\t${prefix}/www/wviewmgmt\n"
+ ui_msg "#####################################"
+ ui_msg "Start the daemons with the command:"
ui_msg "\tsudo /sbin/SystemStarter start wview\n"
- ui_msg "\n#####################################"
+ ui_msg "#####################################"
}
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.macosforge.org/pipermail/macports-changes/attachments/20091108/08917e00/attachment.html>
More information about the macports-changes
mailing list