diff options
-rw-r--r-- | textproc/Makefile | 1 | ||||
-rw-r--r-- | textproc/py2html/Makefile | 28 | ||||
-rw-r--r-- | textproc/py2html/distinfo | 1 | ||||
-rw-r--r-- | textproc/py2html/pkg-comment | 1 | ||||
-rw-r--r-- | textproc/py2html/pkg-descr | 2 | ||||
-rw-r--r-- | textproc/py2html/pkg-plist | 4 |
6 files changed, 37 insertions, 0 deletions
diff --git a/textproc/Makefile b/textproc/Makefile index 279b1d076227..ce3f96ce0ffe 100644 --- a/textproc/Makefile +++ b/textproc/Makefile @@ -157,6 +157,7 @@ SUBDIR += py-sgrep SUBDIR += py-trex SUBDIR += py-xml + SUBDIR += py2html SUBDIR += rand SUBDIR += replaceit SUBDIR += rman diff --git a/textproc/py2html/Makefile b/textproc/py2html/Makefile new file mode 100644 index 000000000000..8aec0198891f --- /dev/null +++ b/textproc/py2html/Makefile @@ -0,0 +1,28 @@ +# New ports collection makefile for: py2html +# Date created: 15 Nov 2000 +# Whom: Hye-Shik Chang <perky@python.or.kr> +# +# $FreeBSD$ +# + +PORTNAME= py2html +PORTVERSION= 0.6 +CATEGORIES= textproc www python +MASTER_SITES= http://dist.freebsd-kr.org/pub/FreeBSD/ports/distfiles/ \ + ftp://ftp2.python.or.kr/pub/FreeBSD/ports/distfiles/ + +MAINTAINER= perky@python.or.kr + +USE_PYTHON= yes +PLIST_SUB+= PYTHON_LIBPATH=${PYTHON_LIBPATH:S/^${LOCALBASE}//g}lib \ + PYTHON_SITELIBDIR=${PYTHON_SITELIBDIR:S/^${LOCALBASE}\///g} + +do-build: + @${PYTHON_CMD} ${PYTHON_LIBDIR}/compileall.py ${WRKSRC} + +do-install: + ${INSTALL_SCRIPT} ${WRKSRC}/PyFontify.py* ${PYTHON_SITELIBDIR}/ + ${INSTALL_SCRIPT} ${WRKSRC}/py2html.py ${LOCALBASE}/bin/py2html + ${INSTALL_SCRIPT} ${WRKSRC}/py2html.pyc ${LOCALBASE}/bin/ + +.include <bsd.port.mk> diff --git a/textproc/py2html/distinfo b/textproc/py2html/distinfo new file mode 100644 index 000000000000..b214246c911d --- /dev/null +++ b/textproc/py2html/distinfo @@ -0,0 +1 @@ +MD5 (py2html-0.6.tar.gz) = f709244d201e3ebb152d05310fcc5bfb diff --git a/textproc/py2html/pkg-comment b/textproc/py2html/pkg-comment new file mode 100644 index 000000000000..00cb3117ed19 --- /dev/null +++ b/textproc/py2html/pkg-comment @@ -0,0 +1 @@ +Python Highlighter for HTML diff --git a/textproc/py2html/pkg-descr b/textproc/py2html/pkg-descr new file mode 100644 index 000000000000..828f2c4e511d --- /dev/null +++ b/textproc/py2html/pkg-descr @@ -0,0 +1,2 @@ +Py2html is a console/CGI library that beautifies +python source files. diff --git a/textproc/py2html/pkg-plist b/textproc/py2html/pkg-plist new file mode 100644 index 000000000000..59d917a67e54 --- /dev/null +++ b/textproc/py2html/pkg-plist @@ -0,0 +1,4 @@ +bin/py2html +bin/py2html.pyc +%%PYTHON_SITELIBDIR%%/PyFontify.py +%%PYTHON_SITELIBDIR%%/PyFontify.pyc |