aboutsummaryrefslogtreecommitdiffstats
path: root/russian
diff options
context:
space:
mode:
authorsteve <steve@FreeBSD.org>2001-12-03 02:24:08 +0800
committersteve <steve@FreeBSD.org>2001-12-03 02:24:08 +0800
commitf635c5a3422da86ed5b3a470b3b2ac44f125dae4 (patch)
tree89b5a09500cd07e514d3d845e5e210c0ecddb467 /russian
parent1681de390c8187870d5433b923a18f999aab56f5 (diff)
downloadfreebsd-ports-gnome-f635c5a3422da86ed5b3a470b3b2ac44f125dae4.tar.gz
freebsd-ports-gnome-f635c5a3422da86ed5b3a470b3b2ac44f125dae4.tar.zst
freebsd-ports-gnome-f635c5a3422da86ed5b3a470b3b2ac44f125dae4.zip
Update to version 1.01.
PR: 32399 Submitted by: maintainer
Diffstat (limited to 'russian')
-rw-r--r--russian/p5-XML-Parser-encodings/Makefile21
1 files changed, 11 insertions, 10 deletions
diff --git a/russian/p5-XML-Parser-encodings/Makefile b/russian/p5-XML-Parser-encodings/Makefile
index bc0e6beb9095..a2c55afaa9a8 100644
--- a/russian/p5-XML-Parser-encodings/Makefile
+++ b/russian/p5-XML-Parser-encodings/Makefile
@@ -6,32 +6,35 @@
#
PORTNAME= XML-Parser-encodings
-PORTVERSION= 1.00
+PORTVERSION= 1.01
CATEGORIES= russian textproc perl5
PKGNAMEPREFIX= p5-
DISTFILES=
MAINTAINER= skv@protey.ru
-BUILD_DEPENDS= ${LOCALBASE}/lib/perl5/site_perl/${PERL_VER}/${PERL_ARCH}/XML/Parser.pm:${PORTSDIR}/textproc/p5-XML-Parser \
+RUN_DEPENDS= ${LOCALBASE}/lib/perl5/site_perl/${PERL_VER}/${PERL_ARCH}/XML/Parser.pm:${PORTSDIR}/textproc/p5-XML-Parser
+BUILD_DEPENDS= ${RUN_DEPENDS} \
${LOCALBASE}/lib/perl5/site_perl/${PERL_VER}/XML/Encoding.pm:${PORTSDIR}/textproc/p5-XML-Encoding \
${NONEXISTENT}:${PORTSDIR}/converters/iconv:extract \
${NONEXISTENT}:${PORTSDIR}/converters/iconv-extra:extract
-RUN_DEPENDS= ${LOCALBASE}/lib/perl5/site_perl/${PERL_VER}/${PERL_ARCH}/XML/Parser.pm:${PORTSDIR}/textproc/p5-XML-Parser
NO_WRKSUBDIR= YES
-ICONVCCSDIR= ${PORTSDIR}/converters/iconv/work/iconv-2.0/ccs
-ICONVEXTRACCSDIR= \
- ${PORTSDIR}/converters/iconv-extra/work/iconv-extra-2.0/ccs
RUSSIANENC= windows-1251 koi8-r cp1251 cp866 mac-cyrillic
+post-extract:
+.for ICONVPORT in iconv iconv-extra
+ ${LN} -sfh `find ${PORTSDIR}/converters/${ICONVPORT} -type d \
+ -name "ccs"` ${WRKSRC}/${ICONVPORT}
+.endfor
+
do-configure:
.for ENC in koi8-r cp866
- @${CP} ${ICONVCCSDIR}/${ENC}.txt ${WRKDIR}
+ @${CP} ${WRKSRC}/iconv/${ENC}.txt ${WRKDIR}
.endfor
.for ENC in mac-cyrillic windows-1251
- @${CP} ${ICONVEXTRACCSDIR}/${ENC}.txt ${WRKDIR}
+ @${CP} ${WRKSRC}/iconv-extra/${ENC}.txt ${WRKDIR}
.endfor
@${CP} ${WRKDIR}/windows-1251.txt ${WRKDIR}/cp1251.txt
@${PERL} -pi -e 's/\r/\n/gm;' ${WRKDIR}/mac-cyrillic.txt
@@ -45,8 +48,6 @@ do-build:
-o ${WRKDIR}/${ENC}.enc ${WRKDIR}/${ENC}.xml
.endfor
-}.encENC}l:
-
do-install:
.for ENC in ${RUSSIANENC}
${INSTALL_DATA} ${WRKDIR}/${ENC}.enc \