Skip site navigation (1)Skip section navigation (2)
Date:      Fri, 30 Nov 2001 17:55:11 +0300
From:      skv@protey.ru
To:        FreeBSD-gnats-submit@freebsd.org
Subject:   ports/32399: Update port: p5-XML-Parser-encodings-1.01
Message-ID:  <E169p4J-000P0L-00@3wgraphics.com>

next in thread | raw e-mail | index | archive | help

>Number:         32399
>Category:       ports
>Synopsis:       Update port: p5-XML-Parser-encodings-1.01
>Confidential:   no
>Severity:       serious
>Priority:       medium
>Responsible:    freebsd-ports
>State:          open
>Quarter:        
>Keywords:       
>Date-Required:
>Class:          maintainer-update
>Submitter-Id:   current-users
>Arrival-Date:   Fri Nov 30 07:00:05 PST 2001
>Closed-Date:
>Last-Modified:
>Originator:     Sergey Skvortsov
>Release:        FreeBSD 4.4-STABLE i386
>Organization:
<Organization of PR author (multiple lines)>
>Environment:

	<Relevant environment information (multiple lines)>

>Description:

Update port: p5-XML-Parser-encodings-1.01

improved Makefile.

>How-To-Repeat:

	<Code/input/activities to reproduce the problem (multiple lines)>

>Fix:

diff -ur p5-XML-Parser-encodings-1.00/Makefile p5-XML-Parser-encodings/Makefile
--- p5-XML-Parser-encodings-1.00/Makefile	Fri Nov 30 17:45:32 2001
+++ p5-XML-Parser-encodings/Makefile	Fri Nov 30 17:52:04 2001
@@ -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
@@ -44,8 +47,6 @@
 	@${PREFIX}/bin/compile_encoding \
 		-o ${WRKDIR}/${ENC}.enc ${WRKDIR}/${ENC}.xml
 .endfor
-
-}.encENC}l:
 
 do-install:
 .for ENC in ${RUSSIANENC}
>Release-Note:
>Audit-Trail:
>Unformatted:

To Unsubscribe: send mail to majordomo@FreeBSD.org
with "unsubscribe freebsd-ports" in the body of the message




Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?E169p4J-000P0L-00>