aboutsummaryrefslogtreecommitdiffstats
path: root/textproc
diff options
context:
space:
mode:
authorclsung <clsung@FreeBSD.org>2006-08-11 14:52:58 +0800
committerclsung <clsung@FreeBSD.org>2006-08-11 14:52:58 +0800
commit3626f06f4a562f8fe7bb486da4c80bae0c1651f5 (patch)
treefd34a6658b39b3110f31eb63bed20dbbdccda4bf /textproc
parent554f5bd72dcd8be3fb6793908dac7e3eeb625857 (diff)
downloadfreebsd-ports-gnome-3626f06f4a562f8fe7bb486da4c80bae0c1651f5.tar.gz
freebsd-ports-gnome-3626f06f4a562f8fe7bb486da4c80bae0c1651f5.tar.zst
freebsd-ports-gnome-3626f06f4a562f8fe7bb486da4c80bae0c1651f5.zip
Add metaf2xml 1.8, parses and decodes aviation routine and stores the
components in XML. PR: ports/101779 Submitted by: Gea-Suan Lin <gslin at gslin.org>
Diffstat (limited to 'textproc')
-rw-r--r--textproc/Makefile1
-rw-r--r--textproc/metaf2xml/Makefile33
-rw-r--r--textproc/metaf2xml/distinfo3
-rw-r--r--textproc/metaf2xml/pkg-descr6
-rw-r--r--textproc/metaf2xml/pkg-plist20
5 files changed, 63 insertions, 0 deletions
diff --git a/textproc/Makefile b/textproc/Makefile
index c6b841d40c17..abc05a95c584 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 000000000000..95bfa7221d2e
--- /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 <gslin@gslin.org>
+#
+# $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 <bsd.port.mk>
diff --git a/textproc/metaf2xml/distinfo b/textproc/metaf2xml/distinfo
new file mode 100644
index 000000000000..04607cc1c084
--- /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 000000000000..64c6d31d94ee
--- /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 000000000000..3a539fdd5880
--- /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