aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--textproc/py2html/Makefile19
-rw-r--r--textproc/py2html/distinfo2
-rw-r--r--textproc/py2html/pkg-plist3
3 files changed, 9 insertions, 15 deletions
diff --git a/textproc/py2html/Makefile b/textproc/py2html/Makefile
index e8591b196b89..746b259dc3e5 100644
--- a/textproc/py2html/Makefile
+++ b/textproc/py2html/Makefile
@@ -6,23 +6,16 @@
#
PORTNAME= py2html
-PORTVERSION= 0.6
+PORTVERSION= 0.7
CATEGORIES= textproc www python
-MASTER_SITES= http://dist.freebsd-kr.org/pub/FreeBSD/ports/distfiles/ \
- ftp://ftp2.python.or.kr/pub/FreeBSD/ports/distfiles/
+MASTER_SITES= http://www3.kr.freebsd.org/~perky/distfiles/ \
+ http://cvsup3.kr.freebsd.org/~perky/distfiles/
+PKGNAMESUFFIX= -${PYTHON_PKGNAMEPREFIX:S/-//}
MAINTAINER= perky@fallin.lv
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/
+PLIST_SUB+= PYTHON_SITELIBDIR=${PYTHON_SITELIBDIR:S,^${LOCALBASE}/,,g}
+MAKE_ENV= PORTSDIR=${PORTSDIR}
.include <bsd.port.mk>
diff --git a/textproc/py2html/distinfo b/textproc/py2html/distinfo
index b214246c911d..a20f26840457 100644
--- a/textproc/py2html/distinfo
+++ b/textproc/py2html/distinfo
@@ -1 +1 @@
-MD5 (py2html-0.6.tar.gz) = f709244d201e3ebb152d05310fcc5bfb
+MD5 (py2html-0.7.tar.gz) = 754d9853bce6cf9ce08e204bd9a893c5
diff --git a/textproc/py2html/pkg-plist b/textproc/py2html/pkg-plist
index 59d917a67e54..3392f0a22729 100644
--- a/textproc/py2html/pkg-plist
+++ b/textproc/py2html/pkg-plist
@@ -1,4 +1,5 @@
bin/py2html
-bin/py2html.pyc
%%PYTHON_SITELIBDIR%%/PyFontify.py
%%PYTHON_SITELIBDIR%%/PyFontify.pyc
+%%PYTHON_SITELIBDIR%%/py2html.py
+%%PYTHON_SITELIBDIR%%/py2html.pyc