From owner-freebsd-ports Wed May 30 4:30:12 2001 Delivered-To: freebsd-ports@hub.freebsd.org Received: from freefall.freebsd.org (freefall.freebsd.org [216.136.204.21]) by hub.freebsd.org (Postfix) with ESMTP id AFE2137B424 for ; Wed, 30 May 2001 04:30:02 -0700 (PDT) (envelope-from gnats@FreeBSD.org) Received: (from gnats@localhost) by freefall.freebsd.org (8.11.1/8.11.1) id f4UBU2850830; Wed, 30 May 2001 04:30:02 -0700 (PDT) (envelope-from gnats) Received: from 3wgraphics.com (ppp048.comintern.ru [213.148.2.48]) by hub.freebsd.org (Postfix) with ESMTP id 9E5CB37B42C for ; Wed, 30 May 2001 04:29:49 -0700 (PDT) (envelope-from root@3wgraphics.com) Received: from root by 3wgraphics.com with local (Exim 3.22 #1) id 1554AJ-000AKn-00 for FreeBSD-gnats-submit@freebsd.org; Wed, 30 May 2001 15:29:27 +0400 Message-Id: Date: Wed, 30 May 2001 15:29:27 +0400 From: skv@protey.ru Reply-To: skv@protey.ru To: FreeBSD-gnats-submit@freebsd.org X-Send-Pr-Version: 3.2 Subject: ports/27769: New port: p5-XML-LibXSLT - Interface to Gnome libxslt library Sender: owner-freebsd-ports@FreeBSD.ORG Precedence: bulk List-ID: List-Archive: (Web Archive) List-Help: (List Instructions) List-Subscribe: List-Unsubscribe: X-Loop: FreeBSD.org >Number: 27769 >Category: ports >Synopsis: New port: p5-XML-LibXSLT - Interface to Gnome libxslt library >Confidential: no >Severity: serious >Priority: medium >Responsible: freebsd-ports >State: open >Quarter: >Keywords: >Date-Required: >Class: change-request >Submitter-Id: current-users >Arrival-Date: Wed May 30 04:30:01 PDT 2001 >Closed-Date: >Last-Modified: >Originator: Sergey Skvortsov >Release: FreeBSD 4.3-STABLE i386 >Organization: >Environment: >Description: New port: p5-XML-LibXSLT - Interface to Gnome libxslt library >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-XML-LibXSLT # p5-XML-LibXSLT/Makefile # p5-XML-LibXSLT/pkg-descr # p5-XML-LibXSLT/distinfo # p5-XML-LibXSLT/pkg-comment # p5-XML-LibXSLT/files # p5-XML-LibXSLT/files/patch-Makefile.PL # 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: 30 May 2001 X# Whom: Sergey Skvortsov X# X# $FreeBSD$ X# X XPORTNAME= XML-LibXSLT XPORTVERSION= 1.02 XCATEGORIES= textproc perl5 XMASTER_SITES= ${MASTER_SITE_PERL_CPAN} XMASTER_SITE_SUBDIR= XML XPKGNAMEPREFIX= p5- X XMAINTAINER= skv@protey.ru X XLIB_DEPENDS= xslt.0:${PORTSDIR}/textproc/libxslt XBUILD_DEPENDS= ${LOCALBASE}/lib/perl5/site_perl/${PERL_VER}/${PERL_ARCH}/XML/LibXML.pm:${PORTSDIR}/textproc/p5-XML-LibXML XRUN_DEPENDS= ${BUILD_DEPENDS} X XPERL_CONFIGURE= yes X XMAN3= XML::LibXSLT.3 XMANPREFIX= ${PREFIX}/lib/perl5/${PERL_VERSION} X X.include END-of-p5-XML-LibXSLT/Makefile 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. END-of-p5-XML-LibXSLT/pkg-descr echo x - p5-XML-LibXSLT/distinfo sed 's/^X//' >p5-XML-LibXSLT/distinfo << 'END-of-p5-XML-LibXSLT/distinfo' XMD5 (XML-LibXSLT-1.02.tar.gz) = 78a947bbb0d7bbdead87582e2e373e98 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' XInterface to Gnome libxslt library END-of-p5-XML-LibXSLT/pkg-comment 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 May 30 15:05:14 2001 X--- Makefile.PL Wed May 30 15:06:37 2001 X*************** X*** 3,9 **** X use ExtUtils::MakeMaker; X use Config; X use Symbol; X! use File::Spec; X X $|=0; X X--- 3,9 ---- X use ExtUtils::MakeMaker; X use Config; X use Symbol; X! #use File::Spec; X X $|=0; X X*************** X*** 102,109 **** X } X open(OLDOUT, ">&STDOUT"); X open(OLDERR, ">&STDERR"); X! open(STDOUT, ">" . File::Spec->devnull); X! open(STDERR, ">" . File::Spec->devnull); X my $retval = system($command); X open(STDOUT, ">&OLDOUT"); X open(STDERR, ">&OLDERR"); X--- 102,109 ---- X } X open(OLDOUT, ">&STDOUT"); X open(OLDERR, ">&STDERR"); X! open(STDOUT, ">/dev/null"); X! open(STDERR, ">/dev/null"); X my $retval = system($command); X open(STDOUT, ">&OLDOUT"); X open(STDERR, ">&OLDERR"); X*************** X*** 126,133 **** X } X open(OLDOUT, ">&STDOUT"); X open(OLDERR, ">&STDERR"); X! open(STDOUT, ">" . File::Spec->devnull); X! open(STDERR, ">" . File::Spec->devnull); X my $results = `$command`; X my $retval = $?; X open(STDOUT, ">&OLDOUT"); X--- 126,133 ---- X } X open(OLDOUT, ">&STDOUT"); X open(OLDERR, ">&STDERR"); X! open(STDOUT, ">/dev/null"); X! open(STDERR, ">/dev/null"); 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/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%%/auto/XML/LibXSLT/.packlist 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/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 X@unexec rmdir %D/lib/perl5/site_perl/%%PERL_VER%%/XML 2>/dev/null || true X@unexec rmdir %D/lib/perl5/site_perl/%%PERL_VER%%/%%PERL_ARCH%%/auto/XML 2>/dev/null || true 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