View | Details | Raw Unified | Return to bug 210944 | Differences between
and this patch

Collapse All | Expand All

(-)Makefile (-2 / +12 lines)
Lines 2-8 Link Here
2
# $FreeBSD$
2
# $FreeBSD$
3
3
4
PORTNAME=	metaf2xml
4
PORTNAME=	metaf2xml
5
PORTVERSION=	1.58
5
PORTVERSION=	2.0
6
CATEGORIES=	science perl5
6
CATEGORIES=	science perl5
7
MASTER_SITES=	SF/${PORTNAME}/${PORTVERSION}
7
MASTER_SITES=	SF/${PORTNAME}/${PORTVERSION}
8
8
Lines 17-29 Link Here
17
APACHE_DESC=	Install Apache config file for metaf2xml (depends on Apache)
17
APACHE_DESC=	Install Apache config file for metaf2xml (depends on Apache)
18
18
19
MAKE_ARGS=	CGI_BIN_DIR=${WWWDIR}/cgi-bin \
19
MAKE_ARGS=	CGI_BIN_DIR=${WWWDIR}/cgi-bin \
20
		CGI_DATA_DIR=/var/tmp \
21
		CGI_LOG_DIR=/var/tmp \
20
		HTDOCS_DIR=${WWWDIR}/htdocs \
22
		HTDOCS_DIR=${WWWDIR}/htdocs \
21
		METAF2XML=${PREFIX} \
23
		METAF2XML=${PREFIX} \
22
		METAF2XML_LIB=${PREFIX}/${SITE_PERL_REL} \
24
		METAF2XML_LIB=${PREFIX}/${SITE_PERL_REL} \
23
		METAF2XML_DOC=${DOCSDIR} \
25
		METAF2XML_DOC=${DOCSDIR} \
26
		METAF2XML_MAN=${PREFIX}/man \
24
		METAF2XML_XSL=${DATADIR} \
27
		METAF2XML_XSL=${DATADIR} \
25
		BUILD_ROOT=${STAGEDIR}
28
		BUILD_ROOT=${STAGEDIR}
