Date: Thu, 7 Jun 2001 11:17:23 +0100 (BST) From: dom@happygiraffe.net To: FreeBSD-gnats-submit@freebsd.org Subject: ports/27927: new port: textproc/p5-XML-LibXSLT Message-ID: <20010607101723.C347E3FC1@cathbad.happygiraffe.net>
next in thread | raw e-mail | index | archive | help
>Number: 27927 >Category: ports >Synopsis: new port: textproc/p5-XML-LibXSLT >Confidential: no >Severity: non-critical >Priority: low >Responsible: freebsd-ports >State: open >Quarter: >Keywords: >Date-Required: >Class: change-request >Submitter-Id: current-users >Arrival-Date: Thu Jun 07 03:20:00 PDT 2001 >Closed-Date: >Last-Modified: >Originator: Dominic Mitchell >Release: FreeBSD 4.3-STABLE i386 >Organization: >Environment: System: FreeBSD cathbad.happygiraffe.net 4.3-STABLE FreeBSD 4.3-STABLE #1: Wed Jun 6 12:17:19 BST 2001 root@cathbad.happygiraffe.net:/usr/obj/usr/src/sys/CATHBAD i386 >Description: This is a perl interface to the GNOME XSLT library. It is used by the p5-AxKit port, which I am about to submit. :-) >How-To-Repeat: n/a >Fix: Here's the shar: # 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-XML-LibXSLT # p5-XML-LibXSLT/Makefile # p5-XML-LibXSLT/files # p5-XML-LibXSLT/files/patch-Makefile.PL # p5-XML-LibXSLT/distinfo # p5-XML-LibXSLT/pkg-comment # p5-XML-LibXSLT/pkg-descr # p5-XML-LibXSLT/pkg-plist # echo c - p5-XML-LibXSLT mkdir -p p5-XML-LibXSLT > /dev/null 2>&1 echo x - p5-XML-LibXSLT/Makefile sed 's/^X//' >p5-XML-LibXSLT/Makefile << 'END-of-p5-XML-LibXSLT/Makefile' X# New ports collection makefile for: XML::LibXSLT X# Date created: 6 June 2001 X# Whom: Dom Mitchell <dom@happygiraffe.net> X# X# $FreeBSD$ X# X XPORTNAME= XML-LibXSLT XPORTVERSION= 1.05 XCATEGORIES= textproc perl5 XMASTER_SITES= ${MASTER_SITE_PERL_CPAN} XMASTER_SITE_SUBDIR= XML XPKGNAMEPREFIX= p5- X XMAINTAINER= dom@happygiraffe.net X XLIB_DEPENDS= xml2.5:${PORTSDIR}/textproc/libxml2 \ X xslt.0:${PORTSDIR}/textproc/libxslt X XPERL_CONFIGURE= yes XCONFIGURE_ARGS= INC='-I${LOCALBASE}/include -I${LOCALBASE}/include/libxml2' X XMAN3= XML::LibXSLT.3 X XMANPREFIX= ${PREFIX}/lib/perl5/${PERL_VERSION} X X.include <bsd.port.mk> END-of-p5-XML-LibXSLT/Makefile echo c - p5-XML-LibXSLT/files mkdir -p p5-XML-LibXSLT/files > /dev/null 2>&1 echo x - p5-XML-LibXSLT/files/patch-Makefile.PL sed 's/^X//' >p5-XML-LibXSLT/files/patch-Makefile.PL << 'END-of-p5-XML-LibXSLT/files/patch-Makefile.PL' X--- Makefile.PL.orig Wed Jun 6 23:10:37 2001 X+++ Makefile.PL Wed Jun 6 23:11:55 2001 X@@ -102,8 +102,9 @@ X } X open(OLDOUT, ">&STDOUT"); X open(OLDERR, ">&STDERR"); X- open(STDOUT, ">" . File::Spec->devnull); X- open(STDERR, ">" . File::Spec->devnull); X+ my $devnull = eval { File::Spec->devnull} || "/dev/null"; X+ open(STDOUT, ">$devnull"); X+ open(STDERR, ">$devnull"); X my $retval = system($command); X open(STDOUT, ">&OLDOUT"); X open(STDERR, ">&OLDERR"); X@@ -126,8 +127,9 @@ X } X open(OLDOUT, ">&STDOUT"); X open(OLDERR, ">&STDERR"); X- open(STDOUT, ">" . File::Spec->devnull); X- open(STDERR, ">" . File::Spec->devnull); X+ my $devnull = eval { File::Spec->devnull} || "/dev/null"; X+ open(STDOUT, ">$devnull"); X+ open(STDERR, ">$devnull"); X my $results = `$command`; X my $retval = $?; X open(STDOUT, ">&OLDOUT"); END-of-p5-XML-LibXSLT/files/patch-Makefile.PL echo x - p5-XML-LibXSLT/distinfo sed 's/^X//' >p5-XML-LibXSLT/distinfo << 'END-of-p5-XML-LibXSLT/distinfo' XMD5 (XML-LibXSLT-1.05.tar.gz) = f43083ab4aef8b7785c4b586e77f9e4c END-of-p5-XML-LibXSLT/distinfo echo x - p5-XML-LibXSLT/pkg-comment sed 's/^X//' >p5-XML-LibXSLT/pkg-comment << 'END-of-p5-XML-LibXSLT/pkg-comment' XA Perl interface to the GNOME XSLT library. END-of-p5-XML-LibXSLT/pkg-comment echo x - p5-XML-LibXSLT/pkg-descr sed 's/^X//' >p5-XML-LibXSLT/pkg-descr << 'END-of-p5-XML-LibXSLT/pkg-descr' XThis module is a fast XSLT library, based on the Gnome libxslt engine Xthat you can find at http://www.xmlsoft.org/XSLT/ X XPerformance is currently about twice that of XML::Sablotron (based on XXSLTMark tests converted to Perl). X XThe libxslt processor is also highly standards compliant, with Xpractically Xall of XSLT 1.0 being supported in version 0.9 of libxslt. X XThis is free software, you may use it and distribute it under the same Xterms as Perl itself. Copyright 2001 AxKit.com Ltd, All rights reserved. END-of-p5-XML-LibXSLT/pkg-descr echo x - p5-XML-LibXSLT/pkg-plist sed 's/^X//' >p5-XML-LibXSLT/pkg-plist << 'END-of-p5-XML-LibXSLT/pkg-plist' Xlib/perl5/site_perl/%%PERL_VER%%/%%PERL_ARCH%%/XML/LibXSLT.pm Xlib/perl5/site_perl/%%PERL_VER%%/%%PERL_ARCH%%/XML/benchmark.pl Xlib/perl5/site_perl/%%PERL_VER%%/%%PERL_ARCH%%/auto/XML/LibXSLT/.packlist Xlib/perl5/site_perl/%%PERL_VER%%/%%PERL_ARCH%%/auto/XML/LibXSLT/LibXSLT.bs Xlib/perl5/site_perl/%%PERL_VER%%/%%PERL_ARCH%%/auto/XML/LibXSLT/LibXSLT.so X@dirrm lib/perl5/site_perl/%%PERL_VER%%/%%PERL_ARCH%%/auto/XML/LibXSLT END-of-p5-XML-LibXSLT/pkg-plist exit >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?20010607101723.C347E3FC1>