Date: Mon, 30 Jun 2014 05:44:48 +0000 (UTC) From: Johannes Jost Meixner <xmj@FreeBSD.org> To: ports-committers@freebsd.org, svn-ports-all@freebsd.org, svn-ports-head@freebsd.org Subject: svn commit: r359801 - in head: . science science/metaf2xml science/metaf2xml/files textproc textproc/metaf2xml Message-ID: <201406300544.s5U5imgt076055@svn.freebsd.org>
next in thread | raw e-mail | index | archive | help
Author: xmj Date: Mon Jun 30 05:44:47 2014 New Revision: 359801 URL: http://svnweb.freebsd.org/changeset/ports/359801 QAT: https://qat.redports.org/buildarchive/r359801/ Log: textproc/metaf2xml: Upgrade to 1.55 - Upgrade to 1.55 - Move from textproc to science - Introduce conditional run dependency on Apache - Introduce perl install dependency - Improve comment and pkg-descr - Stagify - Pet portlint PR: 180441 Submitted by: Thomas <metaf2xml@users.sourceforge.net> Approved by: maintainer timeout (clsung, 50 weeks) Approved by: swills (mentor) Added: head/science/metaf2xml/ - copied from r359800, head/textproc/metaf2xml/ head/science/metaf2xml/files/ head/science/metaf2xml/files/patch-Makefile (contents, props changed) Deleted: head/textproc/metaf2xml/ Modified: head/MOVED head/science/Makefile head/science/metaf2xml/Makefile head/science/metaf2xml/distinfo head/science/metaf2xml/pkg-descr head/science/metaf2xml/pkg-plist head/textproc/Makefile Modified: head/MOVED ============================================================================== --- head/MOVED Mon Jun 30 05:02:41 2014 (r359800) +++ head/MOVED Mon Jun 30 05:44:47 2014 (r359801) @@ -6182,3 +6182,4 @@ www/emacs-w3m-emacs22||2014-06-27|Remove devel/ode-devel|devel/ode|2014-06-27|Has expired: Outdated by devel/ode java/eclipse-devel|java/eclipse|2014-06-29|Concentrate maintenance effort on newer java/eclipse textproc/ruby-hikidoc|textproc/rubygem-hikidoc|2014-06-29|Use textproc/rubygem-hikidoc instead +textproc/metaf2xml|science/metaf2xml|2014-06-30|Moved to a more appropriate category on maintainer request Modified: head/science/Makefile ============================================================================== --- head/science/Makefile Mon Jun 30 05:02:41 2014 (r359800) +++ head/science/Makefile Mon Jun 30 05:44:47 2014 (r359801) @@ -93,6 +93,7 @@ SUBDIR += medit SUBDIR += meep SUBDIR += mei + SUBDIR += metaf2xml SUBDIR += minc SUBDIR += minc2 SUBDIR += mol2ps Modified: head/science/metaf2xml/Makefile ============================================================================== --- head/textproc/metaf2xml/Makefile Mon Jun 30 05:02:41 2014 (r359800) +++ head/science/metaf2xml/Makefile Mon Jun 30 05:44:47 2014 (r359801) @@ -2,27 +2,37 @@ # $FreeBSD$ PORTNAME= metaf2xml -PORTVERSION= 1.42 -CATEGORIES= textproc -MASTER_SITES= SF -EXTRACT_SUFX= .tgz +PORTVERSION= 1.55 +CATEGORIES= science perl5 +MASTER_SITES= SF/${PORTNAME}/${PORTVERSION} MAINTAINER= clsung@FreeBSD.org -COMMENT= Parses METAR, TAF, and SYNOP messages and stores the components in XML +COMMENT= Parse and Decode METAR, TAF, SYNOP and BUOY and Store as XML + +OPTIONS_DEFINE= APACHE +OPTIONS_SUB= yes +APACHE_DESC= Install Apache config file for metaf2xml (depends on Apache) MAKE_ARGS= CGI_BIN_DIR=${PREFIX}/www/metaf2xml/cgi-bin \ HTDOCS_DIR=${PREFIX}/www/metaf2xml/htdocs \ METAF2XML=${PREFIX} \ METAF2XML_LIB=${PREFIX}/${SITE_PERL_REL} \ + METAF2XML_DOC=${DOCSDIR} \ METAF2XML_XSL=${DATADIR} NO_BUILD= yes -USES= perl5 -USE_PERL5= run +USES= perl5 tar:tgz +USE_PERL5= install run + +.include <bsd.port.options.mk> + +.if ${PORT_OPTIONS:MAPACHE} +USE_APACHE_RUN= 22+ +MAKE_ARGS+= CONF_DIR=${PREFIX}/${APACHEETCDIR}/Includes +.endif -NO_STAGE= yes pre-install: - ${MKDIR} ${PREFIX}/www/metaf2xml/cgi-bin \ - ${PREFIX}/www/metaf2xml/htdocs + ${MKDIR} ${STAGEDIR}${PREFIX}/www/metaf2xml/cgi-bin \ + ${STAGEDIR}${PREFIX}/www/metaf2xml/htdocs do-install: cd ${WRKSRC}; ${MAKE} ${MAKE_ARGS} install-all Modified: head/science/metaf2xml/distinfo ============================================================================== --- head/textproc/metaf2xml/distinfo Mon Jun 30 05:02:41 2014 (r359800) +++ head/science/metaf2xml/distinfo Mon Jun 30 05:44:47 2014 (r359801) @@ -1,2 +1,2 @@ -SHA256 (metaf2xml-1.42.tgz) = 54e0a43fbb6fe2b3f0ed1d08e1509d2f19f0f9ba1100d36ade6788b1be9e568e -SIZE (metaf2xml-1.42.tgz) = 260652 +SHA256 (metaf2xml-1.55.tgz) = 2b89a7c1a61694e81681228263596b1ca0d27c7fdce5077be0553b9524bfc683 +SIZE (metaf2xml-1.55.tgz) = 338340 Added: head/science/metaf2xml/files/patch-Makefile ============================================================================== --- /dev/null 00:00:00 1970 (empty, because file is newly added) +++ head/science/metaf2xml/files/patch-Makefile Mon Jun 30 05:44:47 2014 (r359801) @@ -0,0 +1,8 @@ +--- ./Makefile.orig 2014-06-01 10:42:17.000000000 +0300 ++++ ./Makefile 2014-06-25 19:21:30.625134928 +0300 +@@ -80,4 +80,5 @@ + CGI_LOG_NAME=${CGI_LOG_NAME} \ + CURL=${CURL} \ + CURL_PROXY_OPTS=${CURL_PROXY_OPTS} \ ++ BUILD_ROOT=${DESTDIR} \ + perl ./install.pl $@ Modified: head/science/metaf2xml/pkg-descr ============================================================================== --- head/textproc/metaf2xml/pkg-descr Mon Jun 30 05:02:41 2014 (r359800) +++ head/science/metaf2xml/pkg-descr Mon Jun 30 05:44:47 2014 (r359801) @@ -1,6 +1,12 @@ -metaf2xml parses aviation routine weather reports (METAR, SPECI), -aerodrome forecasts (TAF), and synoptic observations (SYNOP) and -stores the components in XML. They can then be converted to plain -language (text, HTML), or XML with different schemas. +metaf2xml can download, parse and decode aviation routine weather +reports (METAR, SPECI, SAO), aerodrome forecasts (TAF), synoptic +observations (SYNOP) and observations from buoys (BUOY). The +extracted data can be written as XML or passed to a user-defined +function (all done in Perl). -WWW: http://metaf2xml.sourceforge.net/ +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/textproc/metaf2xml/pkg-plist Mon Jun 30 05:02:41 2014 (r359800) +++ head/science/metaf2xml/pkg-plist Mon Jun 30 05:44:47 2014 (r359801) @@ -1,28 +1,59 @@ +bin/metaf.pl +bin/metaf2xml.pl +bin/metafsrc2raw.pl +%%APACHE%%%%APACHEETCDIR%%/Includes/metaf2xml-1.55-apache.conf +etc/metaf2xml-1.55-apache.conf +%%SITE_PERL%%/metaf2xml/parser.pm +%%SITE_PERL%%/metaf2xml/src2raw.pm +man/man1/metaf.1.gz +man/man1/metaf2xml.1.gz +man/man1/metafsrc2raw.1.gz +man/man3/metaf2xml::parser.3pm.gz +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.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 %%DATADIR%%/metaf-sum-text.xsl %%DATADIR%%/metaf-sum-ui.xsl %%DATADIR%%/metaf-sum.xsl %%DATADIR%%/metaf-text.xsl %%DATADIR%%/metaf-ui.xsl +%%DATADIR%%/metaf.dtd %%DATADIR%%/metaf.xsl %%DATADIR%%/stations.xml -%%SITE_PERL%%/metaf2xml/XML.pm -%%SITE_PERL%%/metaf2xml/parser.pm -bin/metaf2xml.pl -bin/metafsrc2raw.pl -www/metaf2xml/cgi-bin/metaf.pl -www/metaf2xml/htdocs/metaf-fullhtml.xsl -www/metaf2xml/htdocs/metaf-lang.xsl -www/metaf2xml/htdocs/metaf-sum-ui.xsl -www/metaf2xml/htdocs/metaf-sum.xsl -www/metaf2xml/htdocs/metaf-ui.xsl -www/metaf2xml/htdocs/metaf.xsl -www/metaf2xml/htdocs/stations.xml -@dirrmtry %%DATADIR%% +%%WWWDIR%%/cgi-bin/metaf.pl +%%WWWDIR%%/htdocs/metaf-fullhtml.xsl +%%WWWDIR%%/htdocs/metaf-html.xsl +%%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 +%%WWWDIR%%/htdocs/metaf-sum-ui.xsl +%%WWWDIR%%/htdocs/metaf-sum.xsl +%%WWWDIR%%/htdocs/metaf-ui.xsl +%%WWWDIR%%/htdocs/metaf.xsl +%%WWWDIR%%/htdocs/metaf2xml.css +%%WWWDIR%%/htdocs/stations.xml +%%APACHE%%@dirrmtry %%APACHEETCDIR%%/Includes +%%APACHE%%@dirrmtry %%APACHEETCDIR%% @dirrmtry %%SITE_PERL%%/metaf2xml -@dirrmtry www/metaf2xml/cgi-bin -@dirrmtry www/metaf2xml/htdocs -@dirrmtry www/metaf2xml +%%PORTDOCS%%@dirrmtry %%DOCSDIR%% +@dirrmtry %%DATADIR%% +@dirrmtry %%WWWDIR%%/cgi-bin +@dirrmtry %%WWWDIR%%/htdocs +@dirrmtry %%WWWDIR%% Modified: head/textproc/Makefile ============================================================================== --- head/textproc/Makefile Mon Jun 30 05:02:41 2014 (r359800) +++ head/textproc/Makefile Mon Jun 30 05:44:47 2014 (r359801) @@ -421,7 +421,6 @@ SUBDIR += mathml-xsd SUBDIR += mdocml SUBDIR += meld - SUBDIR += metaf2xml SUBDIR += metauml SUBDIR += mgdiff SUBDIR += mguesser
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?201406300544.s5U5imgt076055>