From 5b895562651e88bffe09a361ef74b9146ae96e53 Mon Sep 17 00:00:00 2001 From: Alexander Leidinger Date: Mon, 2 Aug 2004 17:48:55 +0000 Subject: [PATCH] ZopeXMLMethods provides methods to apply to Zope objects for XML/XSLT processing. XSLTMethod associates XSLT transformers with XML documents. ZopeXMLMethods succeeds the XMLTransform plug-in. It features file-system caching and works with many XML/XSLT libraries. --- www/Makefile | 1 + www/zope-xmlmethods/Makefile | 47 ++++++++++++++ www/zope-xmlmethods/distinfo | 2 + www/zope-xmlmethods/pkg-descr | 6 ++ www/zope-xmlmethods/pkg-message | 6 ++ www/zope-xmlmethods/pkg-plist | 105 ++++++++++++++++++++++++++++++++ 6 files changed, 167 insertions(+) create mode 100644 www/zope-xmlmethods/Makefile create mode 100644 www/zope-xmlmethods/distinfo create mode 100644 www/zope-xmlmethods/pkg-descr create mode 100644 www/zope-xmlmethods/pkg-message create mode 100644 www/zope-xmlmethods/pkg-plist diff --git a/www/Makefile b/www/Makefile index 92cb0b415ca0..7b9080b64608 100644 --- a/www/Makefile +++ b/www/Makefile @@ -723,6 +723,7 @@ SUBDIR += zope-silvaviews SUBDIR += zope-soapmethod SUBDIR += zope-ttwtype + SUBDIR += zope-xmlmethods SUBDIR += zope-xmlwidgets SUBDIR += zope-zmysqlda SUBDIR += zope-zpt diff --git a/www/zope-xmlmethods/Makefile b/www/zope-xmlmethods/Makefile new file mode 100644 index 000000000000..a37846ae8dd6 --- /dev/null +++ b/www/zope-xmlmethods/Makefile @@ -0,0 +1,47 @@ +# New ports collection makefile for: XMLMethods +# Date created: 02 Aug 2004 +# Whom: Alexander Leidinger +# +# $FreeBSD$ +# + +PORTNAME= xmlmethods +PORTVERSION= 1.0.0 +CATEGORIES= www zope +MASTER_SITES= ${MASTER_SITE_SOURCEFORGE} +MASTER_SITE_SUBDIR= zopexmlmethods +PKGNAMEPREFIX= zope- +DISTNAME= zopexmlmethods-${PORTVERSION:C/\./-/g} + +MAINTAINER= ports@FreeBSD.org +COMMENT= Provides methods to apply to Zope objects for XML/XSLT processing + +LIB_DEPENDS= xslt:${PORTSDIR}/textproc/libxslt + +USE_PYTHON= yes +USE_ZOPE= yes +USE_ZIP= yes +DIST_SUBDIR= zope + +ZOPEPRODUCTNAME=ZopeXMLMethods + +WRKSRC= ${WRKDIR}/${ZOPEPRODUCTNAME} +CPIO_FLAGS= --quiet -pdum -R + +do-build: + @${PYTHON_CMD} ${PYTHON_LIBDIR}/compileall.py ${WRKSRC} + @${CHMOD} -R a+r,go-w ${WRKSRC} + +do-install: + @ ${CHMOD} -R og+rX ${WRKSRC}/ + @ ${MKDIR} ${ZOPEBASEDIR}/${ZOPEPRODUCTDIR}/${ZOPEPRODUCTNAME} + @ cd ${WRKSRC} && ${FIND} . \ + | ${CPIO} $CPIO_FLAGS} ${BINOWN}:${BINGRP} \ + ${ZOPEBASEDIR}/${ZOPEPRODUCTDIR}/${ZOPEPRODUCTNAME} + +post-install: +.if !defined(BATCH) + @${CAT} ${PKGMESSAGE} +.endif + +.include diff --git a/www/zope-xmlmethods/distinfo b/www/zope-xmlmethods/distinfo new file mode 100644 index 000000000000..c53f24f32ad1 --- /dev/null +++ b/www/zope-xmlmethods/distinfo @@ -0,0 +1,2 @@ +MD5 (zope/zopexmlmethods-1-0-0.zip) = a40900e78034735aeac669d44e8dc1bc +SIZE (zope/zopexmlmethods-1-0-0.zip) = 104202 diff --git a/www/zope-xmlmethods/pkg-descr b/www/zope-xmlmethods/pkg-descr new file mode 100644 index 000000000000..b0c930d3d419 --- /dev/null +++ b/www/zope-xmlmethods/pkg-descr @@ -0,0 +1,6 @@ +ZopeXMLMethods provides methods to apply to Zope objects for XML/XSLT +processing. XSLTMethod associates XSLT transformers with XML documents. +ZopeXMLMethods succeeds the XMLTransform plug-in. It features +file-system caching and works with many XML/XSLT libraries. + +WWW: http://zopexmlmethods.sourceforge.net/ diff --git a/www/zope-xmlmethods/pkg-message b/www/zope-xmlmethods/pkg-message new file mode 100644 index 000000000000..8de827af52d0 --- /dev/null +++ b/www/zope-xmlmethods/pkg-message @@ -0,0 +1,6 @@ +To complete the installation of ZopeXMLMethods: + + - Restart Zope. This may be done from the Zope Control Panel. + + - Verify that the ZopeXMLMethodss product is loaded properly by + examining them in Control_Panel/Products. diff --git a/www/zope-xmlmethods/pkg-plist b/www/zope-xmlmethods/pkg-plist new file mode 100644 index 000000000000..1ac2abb3ca1a --- /dev/null +++ b/www/zope-xmlmethods/pkg-plist @@ -0,0 +1,105 @@ +%%ZOPEPRODUCTDIR%%/ZopeXMLMethods/.cvsignore +%%ZOPEPRODUCTDIR%%/ZopeXMLMethods/CHANGES.txt +%%ZOPEPRODUCTDIR%%/ZopeXMLMethods/CacheManager.py +%%ZOPEPRODUCTDIR%%/ZopeXMLMethods/CacheManager.pyc +%%ZOPEPRODUCTDIR%%/ZopeXMLMethods/DEPENDENCIES.txt +%%ZOPEPRODUCTDIR%%/ZopeXMLMethods/FourSuite11Processor.py +%%ZOPEPRODUCTDIR%%/ZopeXMLMethods/FourSuite11Processor.pyc +%%ZOPEPRODUCTDIR%%/ZopeXMLMethods/FourSuiteProcessor.py +%%ZOPEPRODUCTDIR%%/ZopeXMLMethods/FourSuiteProcessor.pyc +%%ZOPEPRODUCTDIR%%/ZopeXMLMethods/GeneratorRegistry.py +%%ZOPEPRODUCTDIR%%/ZopeXMLMethods/GeneratorRegistry.pyc +%%ZOPEPRODUCTDIR%%/ZopeXMLMethods/Generators.py +%%ZOPEPRODUCTDIR%%/ZopeXMLMethods/Generators.pyc +%%ZOPEPRODUCTDIR%%/ZopeXMLMethods/ICacheManager.py +%%ZOPEPRODUCTDIR%%/ZopeXMLMethods/ICacheManager.pyc +%%ZOPEPRODUCTDIR%%/ZopeXMLMethods/INSTALL.txt +%%ZOPEPRODUCTDIR%%/ZopeXMLMethods/IXSLTMethod.py +%%ZOPEPRODUCTDIR%%/ZopeXMLMethods/IXSLTMethod.pyc +%%ZOPEPRODUCTDIR%%/ZopeXMLMethods/IXSLTProcessor.py +%%ZOPEPRODUCTDIR%%/ZopeXMLMethods/IXSLTProcessor.pyc +%%ZOPEPRODUCTDIR%%/ZopeXMLMethods/LICENSE.txt +%%ZOPEPRODUCTDIR%%/ZopeXMLMethods/LibXsltProcessor.py +%%ZOPEPRODUCTDIR%%/ZopeXMLMethods/LibXsltProcessor.pyc +%%ZOPEPRODUCTDIR%%/ZopeXMLMethods/ProcessorChooser.py +%%ZOPEPRODUCTDIR%%/ZopeXMLMethods/ProcessorChooser.pyc +%%ZOPEPRODUCTDIR%%/ZopeXMLMethods/PyanaProcessor.py +%%ZOPEPRODUCTDIR%%/ZopeXMLMethods/PyanaProcessor.pyc +%%ZOPEPRODUCTDIR%%/ZopeXMLMethods/README.txt +%%ZOPEPRODUCTDIR%%/ZopeXMLMethods/SabPythProcessor.py +%%ZOPEPRODUCTDIR%%/ZopeXMLMethods/SabPythProcessor.pyc +%%ZOPEPRODUCTDIR%%/ZopeXMLMethods/TODO.txt +%%ZOPEPRODUCTDIR%%/ZopeXMLMethods/TUTORIAL.txt +%%ZOPEPRODUCTDIR%%/ZopeXMLMethods/XSLTMethod.py +%%ZOPEPRODUCTDIR%%/ZopeXMLMethods/XSLTMethod.pyc +%%ZOPEPRODUCTDIR%%/ZopeXMLMethods/__init__.py +%%ZOPEPRODUCTDIR%%/ZopeXMLMethods/__init__.pyc +%%ZOPEPRODUCTDIR%%/ZopeXMLMethods/help/cache.stx +%%ZOPEPRODUCTDIR%%/ZopeXMLMethods/help/create.stx +%%ZOPEPRODUCTDIR%%/ZopeXMLMethods/help/create_cachemgr.stx +%%ZOPEPRODUCTDIR%%/ZopeXMLMethods/help/edit.stx +%%ZOPEPRODUCTDIR%%/ZopeXMLMethods/refresh.txt +%%ZOPEPRODUCTDIR%%/ZopeXMLMethods/tests/TestCacheManager.py +%%ZOPEPRODUCTDIR%%/ZopeXMLMethods/tests/TestCacheManager.pyc +%%ZOPEPRODUCTDIR%%/ZopeXMLMethods/tests/TestURL.py +%%ZOPEPRODUCTDIR%%/ZopeXMLMethods/tests/TestURL.pyc +%%ZOPEPRODUCTDIR%%/ZopeXMLMethods/tests/TestXSLTMethod.py +%%ZOPEPRODUCTDIR%%/ZopeXMLMethods/tests/TestXSLTMethod.pyc +%%ZOPEPRODUCTDIR%%/ZopeXMLMethods/tests/TestXSLTProcessor.py +%%ZOPEPRODUCTDIR%%/ZopeXMLMethods/tests/TestXSLTProcessor.pyc +%%ZOPEPRODUCTDIR%%/ZopeXMLMethods/tests/XSLTChallenges.py +%%ZOPEPRODUCTDIR%%/ZopeXMLMethods/tests/XSLTChallenges.pyc +%%ZOPEPRODUCTDIR%%/ZopeXMLMethods/tests/alltests.py +%%ZOPEPRODUCTDIR%%/ZopeXMLMethods/tests/alltests.pyc +%%ZOPEPRODUCTDIR%%/ZopeXMLMethods/tests/framework.py +%%ZOPEPRODUCTDIR%%/ZopeXMLMethods/tests/framework.pyc +%%ZOPEPRODUCTDIR%%/ZopeXMLMethods/tests/testfiles/alternate.xml +%%ZOPEPRODUCTDIR%%/ZopeXMLMethods/tests/testfiles/alternate.xsl +%%ZOPEPRODUCTDIR%%/ZopeXMLMethods/tests/testfiles/bar.xsl +%%ZOPEPRODUCTDIR%%/ZopeXMLMethods/tests/testfiles/calldocURN2.xsl +%%ZOPEPRODUCTDIR%%/ZopeXMLMethods/tests/testfiles/calldocumentfunc.xsl +%%ZOPEPRODUCTDIR%%/ZopeXMLMethods/tests/testfiles/calldocumentfuncURN.xsl +%%ZOPEPRODUCTDIR%%/ZopeXMLMethods/tests/testfiles/catalog.xml +%%ZOPEPRODUCTDIR%%/ZopeXMLMethods/tests/testfiles/dtmltest.dtml +%%ZOPEPRODUCTDIR%%/ZopeXMLMethods/tests/testfiles/dtmltest.xsl +%%ZOPEPRODUCTDIR%%/ZopeXMLMethods/tests/testfiles/dynevaluate.xsl +%%ZOPEPRODUCTDIR%%/ZopeXMLMethods/tests/testfiles/evaluate.xml +%%ZOPEPRODUCTDIR%%/ZopeXMLMethods/tests/testfiles/include.xml +%%ZOPEPRODUCTDIR%%/ZopeXMLMethods/tests/testfiles/include.xsl +%%ZOPEPRODUCTDIR%%/ZopeXMLMethods/tests/testfiles/includeURN.xsl +%%ZOPEPRODUCTDIR%%/ZopeXMLMethods/tests/testfiles/invalid.xml +%%ZOPEPRODUCTDIR%%/ZopeXMLMethods/tests/testfiles/invalid.xsl +%%ZOPEPRODUCTDIR%%/ZopeXMLMethods/tests/testfiles/namespaces.xsl +%%ZOPEPRODUCTDIR%%/ZopeXMLMethods/tests/testfiles/param.xml +%%ZOPEPRODUCTDIR%%/ZopeXMLMethods/tests/testfiles/param.xsl +%%ZOPEPRODUCTDIR%%/ZopeXMLMethods/tests/testfiles/paramfile.xsl +%%ZOPEPRODUCTDIR%%/ZopeXMLMethods/tests/testfiles/pipeline1.xsl +%%ZOPEPRODUCTDIR%%/ZopeXMLMethods/tests/testfiles/pipeline2.xsl +%%ZOPEPRODUCTDIR%%/ZopeXMLMethods/tests/testfiles/pipeline3.xsl +%%ZOPEPRODUCTDIR%%/ZopeXMLMethods/tests/testfiles/properties.xml +%%ZOPEPRODUCTDIR%%/ZopeXMLMethods/tests/testfiles/propertiesfile.xsl +%%ZOPEPRODUCTDIR%%/ZopeXMLMethods/tests/testfiles/selftest1.xml +%%ZOPEPRODUCTDIR%%/ZopeXMLMethods/tests/testfiles/selftest1.xsl +%%ZOPEPRODUCTDIR%%/ZopeXMLMethods/tests/testfiles/selftest2.xml +%%ZOPEPRODUCTDIR%%/ZopeXMLMethods/tests/testfiles/selftest2.xsl +%%ZOPEPRODUCTDIR%%/ZopeXMLMethods/tests/testfiles/selftest3.xsl +%%ZOPEPRODUCTDIR%%/ZopeXMLMethods/tests/testfiles/simple.xml +%%ZOPEPRODUCTDIR%%/ZopeXMLMethods/tests/testfiles/simple.xsl +%%ZOPEPRODUCTDIR%%/ZopeXMLMethods/tests/testfiles/templateparam.xml +%%ZOPEPRODUCTDIR%%/ZopeXMLMethods/tests/testfiles/templatetest.xsl +%%ZOPEPRODUCTDIR%%/ZopeXMLMethods/tests/testfiles/xpath.xml +%%ZOPEPRODUCTDIR%%/ZopeXMLMethods/tests/testfiles/xpath.xsl +%%ZOPEPRODUCTDIR%%/ZopeXMLMethods/tests/testfiles/xpath2.xsl +%%ZOPEPRODUCTDIR%%/ZopeXMLMethods/tests/testfiles/zpttest.zpt +%%ZOPEPRODUCTDIR%%/ZopeXMLMethods/version.txt +%%ZOPEPRODUCTDIR%%/ZopeXMLMethods/www/XSLTMethod.gif +%%ZOPEPRODUCTDIR%%/ZopeXMLMethods/www/cache.gif +%%ZOPEPRODUCTDIR%%/ZopeXMLMethods/www/create.pt +%%ZOPEPRODUCTDIR%%/ZopeXMLMethods/www/create_cachemgr.pt +%%ZOPEPRODUCTDIR%%/ZopeXMLMethods/www/edit.pt +%%ZOPEPRODUCTDIR%%/ZopeXMLMethods/www/edit_cachemgr.pt +@dirrm %%ZOPEPRODUCTDIR%%/ZopeXMLMethods/help +@dirrm %%ZOPEPRODUCTDIR%%/ZopeXMLMethods/tests/testfiles +@dirrm %%ZOPEPRODUCTDIR%%/ZopeXMLMethods/tests +@dirrm %%ZOPEPRODUCTDIR%%/ZopeXMLMethods/www +@dirrm %%ZOPEPRODUCTDIR%%/ZopeXMLMethods