summaryrefslogtreecommitdiff
path: root/textproc
diff options
context:
space:
mode:
authorCheng-Lung Sung <clsung@FreeBSD.org>2006-10-31 09:03:12 +0000
committerCheng-Lung Sung <clsung@FreeBSD.org>2006-10-31 09:03:12 +0000
commit55e63215d2ee49dc96bc02ed4eb36dab9ca7c5e0 (patch)
tree0faa3f62aba679728562b9ff7ec5806d780e9ccc /textproc
parent- Update to 34.t26.b3 (diff)
- Update to 1.15
- Reset maintainership to ports@FreeBSD.org PR: ports/104335 Submitted by: Gea-Suan Lin <gslin_AT_gslin dot org>
Notes
Notes: svn path=/head/; revision=175756
Diffstat (limited to 'textproc')
-rw-r--r--textproc/metaf2xml/Makefile4
-rw-r--r--textproc/metaf2xml/distinfo6
-rw-r--r--textproc/metaf2xml/files/patch-Makefile39
3 files changed, 44 insertions, 5 deletions
diff --git a/textproc/metaf2xml/Makefile b/textproc/metaf2xml/Makefile
index 2a5bae1c99fe..f1d443809936 100644
--- a/textproc/metaf2xml/Makefile
+++ b/textproc/metaf2xml/Makefile
@@ -6,13 +6,13 @@
#
PORTNAME= metaf2xml
-PORTVERSION= 1.9
+PORTVERSION= 1.15
CATEGORIES= textproc
MASTER_SITES= ${MASTER_SITE_SOURCEFORGE}
MASTER_SITE_SUBDIR= ${PORTNAME}
EXTRACT_SUFX= .tgz
-MAINTAINER= gslin@gslin.org
+MAINTAINER= ports@FreeBSD.org
COMMENT= Parses and decodes aviation routine and stores the components in XML
MAKE_ARGS= CGI_BIN_DIR=${TARGETDIR}/www/metaf2xml/cgi-bin \
diff --git a/textproc/metaf2xml/distinfo b/textproc/metaf2xml/distinfo
index 67b9df69d2ea..0a77fe024bf9 100644
--- a/textproc/metaf2xml/distinfo
+++ b/textproc/metaf2xml/distinfo
@@ -1,3 +1,3 @@
-MD5 (metaf2xml-1.9.tgz) = 4107da6e9fab53c081fbc47ff91c8f27
-SHA256 (metaf2xml-1.9.tgz) = b8e3f278d3929658e521a7bd28f98d4693b45c7cf3fcb883936bad9a4103c1ac
-SIZE (metaf2xml-1.9.tgz) = 89979
+MD5 (metaf2xml-1.15.tgz) = 2ff29b340a0685745cb2d609b494f0a3
+SHA256 (metaf2xml-1.15.tgz) = 889dbe381c345934f13f992fed83d1f96de6c5faf0ff3305bc50df0588710b6b
+SIZE (metaf2xml-1.15.tgz) = 115800
diff --git a/textproc/metaf2xml/files/patch-Makefile b/textproc/metaf2xml/files/patch-Makefile
new file mode 100644
index 000000000000..665feb334ef1
--- /dev/null
+++ b/textproc/metaf2xml/files/patch-Makefile
@@ -0,0 +1,39 @@
+--- Makefile.orig Fri Aug 25 00:01:18 2006
++++ Makefile Thu Oct 12 19:23:12 2006
+@@ -67,11 +67,11 @@
+
+ install-parser:
+ mkdir -p ${METAF2XML_BIN} ${METAF2XML_LIB}/metaf2xml
+- sed -e's@^\(use lib .\).*\(.; # METAF2XML_LIB\)$$@\1'${METAF2XML_LIB}'\2@' \
++ sed -e 's@^\(use lib .\).*\(.; # METAF2XML_LIB\)$$@\1'${METAF2XML_LIB}'\2@' \
+ metaf2xml.pl > ${METAF2XML_BIN}/metaf2xml.pl
+ chmod a+x ${METAF2XML_BIN}/metaf2xml.pl
+ for f in FGFS.pm XML.pm basic.pm parser.pm; do \
+- sed -e's@^\(use lib .\).*\(.; # METAF2XML_LIB\)$$@\1'${METAF2XML_LIB}'\2@' \
++ sed -e 's@^\(use lib .\).*\(.; # METAF2XML_LIB\)$$@\1'${METAF2XML_LIB}'\2@' \
+ metaf2xml/$$f > ${METAF2XML_LIB}/metaf2xml/$$f; \
+ done
+
+@@ -81,14 +81,14 @@
+
+ install-cgi:
+ mkdir -p ${CGI_BIN_DIR} ${HTDOCS_DIR}
+- sed -e's@^\(my .METAF2XML_BIN = .\).*\(.;\)$$@\1'"${METAF2XML_BIN}"'\2@' \
+- -e's@^\(my .METAF2XML_XSL = .\).*\(.;\)$$@\1'"${METAF2XML_XSL}"'\2@' \
+- -e's@^\(my .CGI_DATA_DIR = .\).*\(.;\)$$@\1'"${CGI_DATA_DIR}"'\2@' \
+- -e's@^\(my .CGI_LOG_FILE = .\).*\(.;\)$$@\1'"${CGI_LOG_FILE}"'\2@' \
+- -e's@^\(my .CGI_TMP_DIR = .\).*\(.;\)$$@\1'"${CGI_TMP_DIR}"'\2@' \
+- -e's@^\(my .CURL = .\).*\(.;\)$$@\1'"${CURL}"'\2@' \
+- -e's@^\(my .CURL_PROXY_OPTS = .\).*\(.;\)$$@\1'"${CURL_PROXY_OPTS}"'\2@' \
+- metaf.pl > ${CGI_BIN_DIR}/metaf.pl
++ sed -e 's@^\(my .METAF2XML_BIN = .\).*\(.;\)$$@\1'"${METAF2XML_BIN}"'\2@' metaf.pl | \
++ sed -e 's@^\(my .METAF2XML_XSL = .\).*\(.;\)$$@\1'"${METAF2XML_XSL}"'\2@' | \
++ sed -e 's@^\(my .CGI_DATA_DIR = .\).*\(.;\)$$@\1'"${CGI_DATA_DIR}"'\2@' | \
++ sed -e 's@^\(my .CGI_LOG_FILE = .\).*\(.;\)$$@\1'"${CGI_LOG_FILE}"'\2@' | \
++ sed -e 's@^\(my .CGI_TMP_DIR = .\).*\(.;\)$$@\1'"${CGI_TMP_DIR}"'\2@' | \
++ sed -e 's@^\(my .CURL = .\).*\(.;\)$$@\1'"${CURL}"'\2@' | \
++ sed -e 's@^\(my .CURL_PROXY_OPTS = .\).*\(.;\)$$@\1'"${CURL_PROXY_OPTS}"'\2@' \
++ > ${CGI_BIN_DIR}/metaf.pl
+ chmod a+x ${CGI_BIN_DIR}/metaf.pl
+ for f in metaf.xsl metaf-lang.xsl metaf-fullhtml.xsl; do \
+ [ -L ${HTDOCS_DIR}/$$f ] || ln -s ${METAF2XML_XSL}/$$f ${HTDOCS_DIR}; \