diff options
author | miwi <miwi@FreeBSD.org> | 2008-05-22 08:49:07 +0800 |
---|---|---|
committer | miwi <miwi@FreeBSD.org> | 2008-05-22 08:49:07 +0800 |
commit | 8c50183718e0cc53ed95d9b62b09586c22f48d05 (patch) | |
tree | d49ebceb6349b1081f0a76bca84ea04ddf396fb5 | |
parent | 32059224fe1ad4918caf03de97b5d6d82bfb30b9 (diff) | |
download | freebsd-ports-gnome-8c50183718e0cc53ed95d9b62b09586c22f48d05.tar.gz freebsd-ports-gnome-8c50183718e0cc53ed95d9b62b09586c22f48d05.tar.zst freebsd-ports-gnome-8c50183718e0cc53ed95d9b62b09586c22f48d05.zip |
- Update to 3.0.1
PR: 123868
Submitted by: Ports Fury
-rw-r--r-- | devel/epydoc/Makefile | 23 | ||||
-rw-r--r-- | devel/epydoc/distinfo | 6 | ||||
-rw-r--r-- | devel/epydoc/pkg-plist | 1 |
3 files changed, 13 insertions, 17 deletions
diff --git a/devel/epydoc/Makefile b/devel/epydoc/Makefile index d39568370218..0bda461ccfc8 100644 --- a/devel/epydoc/Makefile +++ b/devel/epydoc/Makefile @@ -7,42 +7,37 @@ # PORTNAME= epydoc -PORTVERSION= 3.0 +PORTVERSION= 3.0.1 CATEGORIES= devel -MASTER_SITES= ${MASTER_SITE_SOURCEFORGE} -MASTER_SITE_SUBDIR= ${PORTNAME} +MASTER_SITES= SF MAINTAINER= ports@FreeBSD.org COMMENT= Python API documentation generation tool +OPTIONS= UTF8 "Use UTF-8 instead of iso-8859-1 in HTMLs" off + USE_PYTHON= yes USE_PYDISTUTILS= yes MAN1= epydoc.1 epydocgui.1 -OPTIONS= UTF8 "Use UTF-8 instead of iso-8859-1 in HTMLs" off - -HTMLENCODINGFILES= epydoc/docwriter/html_colorize.py \ - epydoc/docwriter/html.py \ - epydoc/docparser.py - .include <bsd.port.pre.mk> .if defined(WITH_UTF8) HTMLENCODING?= utf-8 .endif -.if defined(HTMLENCODING) + post-patch: -.for f in ${HTMLENCODINGFILES} - ${REINPLACE_CMD} 's,iso-8859-1,${HTMLENCODING},g' ${WRKSRC}/${f} -.endfor +.if defined(HTMLENCODING) + @${GREP} -lR "iso-8859-1" ${WRKSRC}/epydoc | \ + ${XARGS} ${REINPLACE_CMD} -e 's|iso-8859-1|${HTMLENCODING}|g' .endif post-install: cd ${WRKSRC}/man && ${INSTALL_MAN} ${MAN1} ${MAN1PREFIX}/man/man1 .if !defined(NOPORTDOCS) @${MKDIR} ${DOCSDIR} - ${CP} -R ${WRKSRC}/doc/* ${DOCSDIR} + @(cd ${WRKSRC}/doc && ${COPYTREE_SHARE} . ${DOCSDIR}) .endif .include <bsd.port.post.mk> diff --git a/devel/epydoc/distinfo b/devel/epydoc/distinfo index 7306df594cd6..c255a3c88475 100644 --- a/devel/epydoc/distinfo +++ b/devel/epydoc/distinfo @@ -1,3 +1,3 @@ -MD5 (epydoc-3.0.tar.gz) = d8034da7eb417ac69e28af69e88facdd -SHA256 (epydoc-3.0.tar.gz) = 88227e10e14563ffb7309128578a6f2a95d6b5bd09970be67ab49b3bf69f05a4 -SIZE (epydoc-3.0.tar.gz) = 1775174 +MD5 (epydoc-3.0.1.tar.gz) = cdd6f6c76dd8bab5e653a343a0544294 +SHA256 (epydoc-3.0.1.tar.gz) = d4e5c8d90937d01b05170f592c1fa9b29e9ed0498dfe7f0eb2a3af61725b6ad1 +SIZE (epydoc-3.0.1.tar.gz) = 1785792 diff --git a/devel/epydoc/pkg-plist b/devel/epydoc/pkg-plist index d46d7f8a0a61..734d7fb92171 100644 --- a/devel/epydoc/pkg-plist +++ b/devel/epydoc/pkg-plist @@ -378,6 +378,7 @@ bin/epydocgui %%PORTDOCS%%%%DOCSDIR%%/examples/redirect.html %%PORTDOCS%%%%DOCSDIR%%/examples/sre-module.html %%PORTDOCS%%%%DOCSDIR%%/examples/sre-pysrc.html +%%PORTDOCS%%%%DOCSDIR%%/examples/sre.Scanner-class.html %%PORTDOCS%%%%DOCSDIR%%/examples/sre_constants.error-class.html %%PORTDOCS%%%%DOCSDIR%%/examples/term-index.html %%PORTDOCS%%%%DOCSDIR%%/examples/toc-epytext_example-module.html |