ports/102023: [NEW PORT] converters/p5-WAP-wbxml: Binarization of XML file
Timur I. Bakeyev
timur at com.bat.ru
Mon Aug 14 15:50:15 UTC 2006
>Number: 102023
>Category: ports
>Synopsis: [NEW PORT] converters/p5-WAP-wbxml: Binarization of XML file
>Confidential: no
>Severity: non-critical
>Priority: low
>Responsible: freebsd-ports-bugs
>State: open
>Quarter:
>Keywords:
>Date-Required:
>Class: update
>Submitter-Id: current-users
>Arrival-Date: Mon Aug 14 15:50:13 GMT 2006
>Closed-Date:
>Last-Modified:
>Originator: Timur I. Bakeyev
>Release: FreeBSD 5.4-RELEASE
>Organization:
>Environment:
FreeBSD devil.blinck.com 5.4-RELEASE FreeBSD 5.4-RELEASE #0: Tue Oct 18 10:05:03 CEST 2005 alexis at devil.blinck.com:/usr/src/sys/i386/compile/DEVIL i386
>Description:
New Perl port.
>How-To-Repeat:
>Fix:
# This is a shell archive. Save it in a file, remove anything before
# this line, and then unpack it by entering "sh file". Note, it may
# create directories; files and directories will be owned by you and
# have default permissions.
#
# This archive contains:
#
# p5-WAP-wbxml
# p5-WAP-wbxml/Makefile
# p5-WAP-wbxml/distinfo
# p5-WAP-wbxml/pkg-descr
# p5-WAP-wbxml/pkg-plist
# p5-WAP-wbxml/files
# p5-WAP-wbxml/files/patch-aa
#
echo c - p5-WAP-wbxml
mkdir -p p5-WAP-wbxml > /dev/null 2>&1
echo x - p5-WAP-wbxml/Makefile
sed 's/^X//' >p5-WAP-wbxml/Makefile << 'END-of-p5-WAP-wbxml/Makefile'
X# New ports collection makefile for: converters/p5-WAP-wbxml
X# Date created: 1 Aug 2006
X# Whom: Timur I. Bakeyev <bat at cpan.org>
X#
X# $FreeBSD$
X#
X
XPORTNAME= WAP-wbxml
XPORTVERSION= 1.10
XCATEGORIES= converters perl5
XMASTER_SITES= ${MASTER_SITE_PERL_CPAN}
XMASTER_SITE_SUBDIR= WAP/PERRAD
XPKGNAMEPREFIX= p5-
X
XMAINTAINER= bat at cpan.org
XCOMMENT= Binarization of XML file
X
XBUILD_DEPENDS= ${SITE_PERL}/XML/DOM.pm:${PORTSDIR}/textproc/p5-XML-DOM \
X ${SITE_PERL}/I18N/Charset.pm:${PORTSDIR}/misc/p5-I18N-Charset \
X ${SITE_PERL}/${PERL_ARCH}/Data/Dumper.pm:${PORTSDIR}/devel/p5-Data-Dumper
XRUN_DEPENDS= ${BUILD_DEPENDS}
X
XPERL_CONFIGURE= yes
X
XMAN1= wbxmlc.pl.1
XMAN3= WAP::wbxml.3
X
Xpost-patch:
X.for file in syncml.wbrules.xml wap.wbrules.xml wbxmlc.pl wbxml.pm wv.wbrules.xml
X @${PERL} -pi -e 's#\r$$##g' ${WRKSRC}/${file}
X.endfor
X
X.include <bsd.port.mk>
END-of-p5-WAP-wbxml/Makefile
echo x - p5-WAP-wbxml/distinfo
sed 's/^X//' >p5-WAP-wbxml/distinfo << 'END-of-p5-WAP-wbxml/distinfo'
XMD5 (WAP-wbxml-1.10.tar.gz) = 4951247b08a4781d7d5e510cbc5fade8
XSIZE (WAP-wbxml-1.10.tar.gz) = 29153
END-of-p5-WAP-wbxml/distinfo
echo x - p5-WAP-wbxml/pkg-descr
sed 's/^X//' >p5-WAP-wbxml/pkg-descr << 'END-of-p5-WAP-wbxml/pkg-descr'
XWAP::wbxml module implements binarisation of XML file according the
Xspecification:
X
X * WAP - Wireless Application Protocol / Binary XML Content Format
X Specification / Version 1.3 WBXML (15th May 2000 Approved)
X
XThe binary format was designed to preserve the element structure of XML.
X
XWWW: http://search.cpan.org/dist/WAP-wbxml/
END-of-p5-WAP-wbxml/pkg-descr
echo x - p5-WAP-wbxml/pkg-plist
sed 's/^X//' >p5-WAP-wbxml/pkg-plist << 'END-of-p5-WAP-wbxml/pkg-plist'
Xbin/wbxmlc.pl
X%%SITE_PERL%%/WAP/wbxml.pm
X%%SITE_PERL%%/WAP/wap.wbrules.xml
X%%SITE_PERL%%/WAP/syncml.wbrules.xml
X%%SITE_PERL%%/WAP/wv.wbrules.xml
X%%SITE_PERL%%/%%PERL_ARCH%%/auto/WAP/wbxml/.packlist
X at dirrm %%SITE_PERL%%/%%PERL_ARCH%%/auto/WAP/wbxml
X at dirrmtry %%SITE_PERL%%/%%PERL_ARCH%%/auto/WAP
X at dirrmtry %%SITE_PERL%%/WAP
END-of-p5-WAP-wbxml/pkg-plist
echo c - p5-WAP-wbxml/files
mkdir -p p5-WAP-wbxml/files > /dev/null 2>&1
echo x - p5-WAP-wbxml/files/patch-aa
sed 's/^X//' >p5-WAP-wbxml/files/patch-aa << 'END-of-p5-WAP-wbxml/files/patch-aa'
X--- wbxml.pm.orig Thu Aug 10 14:50:54 2006
X+++ wbxml.pm Thu Aug 10 14:51:56 2006
X@@ -9,7 +9,9 @@
X
X use vars qw($VERSION);
X $VERSION = '1.10';
X-
X+## Create global package version
X+$WAP::wbxml::VERSION = $VERSION;
X+
X =head1 NAME
X
X WAP::wbxml - Binarization of XML file
END-of-p5-WAP-wbxml/files/patch-aa
exit
>Release-Note:
>Audit-Trail:
>Unformatted:
More information about the freebsd-ports-bugs
mailing list