diff options
author | skv <skv@FreeBSD.org> | 2003-10-15 00:14:12 +0800 |
---|---|---|
committer | skv <skv@FreeBSD.org> | 2003-10-15 00:14:12 +0800 |
commit | 8aa47941f3bb5907c5fbefca59e83fb8fca18a4c (patch) | |
tree | 98b0609e26816bae468dde588ca6bbec3b1de2f4 /textproc/p5-XML-STX | |
parent | cc2826727c27999c41672d5e9cb31ae3b963870e (diff) | |
download | freebsd-ports-gnome-8aa47941f3bb5907c5fbefca59e83fb8fca18a4c.tar.gz freebsd-ports-gnome-8aa47941f3bb5907c5fbefca59e83fb8fca18a4c.tar.zst freebsd-ports-gnome-8aa47941f3bb5907c5fbefca59e83fb8fca18a4c.zip |
Add p5-XML-STX 0.42, a pure Perl STX processor.
Diffstat (limited to 'textproc/p5-XML-STX')
-rw-r--r-- | textproc/p5-XML-STX/Makefile | 50 | ||||
-rw-r--r-- | textproc/p5-XML-STX/distinfo | 1 | ||||
-rw-r--r-- | textproc/p5-XML-STX/pkg-descr | 9 | ||||
-rw-r--r-- | textproc/p5-XML-STX/pkg-plist | 24 |
4 files changed, 84 insertions, 0 deletions
diff --git a/textproc/p5-XML-STX/Makefile b/textproc/p5-XML-STX/Makefile new file mode 100644 index 000000000000..68a4f3b574bd --- /dev/null +++ b/textproc/p5-XML-STX/Makefile @@ -0,0 +1,50 @@ +# New ports collection makefile for: XML-STX +# Date created: 12 October 2003 +# Whom: Sergey Skvortsov <skv@protey.ru> +# +# $FreeBSD$ +# + +PORTNAME= XML-STX +PORTVERSION= 0.42 +CATEGORIES= textproc perl5 +MASTER_SITES= ${MASTER_SITE_PERL_CPAN} +MASTER_SITE_SUBDIR= XML +PKGNAMEPREFIX= p5- + +MAINTAINER= skv@FreeBSD.org +COMMENT= A pure Perl STX processor + +BUILD_DEPENDS= ${SITE_PERL}/XML/SAX.pm:${PORTSDIR}/textproc/p5-XML-SAX \ + ${SITE_PERL}/${PERL_ARCH}/Clone.pm:${PORTSDIR}/devel/p5-Clone \ + ${SITE_PERL}/XML/NamespaceSupport.pm:${PORTSDIR}/textproc/p5-XML-NamespaceSupport +RUN_DEPENDS= ${BUILD_DEPENDS} + +PERL_CONFIGURE= yes + +MAN3= XML::STX.3 XML::STX::Base.3 XML::STX::Buffer.3 \ + XML::STX::Functions.3 XML::STX::Parser.3 XML::STX::Runtime.3 \ + XML::STX::STXPath.3 XML::STX::Stylesheet.3 XML::STX::TrAX.3 \ + XML::STX::Writer.3 + +post-extract: + @${MKDIR} ${WRKSRC}/scripts + @${MV} ${WRKSRC}/stx*.pl ${WRKSRC}/scripts + +post-patch: + @${PERL} -pi -e 's!(?=stx\w+\.pl)!scripts/!g' ${WRKSRC}/Makefile.PL + +post-configure: + @${PERL} -pi -e 's/^(POD2MAN_EXE.*)$$/\1 --lax/;' ${WRKSRC}/Makefile + +post-install: +.ifndef(NOPORTDOCS) + @${ECHO_MSG} "===> Installing additional documentation for ${PKGNAME}" + @${MKDIR} ${DOCSDIR} + ${INSTALL_DATA} ${WRKSRC}/doc/* ${DOCSDIR} + @${ECHO_MSG} "===> Installing examples for ${PKGNAME}" + @${MKDIR} ${EXAMPLESDIR} + ${INSTALL_SCRIPT} ${WRKSRC}/examples/* ${EXAMPLESDIR} +.endif + +.include <bsd.port.mk> diff --git a/textproc/p5-XML-STX/distinfo b/textproc/p5-XML-STX/distinfo new file mode 100644 index 000000000000..c1a137f89940 --- /dev/null +++ b/textproc/p5-XML-STX/distinfo @@ -0,0 +1 @@ +MD5 (XML-STX-0.42.tar.gz) = 312f97ac14f397ba3d7345c563191900 diff --git a/textproc/p5-XML-STX/pkg-descr b/textproc/p5-XML-STX/pkg-descr new file mode 100644 index 000000000000..ea58dbd8581d --- /dev/null +++ b/textproc/p5-XML-STX/pkg-descr @@ -0,0 +1,9 @@ +XML::STX is a pure Perl implementation of STX processor. Streaming +Transformations for XML (STX) is a one-pass transformation language for +XML documents that builds on the Simple API for XML (SAX). + +WWW: http://search.cpan.org/dist/XML-STX/ +WWW: http://stx.sourceforge.net/ + +-- Sergey Skvortsov +skv@FreeBSD.org diff --git a/textproc/p5-XML-STX/pkg-plist b/textproc/p5-XML-STX/pkg-plist new file mode 100644 index 000000000000..56e94ed278a7 --- /dev/null +++ b/textproc/p5-XML-STX/pkg-plist @@ -0,0 +1,24 @@ +%%SITE_PERL%%/%%PERL_ARCH%%/auto/XML/STX/.packlist +bin/stxcmd.pl +bin/stxview.pl +%%SITE_PERL%%/XML/STX.pm +%%SITE_PERL%%/XML/STX/Base.pm +%%SITE_PERL%%/XML/STX/Buffer.pm +%%SITE_PERL%%/XML/STX/Functions.pm +%%SITE_PERL%%/XML/STX/Parser.pm +%%SITE_PERL%%/XML/STX/Runtime.pm +%%SITE_PERL%%/XML/STX/STXPath.pm +%%SITE_PERL%%/XML/STX/Stylesheet.pm +%%SITE_PERL%%/XML/STX/TrAX.pm +%%SITE_PERL%%/XML/STX/Writer.pm +@dirrm %%SITE_PERL%%/XML/STX +@dirrm %%SITE_PERL%%/%%PERL_ARCH%%/auto/XML/STX +@unexec rmdir %D/%%SITE_PERL%%/XML 2>/dev/null || true +@unexec rmdir %D/%%SITE_PERL%%/%%PERL_ARCH%%/auto/XML 2>/dev/null || true +%%PORTDOCS%%%%EXAMPLESDIR%%/stx-filter.pl +%%PORTDOCS%%%%EXAMPLESDIR%%/tester.pl +%%PORTDOCS%%@dirrm %%EXAMPLESDIR%% +%%PORTDOCS%%%%DOCSDIR%%/STX.html +%%PORTDOCS%%%%DOCSDIR%%/TrAXref.html +%%PORTDOCS%%%%DOCSDIR%%/TrAXref.pod +%%PORTDOCS%%@dirrm %%DOCSDIR%% |