diff options
author | Cheng-Lung Sung <clsung@FreeBSD.org> | 2007-07-23 03:09:36 +0000 |
---|---|---|
committer | Cheng-Lung Sung <clsung@FreeBSD.org> | 2007-07-23 03:09:36 +0000 |
commit | de1da38e13ec6b8ef699da2fb46c5b58412138bd (patch) | |
tree | e028a4c60e43453d55f1eb33db7d2bbfd6b25e83 /textproc/p5-XML-Canonical | |
parent | baf5aef2bfe5e60653eba9028d5a3cff204141a1 (diff) |
Notes
Diffstat (limited to 'textproc/p5-XML-Canonical')
-rw-r--r-- | textproc/p5-XML-Canonical/Makefile | 24 | ||||
-rw-r--r-- | textproc/p5-XML-Canonical/distinfo | 3 | ||||
-rw-r--r-- | textproc/p5-XML-Canonical/files/patch-Makefile.PL | 10 | ||||
-rw-r--r-- | textproc/p5-XML-Canonical/pkg-descr | 7 | ||||
-rw-r--r-- | textproc/p5-XML-Canonical/pkg-plist | 8 |
5 files changed, 52 insertions, 0 deletions
diff --git a/textproc/p5-XML-Canonical/Makefile b/textproc/p5-XML-Canonical/Makefile new file mode 100644 index 000000000000..ba1d0fdc6454 --- /dev/null +++ b/textproc/p5-XML-Canonical/Makefile @@ -0,0 +1,24 @@ +# New ports collection makefile for: p5-XML-Canonical +# Date created: 2007-07-15 +# Whom: Gea-Suan Lin <gslin@gslin.org> +# +# $FreeBSD$ +# + +PORTNAME= XML-Canonical +PORTVERSION= 0.10 +CATEGORIES= textproc +MASTER_SITES= CPAN +MASTER_SITE_SUBDIR= XML +PKGNAMEPREFIX= p5- + +MAINTAINER= gslin@gslin.org +COMMENT= Perl Implementation of Canonical XML + +LIB_DEPENDS= gdome:${PORTSDIR}/textproc/gdome2 + +PERL_CONFIGURE= yes + +MAN3= XML::Canonical.3 + +.include <bsd.port.mk> diff --git a/textproc/p5-XML-Canonical/distinfo b/textproc/p5-XML-Canonical/distinfo new file mode 100644 index 000000000000..d6deeaaff1f0 --- /dev/null +++ b/textproc/p5-XML-Canonical/distinfo @@ -0,0 +1,3 @@ +MD5 (XML-Canonical-0.10.tar.gz) = 9c75fadad906ee63e43ced695b3412fd +SHA256 (XML-Canonical-0.10.tar.gz) = 419ea71c91b8cdb07cb48075ff04424ea7ce69a90955dd5f73bd23f60488c488 +SIZE (XML-Canonical-0.10.tar.gz) = 6243 diff --git a/textproc/p5-XML-Canonical/files/patch-Makefile.PL b/textproc/p5-XML-Canonical/files/patch-Makefile.PL new file mode 100644 index 000000000000..7ed1cee3b0ac --- /dev/null +++ b/textproc/p5-XML-Canonical/files/patch-Makefile.PL @@ -0,0 +1,10 @@ +--- Makefile.PL.orig Sun Jul 15 16:00:28 2007 ++++ Makefile.PL Sun Jul 15 16:00:31 2007 +@@ -17,7 +17,6 @@ + print "running gdome-config... "; + my $ver = backtick('gdome-config --version'); + my ($major, $minor, $point) = $ver =~ /(\d+).(\d+)\.(\d+)/g; +- die "VERSION" unless $major == 0 && $minor == 7 && $point == 1; + $config{LIBS} ||= backtick('gdome-config --libs'); + $config{INC} ||= backtick('gdome-config --cflags'); + print "ok\n"; diff --git a/textproc/p5-XML-Canonical/pkg-descr b/textproc/p5-XML-Canonical/pkg-descr new file mode 100644 index 000000000000..3fac5350ba22 --- /dev/null +++ b/textproc/p5-XML-Canonical/pkg-descr @@ -0,0 +1,7 @@ +This module provides an implementation of Canonical XML Recommendation +(Version 1, 15 March 2001). It uses XML::GDOME for its DOM tree and +XPath nodes. + +It provides a XS wrapper around libxml2's Canonical XML code. + +WWW: http://search.cpan.org/dist/XML-Canonical/ diff --git a/textproc/p5-XML-Canonical/pkg-plist b/textproc/p5-XML-Canonical/pkg-plist new file mode 100644 index 000000000000..d95a29b3ff37 --- /dev/null +++ b/textproc/p5-XML-Canonical/pkg-plist @@ -0,0 +1,8 @@ +@comment $FreeBSD$ +%%SITE_PERL%%/%%PERL_ARCH%%/XML/Canonical.pm +%%SITE_PERL%%/%%PERL_ARCH%%/auto/XML/Canonical/.packlist +%%SITE_PERL%%/%%PERL_ARCH%%/auto/XML/Canonical/Canonical.bs +%%SITE_PERL%%/%%PERL_ARCH%%/auto/XML/Canonical/Canonical.so +@dirrmtry %%SITE_PERL%%/%%PERL_ARCH%%/auto/XML/Canonical +@dirrmtry %%SITE_PERL%%/%%PERL_ARCH%%/auto/XML +@dirrmtry %%SITE_PERL%%/%%PERL_ARCH%%/XML |