summaryrefslogtreecommitdiff
path: root/textproc
diff options
context:
space:
mode:
authorJacques Vidrine <nectar@FreeBSD.org>2000-10-03 21:35:45 +0000
committerJacques Vidrine <nectar@FreeBSD.org>2000-10-03 21:35:45 +0000
commitc21afa965622393584f4e4f8084cd607cc4065f3 (patch)
treeb131c7d02882d8d08662f9b24f45506fa5fa0971 /textproc
parentForgotten WWW tag. (diff)
Lightweight HTML/XHTML generator for Python
Notes
Notes: svn path=/head/; revision=33387
Diffstat (limited to 'textproc')
-rw-r--r--textproc/Makefile1
-rw-r--r--textproc/py-HyperText/Makefile36
-rw-r--r--textproc/py-HyperText/distinfo1
-rw-r--r--textproc/py-HyperText/pkg-comment1
-rw-r--r--textproc/py-HyperText/pkg-descr4
-rw-r--r--textproc/py-HyperText/pkg-plist28
6 files changed, 71 insertions, 0 deletions
diff --git a/textproc/Makefile b/textproc/Makefile
index 460e8f2c5fd1..63761278470a 100644
--- a/textproc/Makefile
+++ b/textproc/Makefile
@@ -71,6 +71,7 @@
SUBDIR += perl2html
SUBDIR += pspell
SUBDIR += pspell-ispell
+ SUBDIR += py-HyperText
SUBDIR += py-mxTextTools
SUBDIR += py-xml
SUBDIR += rand
diff --git a/textproc/py-HyperText/Makefile b/textproc/py-HyperText/Makefile
new file mode 100644
index 000000000000..d618301b053c
--- /dev/null
+++ b/textproc/py-HyperText/Makefile
@@ -0,0 +1,36 @@
+# Ports collection Makefile for: HyperText
+# Date created: 10/03/2000
+# Whom: nectar@FreeBSD.org
+#
+# $FreeBSD$
+#
+
+PORTNAME= HyperText
+PORTVERSION= 1.0.1
+CATEGORIES= textproc python
+MASTER_SITES= http://dustman.net/andy/python/HyperText/1.0.1/
+PKGNAMEPREFIX= py-
+
+MAINTAINER= nectar@FreeBSD.org
+
+USE_PYTHON= yes
+WRKSRC= ${WRKDIR}/HyperText
+
+# get rid of pre-compiled stuff: it may not work for the installed
+# version of Python
+post-extract:
+ @cd ${WRKSRC} && ${RM} -f *.py[co]
+
+do-build:
+ @${PYTHON_CMD} ${PYTHON_LIBDIR}/compileall.py ${WRKSRC}
+ @${PYTHON_CMD} -O ${PYTHON_LIBDIR}/compileall.py ${WRKSRC}
+
+do-install:
+ ${MKDIR} ${PYTHON_SITELIBDIR}/HyperText
+ ${CHOWN} ${BINOWN}:${BINGRP} ${PYTHON_SITELIBDIR}/HyperText
+ ${CHMOD} ${BINMODE} ${PYTHON_SITELIBDIR}/HyperText
+ @(set -e -x; cd ${WRKSRC}; for f in *.py *.py[co]; do \
+ ${INSTALL_DATA} $$f ${PYTHON_SITELIBDIR}/HyperText/$$f; \
+ done)
+
+.include <bsd.port.mk>
diff --git a/textproc/py-HyperText/distinfo b/textproc/py-HyperText/distinfo
new file mode 100644
index 000000000000..3c16d9e9e747
--- /dev/null
+++ b/textproc/py-HyperText/distinfo
@@ -0,0 +1 @@
+MD5 (HyperText-1.0.1.tar.gz) = 136032a01c0dad1f5ef380c67fe46d32
diff --git a/textproc/py-HyperText/pkg-comment b/textproc/py-HyperText/pkg-comment
new file mode 100644
index 000000000000..8f10952f28b1
--- /dev/null
+++ b/textproc/py-HyperText/pkg-comment
@@ -0,0 +1 @@
+Lightweight HTML/XHTML generator for Python
diff --git a/textproc/py-HyperText/pkg-descr b/textproc/py-HyperText/pkg-descr
new file mode 100644
index 000000000000..71a9b02234bb
--- /dev/null
+++ b/textproc/py-HyperText/pkg-descr
@@ -0,0 +1,4 @@
+A Python module for programatically generating HTML, XHTML, XML,
+and SGML.
+
+WWW: http://dustman.net/andy/python/
diff --git a/textproc/py-HyperText/pkg-plist b/textproc/py-HyperText/pkg-plist
new file mode 100644
index 000000000000..9480ba6e5003
--- /dev/null
+++ b/textproc/py-HyperText/pkg-plist
@@ -0,0 +1,28 @@
+lib/%%PYTHON_VERSION%%/site-packages/HyperText/Documents.pyc
+lib/%%PYTHON_VERSION%%/site-packages/HyperText/Documents.pyo
+lib/%%PYTHON_VERSION%%/site-packages/HyperText/HTML.pyc
+lib/%%PYTHON_VERSION%%/site-packages/HyperText/HTML.pyo
+lib/%%PYTHON_VERSION%%/site-packages/HyperText/HTML40.pyc
+lib/%%PYTHON_VERSION%%/site-packages/HyperText/HTML40.pyo
+lib/%%PYTHON_VERSION%%/site-packages/HyperText/SGML.pyc
+lib/%%PYTHON_VERSION%%/site-packages/HyperText/SGML.pyo
+lib/%%PYTHON_VERSION%%/site-packages/HyperText/XHTML.pyc
+lib/%%PYTHON_VERSION%%/site-packages/HyperText/XHTML.pyo
+lib/%%PYTHON_VERSION%%/site-packages/HyperText/XHTML10.pyc
+lib/%%PYTHON_VERSION%%/site-packages/HyperText/XHTML10.pyo
+lib/%%PYTHON_VERSION%%/site-packages/HyperText/XML.pyc
+lib/%%PYTHON_VERSION%%/site-packages/HyperText/XML.pyo
+lib/%%PYTHON_VERSION%%/site-packages/HyperText/__init__.pyc
+lib/%%PYTHON_VERSION%%/site-packages/HyperText/__init__.pyo
+lib/%%PYTHON_VERSION%%/site-packages/HyperText/license.pyc
+lib/%%PYTHON_VERSION%%/site-packages/HyperText/license.pyo
+lib/%%PYTHON_VERSION%%/site-packages/HyperText/Documents.py
+lib/%%PYTHON_VERSION%%/site-packages/HyperText/HTML.py
+lib/%%PYTHON_VERSION%%/site-packages/HyperText/HTML40.py
+lib/%%PYTHON_VERSION%%/site-packages/HyperText/SGML.py
+lib/%%PYTHON_VERSION%%/site-packages/HyperText/XHTML.py
+lib/%%PYTHON_VERSION%%/site-packages/HyperText/XHTML10.py
+lib/%%PYTHON_VERSION%%/site-packages/HyperText/XML.py
+lib/%%PYTHON_VERSION%%/site-packages/HyperText/__init__.py
+lib/%%PYTHON_VERSION%%/site-packages/HyperText/license.py
+@dirrm lib/%%PYTHON_VERSION%%/site-packages/HyperText