1
0
mirror of https://git.FreeBSD.org/ports.git synced 2024-12-15 03:14:23 +00:00

- Update to 1.19

This commit is contained in:
Cheng-Lung Sung 2006-11-03 16:37:37 +00:00
parent 17054745bf
commit 7674ccc380
Notes: svn2git 2021-03-31 03:12:20 +00:00
svn path=/head/; revision=176285
3 changed files with 4 additions and 43 deletions
textproc/metaf2xml

View File

@ -6,7 +6,7 @@
#
PORTNAME= metaf2xml
PORTVERSION= 1.18
PORTVERSION= 1.19
CATEGORIES= textproc
MASTER_SITES= ${MASTER_SITE_SOURCEFORGE}
MASTER_SITE_SUBDIR= ${PORTNAME}

View File

@ -1,3 +1,3 @@
MD5 (metaf2xml-1.18.tgz) = c9554090f8a1f6a7a55ddf4f84c79372
SHA256 (metaf2xml-1.18.tgz) = 8101bc21767bab8c7c56e5280e462cda85b053aab99ca312593f6e588232bfa0
SIZE (metaf2xml-1.18.tgz) = 128226
MD5 (metaf2xml-1.19.tgz) = 513958f28f0900b14f6e01d46b51efda
SHA256 (metaf2xml-1.19.tgz) = ef92614365d564e690b159a304f42e5965dc77185c14878d5bd65651b262ed05
SIZE (metaf2xml-1.19.tgz) = 129941

View File

@ -1,39 +0,0 @@
--- Makefile.orig Fri Oct 20 14:03:36 2006
+++ Makefile Tue Oct 31 17:08:57 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 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 -o -f ${HTDOCS_DIR}/$$f ] || ln -s ${METAF2XML_XSL}/$$f ${HTDOCS_DIR}; \