1
0
mirror of https://git.FreeBSD.org/ports.git synced 2024-12-16 03:24:07 +00:00

- Update to 1.15

- Reset maintainership to ports@FreeBSD.org

PR:		ports/104335
Submitted by:	Gea-Suan Lin <gslin_AT_gslin dot org>
This commit is contained in:
Cheng-Lung Sung 2006-10-31 09:03:12 +00:00
parent 37c6f45ce2
commit 55e63215d2
Notes: svn2git 2021-03-31 03:12:20 +00:00
svn path=/head/; revision=175756
3 changed files with 44 additions and 5 deletions

View File

@ -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 \

View File

@ -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

View File

@ -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}; \