From 3626f06f4a562f8fe7bb486da4c80bae0c1651f5 Mon Sep 17 00:00:00 2001 From: clsung Date: Fri, 11 Aug 2006 06:52:58 +0000 Subject: Add metaf2xml 1.8, parses and decodes aviation routine and stores the components in XML. PR: ports/101779 Submitted by: Gea-Suan Lin --- textproc/Makefile | 1 + textproc/metaf2xml/Makefile | 33 +++++++++++++++++++++++++++++++++ textproc/metaf2xml/distinfo | 3 +++ textproc/metaf2xml/pkg-descr | 6 ++++++ textproc/metaf2xml/pkg-plist | 20 ++++++++++++++++++++ 5 files changed, 63 insertions(+) create mode 100644 textproc/metaf2xml/Makefile create mode 100644 textproc/metaf2xml/distinfo create mode 100644 textproc/metaf2xml/pkg-descr create mode 100644 textproc/metaf2xml/pkg-plist (limited to 'textproc') diff --git a/textproc/Makefile b/textproc/Makefile index c6b841d..abc05a9 100644 --- a/textproc/Makefile +++ b/textproc/Makefile @@ -270,6 +270,7 @@ SUBDIR += markdown SUBDIR += mathml-xsd SUBDIR += meld + SUBDIR += metaf2xml SUBDIR += mgdiff SUBDIR += mguesser SUBDIR += mi-aspell diff --git a/textproc/metaf2xml/Makefile b/textproc/metaf2xml/Makefile new file mode 100644 index 0000000..95bfa72 --- /dev/null +++ b/textproc/metaf2xml/Makefile @@ -0,0 +1,33 @@ +# New ports collection makefile for: metaf2xml +# Date created: 2006-08-11 +# Whom: Gea-Suan Lin +# +# $FreeBSD$ +# + +PORTNAME= metaf2xml +PORTVERSION= 1.8 +CATEGORIES= textproc +MASTER_SITES= ${MASTER_SITE_SOURCEFORGE} +MASTER_SITE_SUBDIR= ${PORTNAME} +EXTRACT_SUFX= .tgz + +MAINTAINER= gslin@gslin.org +COMMENT= Parses and decodes aviation routine and stores the components in XML + +MAKE_ARGS= CGI_BIN_DIR=${TARGETDIR}/www/metaf2xml/cgi-bin \ + HTDOCS_DIR=${TARGETDIR}/www/metaf2xml/htdocs \ + METAF2XML=${TARGETDIR} \ + METAF2XML_LIB=${TARGETDIR}/${SITE_PERL_REL} \ + METAF2XML_XSL=${DATADIR} +NO_BUILD= yes +USE_PERL5_RUN= yes + +pre-install: + ${MKDIR} ${TARGETDIR}/www/metaf2xml/cgi-bin \ + ${TARGETDIR}/www/metaf2xml/htdocs + +do-install: + cd ${WRKSRC}; ${MAKE} ${MAKE_ARGS} install-all + +.include diff --git a/textproc/metaf2xml/distinfo b/textproc/metaf2xml/distinfo new file mode 100644 index 0000000..04607cc --- /dev/null +++ b/textproc/metaf2xml/distinfo @@ -0,0 +1,3 @@ +MD5 (metaf2xml-1.8.tgz) = aebb34ef0840e1124075ff05cbca5db2 +SHA256 (metaf2xml-1.8.tgz) = eaad4d8cb0aa1949d64c933a3908e7b0783a2d3a4f92fa3498f34260e4bea93b +SIZE (metaf2xml-1.8.tgz) = 87187 diff --git a/textproc/metaf2xml/pkg-descr b/textproc/metaf2xml/pkg-descr new file mode 100644 index 0000000..64c6d31 --- /dev/null +++ b/textproc/metaf2xml/pkg-descr @@ -0,0 +1,6 @@ +metaf2xml parses and decodes aviation routine weather reports and +aerodrome forecasts (i.e. METAR and TAF messages) and stores the +components in XML. They can then be converted to text, HTML, or other +formats. + +WWW: http://metaf2xml.sourceforge.net/ diff --git a/textproc/metaf2xml/pkg-plist b/textproc/metaf2xml/pkg-plist new file mode 100644 index 0000000..3a539fd --- /dev/null +++ b/textproc/metaf2xml/pkg-plist @@ -0,0 +1,20 @@ +@comment $FreeBSD$ +%%DATADIR%%/metaf-fullhtml.xsl +%%DATADIR%%/metaf-html.xsl +%%DATADIR%%/metaf-lang.xsl +%%DATADIR%%/metaf-text.xsl +%%DATADIR%%/metaf.xsl +%%SITE_PERL%%/metaf2xml/FGFS.pm +%%SITE_PERL%%/metaf2xml/XML.pm +%%SITE_PERL%%/metaf2xml/basic.pm +%%SITE_PERL%%/metaf2xml/parser.pm +bin/metaf2xml.pl +www/metaf2xml/cgi-bin/metaf.pl +www/metaf2xml/htdocs/metaf-fullhtml.xsl +www/metaf2xml/htdocs/metaf-lang.xsl +www/metaf2xml/htdocs/metaf.xsl +@dirrmtry %%DATADIR%% +@dirrmtry %%SITE_PERL%%/metaf2xml +@dirrmtry www/metaf2xml/cgi-bin +@dirrmtry www/metaf2xml/htdocs +@dirrmtry www/metaf2xml -- cgit v1.1