aboutsummaryrefslogtreecommitdiffstats
path: root/textproc/py2html/Makefile
diff options
context:
space:
mode:
authorpetef <petef@FreeBSD.org>2001-08-29 07:58:15 +0800
committerpetef <petef@FreeBSD.org>2001-08-29 07:58:15 +0800
commitcd197c8840aabbb3a1a764cf9fe6a143cadb7278 (patch)
tree936fadddffbc30a9ecd6d3000c0ef73ea29870c4 /textproc/py2html/Makefile
parent23810892eee63076d2b404f3db3c77437fc56303 (diff)
downloadfreebsd-ports-gnome-cd197c8840aabbb3a1a764cf9fe6a143cadb7278.tar.gz
freebsd-ports-gnome-cd197c8840aabbb3a1a764cf9fe6a143cadb7278.tar.zst
freebsd-ports-gnome-cd197c8840aabbb3a1a764cf9fe6a143cadb7278.zip
add py2html 0.6
Python Highlighter for HTML PR: 22970 Submitted by: perky@python.or.kr
Diffstat (limited to 'textproc/py2html/Makefile')
-rw-r--r--textproc/py2html/Makefile28
1 files changed, 28 insertions, 0 deletions
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>