From owner-svn-ports-head@freebsd.org Fri Sep 23 06:37:29 2016 Return-Path: Delivered-To: svn-ports-head@mailman.ysv.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:1900:2254:206a::19:1]) by mailman.ysv.freebsd.org (Postfix) with ESMTP id 11414BE552E; Fri, 23 Sep 2016 06:37:29 +0000 (UTC) (envelope-from wen@FreeBSD.org) Received: from repo.freebsd.org (repo.freebsd.org [IPv6:2610:1c1:1:6068::e6a:0]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (Client did not present a certificate) by mx1.freebsd.org (Postfix) with ESMTPS id C6CA227B; Fri, 23 Sep 2016 06:37:28 +0000 (UTC) (envelope-from wen@FreeBSD.org) Received: from repo.freebsd.org ([127.0.1.37]) by repo.freebsd.org (8.15.2/8.15.2) with ESMTP id u8N6bReC007978; Fri, 23 Sep 2016 06:37:27 GMT (envelope-from wen@FreeBSD.org) Received: (from wen@localhost) by repo.freebsd.org (8.15.2/8.15.2/Submit) id u8N6bRLb007974; Fri, 23 Sep 2016 06:37:27 GMT (envelope-from wen@FreeBSD.org) Message-Id: <201609230637.u8N6bRLb007974@repo.freebsd.org> X-Authentication-Warning: repo.freebsd.org: wen set sender to wen@FreeBSD.org using -f From: Wen Heping Date: Fri, 23 Sep 2016 06:37:27 +0000 (UTC) To: ports-committers@freebsd.org, svn-ports-all@freebsd.org, svn-ports-head@freebsd.org Subject: svn commit: r422648 - head/science/metaf2xml X-SVN-Group: ports-head MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit X-BeenThere: svn-ports-head@freebsd.org X-Mailman-Version: 2.1.23 Precedence: list List-Id: SVN commit messages for the ports tree for head List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Fri, 23 Sep 2016 06:37:29 -0000 Author: wen Date: Fri Sep 23 06:37:27 2016 New Revision: 422648 URL: https://svnweb.freebsd.org/changeset/ports/422648 Log: - Update to 2.0 PR: 210944 Submitted by: metaf2xml@users.sourceforge.net Modified: head/science/metaf2xml/Makefile head/science/metaf2xml/distinfo head/science/metaf2xml/pkg-descr head/science/metaf2xml/pkg-plist Modified: head/science/metaf2xml/Makefile ============================================================================== --- head/science/metaf2xml/Makefile Fri Sep 23 06:28:29 2016 (r422647) +++ head/science/metaf2xml/Makefile Fri Sep 23 06:37:27 2016 (r422648) @@ -2,7 +2,7 @@ # $FreeBSD$ PORTNAME= metaf2xml -PORTVERSION= 1.58 +PORTVERSION= 2.0 CATEGORIES= science perl5 MASTER_SITES= SF/${PORTNAME}/${PORTVERSION} @@ -17,19 +17,29 @@ OPTIONS_SUB= yes APACHE_DESC= Install Apache config file for metaf2xml (depends on Apache) MAKE_ARGS= CGI_BIN_DIR=${WWWDIR}/cgi-bin \ + CGI_DATA_DIR=/var/tmp \ + CGI_LOG_DIR=/var/tmp \ HTDOCS_DIR=${WWWDIR}/htdocs \ METAF2XML=${PREFIX} \ METAF2XML_LIB=${PREFIX}/${SITE_PERL_REL} \ METAF2XML_DOC=${DOCSDIR} \ + METAF2XML_MAN=${PREFIX}/man \ METAF2XML_XSL=${DATADIR} \ BUILD_ROOT=${STAGEDIR} NO_BUILD= yes +NO_ARCH= yes USES= perl5 shebangfix tar:tgz USE_PERL5= install run SHEBANG_FILES= metaf.pl metaf2xml.pl metafsrc2raw.pl PLIST_SUB= VERSION=${PORTVERSION} +.include + +.if ${PERL_VER} >= 5.22 +RUN_DEPENDS+= p5-CGI>0:www/p5-CGI +.endif + .include .if ${PORT_OPTIONS:MAPACHE} @@ -37,4 +47,4 @@ USE_APACHE_RUN= 22+ MAKE_ARGS+= CONF_DIR=${PREFIX}/${APACHEETCDIR}/Includes .endif -.include +.include Modified: head/science/metaf2xml/distinfo ============================================================================== --- head/science/metaf2xml/distinfo Fri Sep 23 06:28:29 2016 (r422647) +++ head/science/metaf2xml/distinfo Fri Sep 23 06:37:27 2016 (r422648) @@ -1,2 +1,3 @@ -SHA256 (metaf2xml-1.58.tgz) = 87a906e7f81a0eead7f85cb6674c498b3e8b7ea1133a2c07b952d1915db2a4df -SIZE (metaf2xml-1.58.tgz) = 361267 +TIMESTAMP = 1474612314 +SHA256 (metaf2xml-2.0.tgz) = 9fbb25644f168327c91fb5a867f34926234b39144ab741311d66b804757157ce +SIZE (metaf2xml-2.0.tgz) = 371661 Modified: head/science/metaf2xml/pkg-descr ============================================================================== --- head/science/metaf2xml/pkg-descr Fri Sep 23 06:28:29 2016 (r422647) +++ head/science/metaf2xml/pkg-descr Fri Sep 23 06:37:27 2016 (r422648) @@ -1,13 +1,13 @@ -metaf2xml can download, parse and decode aviation routine weather -reports (METAR, SPECI, SAO), aerodrome forecasts (TAF), synoptic -observations (SYNOP), observations from buoys (BUOY) and -meteorological reports from aircrafts (AMDAR). The extracted data can -be written as XML or passed to a user-defined function (all done in -Perl). +metaf2xml can download, parse and decode aviation routine weather reports +(METAR, SPECI, SAO), aerodrome forecasts (TAF), synoptic observations +(SYNOP), observations from buoys (BUOY) and meteorological reports from +aircrafts (AMDAR). Data can also be taken from decoded BUFR messages. +The extracted data can be written as XML or passed to a user-defined +function (all done in Perl). -It also provides XSLT style sheets to convert the XML to plain -language (text, HTML), or XML with different schemas. A web-based -(CGI) user interface can be used to download and display up-to-date -weather data from NOAA, Ogimet, and other sources. +It also provides XSLT style sheets to convert the XML to plain language +(text, HTML), or XML with different schemas. A web-based (CGI) user +interface can be used to download and display up-to-date weather data from +NOAA, Ogimet, and other sources. WWW: http://metaf2xml.sourceforge.net/ Modified: head/science/metaf2xml/pkg-plist ============================================================================== --- head/science/metaf2xml/pkg-plist Fri Sep 23 06:28:29 2016 (r422647) +++ head/science/metaf2xml/pkg-plist Fri Sep 23 06:37:27 2016 (r422648) @@ -15,14 +15,11 @@ man/man3/metaf2xml::src2raw.3pm.gz %%PORTDOCS%%%%DOCSDIR%%/COPYING %%PORTDOCS%%%%DOCSDIR%%/ChangeLog %%PORTDOCS%%%%DOCSDIR%%/README -%%PORTDOCS%%%%DOCSDIR%%/TODO %%DATADIR%%/metaf-fullhtml.xsl %%DATADIR%%/metaf-html.xsl %%DATADIR%%/metaf-lang-de.xml %%DATADIR%%/metaf-lang-en.xml %%DATADIR%%/metaf-lang-es.xml -%%DATADIR%%/metaf-lang-pl.xml -%%DATADIR%%/metaf-lang-pt-br.xml %%DATADIR%%/metaf-lang-ru.xml %%DATADIR%%/metaf-lang.xml %%DATADIR%%/metaf-sum-html.xsl @@ -40,8 +37,6 @@ man/man3/metaf2xml::src2raw.3pm.gz %%WWWDIR%%/htdocs/metaf-lang-de.xml %%WWWDIR%%/htdocs/metaf-lang-en.xml %%WWWDIR%%/htdocs/metaf-lang-es.xml -%%WWWDIR%%/htdocs/metaf-lang-pl.xml -%%WWWDIR%%/htdocs/metaf-lang-pt-br.xml %%WWWDIR%%/htdocs/metaf-lang-ru.xml %%WWWDIR%%/htdocs/metaf-lang.xml %%WWWDIR%%/htdocs/metaf-sum-html.xsl