summaryrefslogtreecommitdiff
path: root/textproc/py-dtml
diff options
context:
space:
mode:
authortsarna <tsarna@pkgsrc.org>2000-01-02 04:48:45 +0000
committertsarna <tsarna@pkgsrc.org>2000-01-02 04:48:45 +0000
commitb8aaa43722917d6b5ac2c816c10c8fec5694b59c (patch)
treee36b455e8653880da0387bd19a51e4af57fdb4c0 /textproc/py-dtml
parentb2318849d235604f7addc3f12c4acb4524ee56e6 (diff)
downloadpkgsrc-b8aaa43722917d6b5ac2c816c10c8fec5694b59c.tar.gz
Initial import of package for DTML and StructuredText from Zope 2.1.1,
also independently useful.
Diffstat (limited to 'textproc/py-dtml')
-rw-r--r--textproc/py-dtml/Makefile47
-rw-r--r--textproc/py-dtml/files/md53
-rw-r--r--textproc/py-dtml/pkg/COMMENT1
-rw-r--r--textproc/py-dtml/pkg/DESCR20
-rw-r--r--textproc/py-dtml/pkg/PLIST.pre4
5 files changed, 75 insertions, 0 deletions
diff --git a/textproc/py-dtml/Makefile b/textproc/py-dtml/Makefile
new file mode 100644
index 00000000000..14e3913387b
--- /dev/null
+++ b/textproc/py-dtml/Makefile
@@ -0,0 +1,47 @@
+# $NetBSD: Makefile,v 1.1.1.1 2000/01/02 04:48:45 tsarna Exp $
+#
+
+DISTNAME= Zope-2.1.1-src
+PKGNAME= py-dtml-2.1.1
+CATEGORIES= textproc
+MASTER_SITES= http://www.zope.org/Products/Zope/2.1.1/
+EXTRACT_SUFX= .tgz
+
+MAINTAINER= tsarna@netbsd.org
+HOMEPAGE= http://www.zope.org/Documentation/Guides/DTML-HTML/DTML.html
+
+DEPENDS+= py-extclass-2.1.1:../../lang/python
+
+ALL_TARGET= default
+PLIST_SRC= ${WRKDIR}/.PLIST_SRC
+SITE_PKG= lib/python1.5/site-packages
+PYTHON_LIBDIR= ${LOCALBASE}/${SITE_PKG}
+PYTHON_CONFIGDIR= ${LOCALBASE}/lib/python1.5/config
+EXTRACT_ELEMENTS= Zope-2.1.1-src/lib/python/DocumentTemplate \
+ Zope-2.1.1-src/lib/python/StructuredText \
+ Zope-2.1.1-src/lib/python/ts_regex.py
+
+WRKSRC= ${WRKDIR}/Zope-2.1.1-src/lib/python/DocumentTemplate
+
+do-configure:
+ ( cd ${WRKSRC} ;\
+ ${CP} ${PYTHON_CONFIGDIR}/Makefile.pre.in . ;\
+ ${MAKE} -f Makefile.pre.in boot)
+
+post-build:
+ (cd ${WRKSRC}; make clean; ${RM} Makefile* sedscript release.* *.c)
+ (cd ${WRKSRC}/..; ${LOCALBASE}/bin/python ${PREFIX}/lib/python1.5/compileall.py .)
+ (cd ${WRKSRC}/..; ${LOCALBASE}/bin/python -O ${PREFIX}/lib/python1.5/compileall.py .)
+
+do-install:
+ ${INSTALL_SCRIPT_DIR} ${PYTHON_LIBDIR}
+ ${CAT} ${PKGDIR}/PLIST.pre >${PLIST_SRC}
+ (cd ${WRKSRC}/..; ${PAX} -r -w -v -p e . ${PYTHON_LIBDIR})
+ (cd ${PREFIX}; ${FIND} ${SITE_PKG}/DocumentTemplate \
+ ${SITE_PKG}/StructuredText \
+ -type f -print >>${PLIST_SRC})
+ (cd ${PREFIX}; ${FIND} -d ${SITE_PKG}/DocumentTemplate \
+ ${SITE_PKG}/StructuredText \
+ -type d -print | ${SED} -e "s/^/@dirrm /" >>${PLIST_SRC})
+
+.include "../../mk/bsd.pkg.mk"
diff --git a/textproc/py-dtml/files/md5 b/textproc/py-dtml/files/md5
new file mode 100644
index 00000000000..d8ecbba6cb8
--- /dev/null
+++ b/textproc/py-dtml/files/md5
@@ -0,0 +1,3 @@
+$NetBSD: md5,v 1.1.1.1 2000/01/02 04:48:46 tsarna Exp $
+
+MD5 (Zope-2.1.1-src.tgz) = 170e9304b2b2ee271eb0f8a0aa768fc9
diff --git a/textproc/py-dtml/pkg/COMMENT b/textproc/py-dtml/pkg/COMMENT
new file mode 100644
index 00000000000..6c6e7404afc
--- /dev/null
+++ b/textproc/py-dtml/pkg/COMMENT
@@ -0,0 +1 @@
+DTML and StructuredText from Zope, also independently useful
diff --git a/textproc/py-dtml/pkg/DESCR b/textproc/py-dtml/pkg/DESCR
new file mode 100644
index 00000000000..806e54a303f
--- /dev/null
+++ b/textproc/py-dtml/pkg/DESCR
@@ -0,0 +1,20 @@
+This package contains the DTML and StructruedText facilities from Zope.
+They are also useful independent of Zope for other Python programs.
+
+The Zope Document Template Markup Language (DTML) is a facility for
+generating textual information using a template document and application
+information. It is used in Zope primarily to generate Hypertext Markup
+Language (HTML) files, but it can also be used to create other types of
+textual information. For example, it is used to generate Structured
+Query Language (SQL) commands in Zope SQL Methods.
+
+The DTML facility is used to convert from document template source text
+to rendered text. Document template source text consists of ordinary
+text interspersed with DTML's SSI-like (server side includes) "markup"
+tags.
+
+Structured text is text that uses indentation and simple symbology to
+indicate the structure of a document. StructuredText format text files
+are generally quite readbale by themselves, or they can be converted to
+HTML, MML, or other formats using the StructuredText module included in
+this package.
diff --git a/textproc/py-dtml/pkg/PLIST.pre b/textproc/py-dtml/pkg/PLIST.pre
new file mode 100644
index 00000000000..3b31c05fd2e
--- /dev/null
+++ b/textproc/py-dtml/pkg/PLIST.pre
@@ -0,0 +1,4 @@
+@comment $NetBSD: PLIST.pre,v 1.1.1.1 2000/01/02 04:48:46 tsarna Exp $
+lib/python1.5/site-packages/ts_regex.py
+lib/python1.5/site-packages/ts_regex.pyc
+lib/python1.5/site-packages/ts_regex.pyo