Skip site navigation (1)Skip section navigation (2)
Date:      Tue, 20 Nov 2001 22:35:10 +0300
From:      skv@protey.ru
To:        FreeBSD-gnats-submit@freebsd.org
Subject:   ports/32143: New port: p5-XML-LibRSVG-0.01
Message-ID:  <E166Gfm-0008CN-00@3wgraphics.com>

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

>Number:         32143
>Category:       ports
>Synopsis:       New port: p5-XML-LibRSVG-0.01
>Confidential:   no
>Severity:       serious
>Priority:       medium
>Responsible:    freebsd-ports
>State:          open
>Quarter:        
>Keywords:       
>Date-Required:
>Class:          change-request
>Submitter-Id:   current-users
>Arrival-Date:   Tue Nov 20 11:40:03 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:

New port: p5-XML-LibRSVG-0.01

Interface to gnome's librsvg

>How-To-Repeat:

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

>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-LibRSVG
#	p5-XML-LibRSVG/pkg-comment
#	p5-XML-LibRSVG/Makefile
#	p5-XML-LibRSVG/distinfo
#	p5-XML-LibRSVG/pkg-descr
#	p5-XML-LibRSVG/pkg-plist
#	p5-XML-LibRSVG/files
#	p5-XML-LibRSVG/files/patch-Makefile.PL
#
echo c - p5-XML-LibRSVG
mkdir -p p5-XML-LibRSVG > /dev/null 2>&1
echo x - p5-XML-LibRSVG/pkg-comment
sed 's/^X//' >p5-XML-LibRSVG/pkg-comment << 'END-of-p5-XML-LibRSVG/pkg-comment'
XInterface to gnome's librsvg
END-of-p5-XML-LibRSVG/pkg-comment
echo x - p5-XML-LibRSVG/Makefile
sed 's/^X//' >p5-XML-LibRSVG/Makefile << 'END-of-p5-XML-LibRSVG/Makefile'
X# New ports collection makefile for:	XML::LibRSVG
X# Date created:		20 Nov 2001
X# Whom:			Sergey Skvortsov <skv@protey.ru>
X#
X# $FreeBSD$
X#
X
XPORTNAME=	XML-LibRSVG
XPORTVERSION=	0.01
XCATEGORIES=	textproc graphics perl5
XMASTER_SITES=	${MASTER_SITE_PERL_CPAN}
XMASTER_SITE_SUBDIR=	XML
XPKGNAMEPREFIX=	p5-
X
XMAINTAINER=	skv@protey.ru
X
XLIB_DEPENDS=	rsvg.1:${PORTSDIR}/textproc/librsvg \
X		freetype.7:${PORTSDIR}/print/freetype2 \
X		gdk_pixbuf.2:${PORTSDIR}/graphics/gdk-pixbuf \
X		gtk12.2:${PORTSDIR}/x11-toolkits/gtk12 \
X		xml2.5:${PORTSDIR}/textproc/libxml2 \
X		png:${PORTSDIR}/graphics/png
X
XPERL_CONFIGURE=	yes
XCONFIGURE_ENV= INC='-I${LOCALBASE}/include' LIBS='-L${LOCALBASE}/lib'
X
XMAN3=		XML::LibRSVG.3
X
XMANPREFIX=	${PREFIX}/lib/perl5/${PERL_VERSION}
X
X.include <bsd.port.mk>
END-of-p5-XML-LibRSVG/Makefile
echo x - p5-XML-LibRSVG/distinfo
sed 's/^X//' >p5-XML-LibRSVG/distinfo << 'END-of-p5-XML-LibRSVG/distinfo'
XMD5 (XML-LibRSVG-0.01.tar.gz) = cee9a8c88c4931a17e921eee9017288a
END-of-p5-XML-LibRSVG/distinfo
echo x - p5-XML-LibRSVG/pkg-descr
sed 's/^X//' >p5-XML-LibRSVG/pkg-descr << 'END-of-p5-XML-LibRSVG/pkg-descr'
XThis module allows you to do is convert SVG's to PNG's in various ways.
X
XWWW: http://search.cpan.org/search?dist=XML-LibRSVG
END-of-p5-XML-LibRSVG/pkg-descr
echo x - p5-XML-LibRSVG/pkg-plist
sed 's/^X//' >p5-XML-LibRSVG/pkg-plist << 'END-of-p5-XML-LibRSVG/pkg-plist'
Xlib/perl5/site_perl/%%PERL_VER%%/%%PERL_ARCH%%/auto/XML/LibRSVG/.packlist
Xlib/perl5/site_perl/%%PERL_VER%%/%%PERL_ARCH%%/XML/LibRSVG.pm
Xlib/perl5/site_perl/%%PERL_VER%%/%%PERL_ARCH%%/auto/XML/LibRSVG/LibRSVG.bs
Xlib/perl5/site_perl/%%PERL_VER%%/%%PERL_ARCH%%/auto/XML/LibRSVG/LibRSVG.so
X@dirrm lib/perl5/site_perl/%%PERL_VER%%/%%PERL_ARCH%%/auto/XML/LibRSVG
X@unexec rmdir %D/lib/perl5/site_perl/%%PERL_VER%%/%%PERL_ARCH%%/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-LibRSVG/pkg-plist
echo c - p5-XML-LibRSVG/files
mkdir -p p5-XML-LibRSVG/files > /dev/null 2>&1
echo x - p5-XML-LibRSVG/files/patch-Makefile.PL
sed 's/^X//' >p5-XML-LibRSVG/files/patch-Makefile.PL << 'END-of-p5-XML-LibRSVG/files/patch-Makefile.PL'
X--- Makefile.PL.orig	Wed Oct 31 02:03:02 2001
X+++ Makefile.PL	Tue Nov 20 22:26:34 2001
X@@ -4,11 +4,11 @@
X 
X my %config;
X 
X-$config{INC} = '';
X-$config{LIBS} = '-lpng';
X+$config{INC} = $ENV{INC};
X+$config{LIBS} = $ENV{LIBS}.' -lpng';
X 
X-chomp($config{INC} .= ' ' . `gtk-config --cflags`);
X-chomp($config{LIBS} .= ' ' .`gtk-config --libs`);
X+chomp($config{INC} .= ' ' . `gtk12-config --cflags`);
X+chomp($config{LIBS} .= ' ' .`gtk12-config --libs`);
X 
X chomp($config{INC} .= ' ' . `gdk-pixbuf-config --cflags`);
X chomp($config{LIBS} .= ' ' . `gdk-pixbuf-config --libs`);
END-of-p5-XML-LibRSVG/files/patch-Makefile.PL
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?E166Gfm-0008CN-00>