diff options
author | Sergey Skvortsov <skv@FreeBSD.org> | 2004-04-11 10:44:37 +0000 |
---|---|---|
committer | Sergey Skvortsov <skv@FreeBSD.org> | 2004-04-11 10:44:37 +0000 |
commit | b13e853d2168231c9d2a1acc874e27ef410de3e7 (patch) | |
tree | 914680c59d72e8f2e165b5bafdd6b6c0ca466094 /textproc/p5-XML-SAX-ExpatXS | |
parent | 5b6b83339db4b5b851ea421439491196e91b42af (diff) | |
download | ports-b13e853d2168231c9d2a1acc874e27ef410de3e7.tar.gz ports-b13e853d2168231c9d2a1acc874e27ef410de3e7.zip |
Notes
Diffstat (limited to 'textproc/p5-XML-SAX-ExpatXS')
-rw-r--r-- | textproc/p5-XML-SAX-ExpatXS/Makefile | 28 | ||||
-rw-r--r-- | textproc/p5-XML-SAX-ExpatXS/distinfo | 2 | ||||
-rw-r--r-- | textproc/p5-XML-SAX-ExpatXS/pkg-deinstall | 6 | ||||
-rw-r--r-- | textproc/p5-XML-SAX-ExpatXS/pkg-descr | 6 | ||||
-rw-r--r-- | textproc/p5-XML-SAX-ExpatXS/pkg-install | 6 | ||||
-rw-r--r-- | textproc/p5-XML-SAX-ExpatXS/pkg-plist | 29 |
6 files changed, 77 insertions, 0 deletions
diff --git a/textproc/p5-XML-SAX-ExpatXS/Makefile b/textproc/p5-XML-SAX-ExpatXS/Makefile new file mode 100644 index 000000000000..07c486ec9234 --- /dev/null +++ b/textproc/p5-XML-SAX-ExpatXS/Makefile @@ -0,0 +1,28 @@ +# New ports collection makefile for: XML-SAX-ExpatXS +# Date created: 30 March 2004 +# Whom: Sergey Skvortsov <skv@protey.ru> +# +# $FreeBSD$ +# + +PORTNAME= XML-SAX-ExpatXS +PORTVERSION= 0.98 +CATEGORIES= textproc perl5 +MASTER_SITES= ${MASTER_SITE_PERL_CPAN} +MASTER_SITE_SUBDIR= XML +PKGNAMEPREFIX= p5- + +MAINTAINER= skv@FreeBSD.org +COMMENT= PerlSAX2 XS extension to Expat parser + +RUN_DEPENDS= ${SITE_PERL}/XML/SAX.pm:${PORTSDIR}/textproc/p5-XML-SAX +LIB_DEPENDS= expat.5:${PORTSDIR}/textproc/expat2 +BUILD_DEPENDS= ${RUN_DEPENDS} + +PERL_CONFIGURE= yes +CONFIGURE_ARGS= INC="-I${LOCALBASE}/include" LIBS="-L${LOCALBASE}/lib -lexpat" \ + </dev/null + +MAN3= XML::SAX::ExpatXS.3 XML::SAX::ExpatXS::Encoding.3 + +.include <bsd.port.mk> diff --git a/textproc/p5-XML-SAX-ExpatXS/distinfo b/textproc/p5-XML-SAX-ExpatXS/distinfo new file mode 100644 index 000000000000..241305950f94 --- /dev/null +++ b/textproc/p5-XML-SAX-ExpatXS/distinfo @@ -0,0 +1,2 @@ +MD5 (XML-SAX-ExpatXS-0.98.tar.gz) = 126ec13f95ba5f7b9b2acdc3cab4151d +SIZE (XML-SAX-ExpatXS-0.98.tar.gz) = 159714 diff --git a/textproc/p5-XML-SAX-ExpatXS/pkg-deinstall b/textproc/p5-XML-SAX-ExpatXS/pkg-deinstall new file mode 100644 index 000000000000..ea31be4dfb8e --- /dev/null +++ b/textproc/p5-XML-SAX-ExpatXS/pkg-deinstall @@ -0,0 +1,6 @@ +#!/usr/bin/perl +if('DEINSTALL' eq $ARGV[1]) { + eval "use XML::SAX;"; + die $@ if $@; + XML::SAX->remove_parser(q(XML::SAX::ExpatXS))->save_parsers(); +} diff --git a/textproc/p5-XML-SAX-ExpatXS/pkg-descr b/textproc/p5-XML-SAX-ExpatXS/pkg-descr new file mode 100644 index 000000000000..3bf2b5a77082 --- /dev/null +++ b/textproc/p5-XML-SAX-ExpatXS/pkg-descr @@ -0,0 +1,6 @@ +This module is an XS only implementation of PerlSAX2 parser using Expat. + +WWW: http://search.cpan.org/dist/XML-SAX-ExpatXS/ + +-- Sergey Skvortsov +skv@FreeBSD.org diff --git a/textproc/p5-XML-SAX-ExpatXS/pkg-install b/textproc/p5-XML-SAX-ExpatXS/pkg-install new file mode 100644 index 000000000000..79f0e7ffd55f --- /dev/null +++ b/textproc/p5-XML-SAX-ExpatXS/pkg-install @@ -0,0 +1,6 @@ +#!/usr/bin/perl +if('POST-INSTALL' eq $ARGV[1]) { + eval "use XML::SAX;"; + die $@ if $@; + XML::SAX->add_parser(q(XML::SAX::ExpatXS))->save_parsers(); +} diff --git a/textproc/p5-XML-SAX-ExpatXS/pkg-plist b/textproc/p5-XML-SAX-ExpatXS/pkg-plist new file mode 100644 index 000000000000..1e07d41730e2 --- /dev/null +++ b/textproc/p5-XML-SAX-ExpatXS/pkg-plist @@ -0,0 +1,29 @@ +%%SITE_PERL%%/%%PERL_ARCH%%/XML/SAX/ExpatXS.pm +%%SITE_PERL%%/%%PERL_ARCH%%/XML/SAX/ExpatXS/Encoding.pm +%%SITE_PERL%%/%%PERL_ARCH%%/XML/SAX/ExpatXS/Encodings/big5.enc +%%SITE_PERL%%/%%PERL_ARCH%%/XML/SAX/ExpatXS/Encodings/euc-kr.enc +%%SITE_PERL%%/%%PERL_ARCH%%/XML/SAX/ExpatXS/Encodings/iso-8859-2.enc +%%SITE_PERL%%/%%PERL_ARCH%%/XML/SAX/ExpatXS/Encodings/iso-8859-3.enc +%%SITE_PERL%%/%%PERL_ARCH%%/XML/SAX/ExpatXS/Encodings/iso-8859-4.enc +%%SITE_PERL%%/%%PERL_ARCH%%/XML/SAX/ExpatXS/Encodings/iso-8859-5.enc +%%SITE_PERL%%/%%PERL_ARCH%%/XML/SAX/ExpatXS/Encodings/iso-8859-7.enc +%%SITE_PERL%%/%%PERL_ARCH%%/XML/SAX/ExpatXS/Encodings/iso-8859-8.enc +%%SITE_PERL%%/%%PERL_ARCH%%/XML/SAX/ExpatXS/Encodings/iso-8859-9.enc +%%SITE_PERL%%/%%PERL_ARCH%%/XML/SAX/ExpatXS/Encodings/windows-1250.enc +%%SITE_PERL%%/%%PERL_ARCH%%/XML/SAX/ExpatXS/Encodings/windows-1252.enc +%%SITE_PERL%%/%%PERL_ARCH%%/XML/SAX/ExpatXS/Encodings/x-euc-jp-jisx0221.enc +%%SITE_PERL%%/%%PERL_ARCH%%/XML/SAX/ExpatXS/Encodings/x-euc-jp-unicode.enc +%%SITE_PERL%%/%%PERL_ARCH%%/XML/SAX/ExpatXS/Encodings/x-sjis-cp932.enc +%%SITE_PERL%%/%%PERL_ARCH%%/XML/SAX/ExpatXS/Encodings/x-sjis-jdk117.enc +%%SITE_PERL%%/%%PERL_ARCH%%/XML/SAX/ExpatXS/Encodings/x-sjis-jisx0221.enc +%%SITE_PERL%%/%%PERL_ARCH%%/XML/SAX/ExpatXS/Encodings/x-sjis-unicode.enc +%%SITE_PERL%%/%%PERL_ARCH%%/auto/XML/SAX/ExpatXS/.packlist +%%SITE_PERL%%/%%PERL_ARCH%%/auto/XML/SAX/ExpatXS/ExpatXS.bs +%%SITE_PERL%%/%%PERL_ARCH%%/auto/XML/SAX/ExpatXS/ExpatXS.so +@dirrm %%SITE_PERL%%/%%PERL_ARCH%%/XML/SAX/ExpatXS/Encodings +@dirrm %%SITE_PERL%%/%%PERL_ARCH%%/XML/SAX/ExpatXS +@dirrm %%SITE_PERL%%/%%PERL_ARCH%%/auto/XML/SAX/ExpatXS +@unexec rmdir %D/%%SITE_PERL%%/%%PERL_ARCH%%/XML/SAX 2>/dev/null || true +@unexec rmdir %D/%%SITE_PERL%%/%%PERL_ARCH%%/XML 2>/dev/null || true +@unexec rmdir %D/%%SITE_PERL%%/%%PERL_ARCH%%/auto/XML/SAX 2>/dev/null || true +@unexec rmdir %D/%%SITE_PERL%%/%%PERL_ARCH%%/auto/XML 2>/dev/null || true |