diff options
Diffstat (limited to 'textproc')
-rw-r--r-- | textproc/Makefile | 1 | ||||
-rw-r--r-- | textproc/py-HyperText/Makefile | 36 | ||||
-rw-r--r-- | textproc/py-HyperText/distinfo | 1 | ||||
-rw-r--r-- | textproc/py-HyperText/pkg-comment | 1 | ||||
-rw-r--r-- | textproc/py-HyperText/pkg-descr | 4 | ||||
-rw-r--r-- | textproc/py-HyperText/pkg-plist | 28 |
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 |