26
NO_BUILD=	yes
29
NO_BUILD=	yes
30
NO_ARCH=	yes
27
USES=		perl5 shebangfix tar:tgz
31
USES=		perl5 shebangfix tar:tgz
28
USE_PERL5=	install run
32
USE_PERL5=	install run
29
SHEBANG_FILES=	metaf.pl metaf2xml.pl metafsrc2raw.pl
33
SHEBANG_FILES=	metaf.pl metaf2xml.pl metafsrc2raw.pl
Lines 30-35 Link Here
30
34
31
PLIST_SUB=	VERSION=${PORTVERSION}
35
PLIST_SUB=	VERSION=${PORTVERSION}
32
36
37
.include <bsd.port.pre.mk>
38
39
.if ${PERL_VER} >= 5.22
40
RUN_DEPENDS+=	p5-CGI>0:www/p5-CGI
41
.endif
42
33
.include <bsd.port.options.mk>
43
.include <bsd.port.options.mk>
34
44
35
.if ${PORT_OPTIONS:MAPACHE}
45
.if ${PORT_OPTIONS:MAPACHE}
Lines 37-40 Link Here
37
MAKE_ARGS+=	CONF_DIR=${PREFIX}/${APACHEETCDIR}/Includes
47
MAKE_ARGS+=	CONF_DIR=${PREFIX}/${APACHEETCDIR}/Includes
38
.endif
48
.endif
39
49
40
.include <bsd.port.mk>
50
.include <bsd.port.post.mk>
(-)distinfo (-2 / +2 lines)
Lines 1-2 Link Here
1
SHA256 (metaf2xml-1.58.tgz) = 87a906e7f81a0eead7f85cb6674c498b3e8b7ea1133a2c07b952d1915db2a4df
1
SHA256 (metaf2xml-2.0.tgz) = 9fbb25644f168327c91fb5a867f34926234b39144ab741311d66b804757157ce
2
SIZE (metaf2xml-1.58.tgz) = 361267
2
SIZE (metaf2xml-2.0.tgz) = 371661
(-)pkg-descr (-10 / +10 lines)
Lines 1-13 Link Here
1
metaf2xml can download, parse and decode aviation routine weather
1
metaf2xml can download, parse and decode aviation routine weather reports
2
reports (METAR, SPECI, SAO), aerodrome forecasts (TAF), synoptic
2
(METAR, SPECI, SAO), aerodrome forecasts (TAF), synoptic observations
3
observations (SYNOP), observations from buoys (BUOY) and
3
(SYNOP), observations from buoys (BUOY) and meteorological reports from
4
meteorological reports from aircrafts (AMDAR). The extracted data can
4
aircrafts (AMDAR). Data can also be taken from decoded BUFR messages.
5
be written as XML or passed to a user-defined function (all done in
5
The extracted data can be written as XML or passed to a user-defined
6
Perl).
6
function (all done in Perl).
7
7
8
It also provides XSLT style sheets to convert the XML to plain
8
It also provides XSLT style sheets to convert the XML to plain language
9
language (text, HTML), or XML with different schemas. A web-based
9
(text, HTML), or XML with different schemas. A web-based (CGI) user
10
(CGI) user interface can be used to download and display up-to-date
10
interface can be used to download and display up-to-date weather data from
11
weather data from NOAA, Ogimet, and other sources.
11
NOAA, Ogimet, and other sources.
12
12
13
WWW: http://metaf2xml.sourceforge.net/
13
WWW: http://metaf2xml.sourceforge.net/
(-)pkg-plist (-5 lines)
Lines 15-28 Link Here
15
%%PORTDOCS%%%%DOCSDIR%%/COPYING
15
%%PORTDOCS%%%%DOCSDIR%%/COPYING
16
%%PORTDOCS%%%%DOCSDIR%%/ChangeLog
16
%%PORTDOCS%%%%DOCSDIR%%/ChangeLog
17
%%PORTDOCS%%%%DOCSDIR%%/README
17
%%PORTDOCS%%%%DOCSDIR%%/README
18
%%PORTDOCS%%%%DOCSDIR%%/TODO
19
%%DATADIR%%/metaf-fullhtml.xsl
18
%%DATADIR%%/metaf-fullhtml.xsl
20
%%DATADIR%%/metaf-html.xsl
19
%%DATADIR%%/metaf-html.xsl
21
%%DATADIR%%/metaf-lang-de.xml
20
%%DATADIR%%/metaf-lang-de.xml
22
%%DATADIR%%/metaf-lang-en.xml
21
%%DATADIR%%/metaf-lang-en.xml
23
%%DATADIR%%/metaf-lang-es.xml
22
%%DATADIR%%/metaf-lang-es.xml
24
%%DATADIR%%/metaf-lang-pl.xml
25
%%DATADIR%%/metaf-lang-pt-br.xml
26
%%DATADIR%%/metaf-lang-ru.xml
23
%%DATADIR%%/metaf-lang-ru.xml
27
%%DATADIR%%/metaf-lang.xml
24
%%DATADIR%%/metaf-lang.xml
28
%%DATADIR%%/metaf-sum-html.xsl
25
%%DATADIR%%/metaf-sum-html.xsl
Lines 40-47 Link Here
40
%%WWWDIR%%/htdocs/metaf-lang-de.xml
37
%%WWWDIR%%/htdocs/metaf-lang-de.xml
41
%%WWWDIR%%/htdocs/metaf-lang-en.xml
38
%%WWWDIR%%/htdocs/metaf-lang-en.xml
42
%%WWWDIR%%/htdocs/metaf-lang-es.xml
39
%%WWWDIR%%/htdocs/metaf-lang-es.xml
43
%%WWWDIR%%/htdocs/metaf-lang-pl.xml
44
%%WWWDIR%%/htdocs/metaf-lang-pt-br.xml
45
%%WWWDIR%%/htdocs/metaf-lang-ru.xml
40
%%WWWDIR%%/htdocs/metaf-lang-ru.xml
46
%%WWWDIR%%/htdocs/metaf-lang.xml
41
%%WWWDIR%%/htdocs/metaf-lang.xml
47
%%WWWDIR%%/htdocs/metaf-sum-html.xsl
42
%%WWWDIR%%/htdocs/metaf-sum-html.xsl

Return to bug 210944