aboutsummaryrefslogtreecommitdiffstats
path: root/textproc/p5-XML-Parser
diff options
context:
space:
mode:
authorkuriyama <kuriyama@FreeBSD.org>2004-08-19 09:34:56 +0800
committerkuriyama <kuriyama@FreeBSD.org>2004-08-19 09:34:56 +0800
commite145af03d15e02febfe1e05f815f8a87fbeef3d3 (patch)
tree5bcca2c98c9ae95b978c79116e090cff854eb385 /textproc/p5-XML-Parser
parent3d451c6928d103f3ef1abb59401aef4e21a80ccf (diff)
downloadfreebsd-ports-gnome-e145af03d15e02febfe1e05f815f8a87fbeef3d3.tar.gz
freebsd-ports-gnome-e145af03d15e02febfe1e05f815f8a87fbeef3d3.tar.zst
freebsd-ports-gnome-e145af03d15e02febfe1e05f815f8a87fbeef3d3.zip
- Fix plist when $XMLPARSER_SJIS is supplied.
- Use ${PERL}. Reported by: nork
Diffstat (limited to 'textproc/p5-XML-Parser')
-rw-r--r--textproc/p5-XML-Parser/Makefile2
-rw-r--r--textproc/p5-XML-Parser/pkg-plist4
2 files changed, 3 insertions, 3 deletions
diff --git a/textproc/p5-XML-Parser/Makefile b/textproc/p5-XML-Parser/Makefile
index c6262f52e23d..6347910f518a 100644
--- a/textproc/p5-XML-Parser/Makefile
+++ b/textproc/p5-XML-Parser/Makefile
@@ -31,7 +31,7 @@ PLIST_SUB= EUCJP=${EUCJP} SJIS=${SJIS}
# XMLPARSER_EUCJP= x-euc-jp-(jisx0221|unicode)
# XMLPARSER_SJIS= x-sjis-(cp932|jdk117|jisx0221|unicode)
-CONV_ENC= perl -e '$$e=shift @ARGV; undef $$/; $$_=<>; substr($$_,4,40)=pack("a40","$$e"); print'
+CONV_ENC= ${PERL} -e '$$e=shift @ARGV; undef $$/; $$_=<>; substr($$_,4,40)=pack("a40","$$e"); print'
.if !defined(XMLPARSER_EUCJP)
EUCJP= "@comment "
.endif
diff --git a/textproc/p5-XML-Parser/pkg-plist b/textproc/p5-XML-Parser/pkg-plist
index 5a99617c3806..93a72aad8e45 100644
--- a/textproc/p5-XML-Parser/pkg-plist
+++ b/textproc/p5-XML-Parser/pkg-plist
@@ -3,7 +3,7 @@
%%SITE_PERL%%/%%PERL_ARCH%%/auto/XML/Parser/.packlist
%%SITE_PERL%%/%%PERL_ARCH%%/XML/Parser/Encodings/Japanese_Encodings.msg
%%SITE_PERL%%/%%PERL_ARCH%%/XML/Parser/Encodings/README
-%%SJIS%%%%SITE_PERL%%/%%PERL_ARCH%%/XML/Parser/Encodings/Shift_JIS.enc
+%%SJIS%%%%SITE_PERL%%/%%PERL_ARCH%%/XML/Parser/Encodings/shift_jis.enc
%%SITE_PERL%%/%%PERL_ARCH%%/XML/Parser/Encodings/big5.enc
%%SITE_PERL%%/%%PERL_ARCH%%/XML/Parser/Encodings/euc-kr.enc
%%EUCJP%%%%SITE_PERL%%/%%PERL_ARCH%%/XML/Parser/Encodings/euc-jp.enc
@@ -32,7 +32,7 @@
%%SITE_PERL%%/%%PERL_ARCH%%/XML/Parser/LWPExternEnt.pl
@dirrm %%SITE_PERL%%/%%PERL_ARCH%%/auto/XML/Parser/Expat
@dirrm %%SITE_PERL%%/%%PERL_ARCH%%/auto/XML/Parser
-@dirrm %%SITE_PERL%%/%%PERL_ARCH%%/auto/XML
+@unexec rmdir %D/%%SITE_PERL%%/%%PERL_ARCH%%/auto/XML 2>/dev/null || true
@dirrm %%SITE_PERL%%/%%PERL_ARCH%%/XML/Parser/Encodings
@dirrm %%SITE_PERL%%/%%PERL_ARCH%%/XML/Parser/Style
@dirrm %%SITE_PERL%%/%%PERL_ARCH%%/XML/Parser