ports/95296: [NEW PORT]p5-xerces-p perl wrapper for xerces-c2 xml library
Ken Menzel
kenm at icarz.com
Tue Apr 4 04:00:32 UTC 2006
>Number: 95296
>Category: ports
>Synopsis: [NEW PORT]p5-xerces-p perl wrapper for xerces-c2 xml library
>Confidential: no
>Severity: non-critical
>Priority: low
>Responsible: freebsd-ports-bugs
>State: open
>Quarter:
>Keywords:
>Date-Required:
>Class: change-request
>Submitter-Id: current-users
>Arrival-Date: Tue Apr 04 04:00:30 GMT 2006
>Closed-Date:
>Last-Modified:
>Originator: Ken Menzel <kenm at icarz.com>
>Release: FreeBSD 4.11-RELEASE-p16 i386
>Organization:
www.icarz.com and www.kodem.com
>Environment:
System: FreeBSD kirk.icarz.com 4.11-RELEASE-p16 FreeBSD 4.11-RELEASE-p16 #1: Tue Mar 28 01:37:57 EST 2006 sysadm at kirk.icarz.com:/usr/obj/usr/src/sys/ICARZ i386
>Description:
P5-xerces-p NEW PORT
XML::Xerces is the Perl API to the Apache project's Xerces XML
parser. It is implemented using the Xerces C++ API, and it provides
access to most of the C++ API from Perl.
>How-To-Repeat:
P5-xerces-p perl wrapper for xerces-c2 xml library
>Fix:
also posted on my personal web site http://www.kodem.com/ports/index.html
Thanks to Bjoern A. Zeeb for his guidance.
--- p5-xerces-p.shar begins here ---
# 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-xerces-p
# ./p5-xerces-p/Makefile
# ./p5-xerces-p/distinfo
# ./p5-xerces-p/pkg-descr
# ./p5-xerces-p/pkg-plist
#
echo c - ./p5-xerces-p
mkdir -p ./p5-xerces-p > /dev/null 2>&1
echo x - ./p5-xerces-p/Makefile
sed 's/^X//' >./p5-xerces-p/Makefile << 'END-of-./p5-xerces-p/Makefile'
X# New ports collection makefile for: p5-xerces-c2
X# Date created: 29 March 2006
X# Whom: Ken Menzel <kenm at icarz.com>
X#
X# $FreeBSD: ports/textproc/p5-libxml/Makefile,v 1.0 2006/03/29 09:27:22 Ken Menzel $
X#
X
XPORTNAME= xerces-p
XPORTVERSION= 2.7.0
XCATEGORIES= textproc perl5
XMASTER_SITES= ${MASTER_SITE_PERL_CPAN}
XMASTER_SITE_SUBDIR= XML
XPKGNAMEPREFIX= p5-
XDISTNAME= XML-Xerces-${PORTVERSION}-0
X
XMAINTAINER= perl at FreeBSD.org
XCOMMENT= Xerces perl port
X
XLIB_DEPENDS= xerces-c.27:${PORTSDIR}/textproc/xerces-c2
X
XUSE_GMAKE= YES
XPERL_CONFIGURE= YES
XCONFIGURE_ENV+= XERCES_LIB="${LOCALBASE}/lib" \
X XERCES_INCLUDE="${LOCALBASE}/include" \
X
X.include <bsd.port.pre.mk>
X
X.if ${PERL_LEVEL} < 500601
XIGNORE= This port requires perl 5.6.1 or later. Install lang/perl5 then try again
X.endif
X
X.include <bsd.port.post.mk>
END-of-./p5-xerces-p/Makefile
echo x - ./p5-xerces-p/distinfo
sed 's/^X//' >./p5-xerces-p/distinfo << 'END-of-./p5-xerces-p/distinfo'
XMD5 (XML-Xerces-2.7.0-0.tar.gz) = e5bd871026bee1b291c5634e6e4daf35
XSHA256 (XML-Xerces-2.7.0-0.tar.gz) = ec9ad5482beb7f34feb2458d1c65807339cb2c1b01895c174e4fb3cb9ca87be6
XSIZE (XML-Xerces-2.7.0-0.tar.gz) = 291199
END-of-./p5-xerces-p/distinfo
echo x - ./p5-xerces-p/pkg-descr
sed 's/^X//' >./p5-xerces-p/pkg-descr << 'END-of-./p5-xerces-p/pkg-descr'
XFrom the xerces.apache.org web site:
X
X XML::Xerces is the Perl API to the Apache project's Xerces XML
X parser. It is implemented using the Xerces C++ API, and it provides
X access to most of the C++ API from Perl.
X
X-- Ken Menzel <kenm at icarz.com>
END-of-./p5-xerces-p/pkg-descr
echo x - ./p5-xerces-p/pkg-plist
sed 's/^X//' >./p5-xerces-p/pkg-plist << 'END-of-./p5-xerces-p/pkg-plist'
X%%SITE_PERL%%/%%PERL_ARCH%%/XML/Xerces.pm
X%%SITE_PERL%%/%%PERL_ARCH%%/auto/Handler/Handler.a
X%%SITE_PERL%%/%%PERL_ARCH%%/auto/Handler/extralibs.ld
X%%SITE_PERL%%/%%PERL_ARCH%%/auto/XML/Xerces/Xerces.bs
X%%SITE_PERL%%/%%PERL_ARCH%%/auto/XML/Xerces/Xerces.so
X%%SITE_PERL%%/%%PERL_ARCH%%/auto/XML/Xerces/.packlist
X at dirrm %%SITE_PERL%%/%%PERL_ARCH%%/auto/XML/Xerces
X at dirrmtry %%SITE_PERL%%/%%PERL_ARCH%%/auto/Handler
X at dirrmtry %%SITE_PERL%%/%%PERL_ARCH%%/auto/XML
X at dirrmtry %%SITE_PERL%%/%%PERL_ARCH%%/auto
X at dirrmtry %%SITE_PERL%%/%%PERL_ARCH%%/XML
END-of-./p5-xerces-p/pkg-plist
exit
--- p5-xerces-p.shar ends here ---
>Release-Note:
>Audit-Trail:
>Unformatted:
More information about the freebsd-ports-bugs
mailing list