cecd60a6b0
Components: * HTML writer: o Support SVG and SWF images (thanks to Stefan Rank). o Generate valid XHTML for centered images with targets. Use CSS classes instead of "align" tags for image alignment. * LaTeX2e writer: o Use the \url command for URLs (breaks long URLs instead of writing into the margin). o Preserve runs of spaces in 'inline literals'. o Deprecate figure_footnotes setting. o Rename use_latex_footnotes setting to docutils_footnotes. o New latex_preamble setting. o Use PDF standard fonts (Times/Helvetica/Courier) as default. o hyperref package called with unicode option (see the hyperref config tips for how to override). o Drop the special output_encoding default ("latin-1"). The Docutils wide default (usually "UTF-8") is used instead. * manpage writer: o Titles level 1, that is .SH, always uppercase. o Apply patch from mg: literal text should be bold in man-pages. General: * io.FileInput opens files as text files with universal newline support (mode "rU", configurable with the new optional argument "mode"). * setup.py: o Python 3 support: copy test/ and tools/ to the build-dir and convert Python sources with 2to3.
23 lines
517 B
Makefile
23 lines
517 B
Makefile
# $NetBSD: Makefile,v 1.31 2010/12/02 15:00:03 wiz Exp $
|
|
|
|
DISTNAME= docutils-0.7
|
|
PKGNAME= ${PYPKGPREFIX}-${DISTNAME}
|
|
CATEGORIES= textproc python
|
|
MASTER_SITES= ${MASTER_SITE_SOURCEFORGE:=docutils/}
|
|
|
|
MAINTAINER= darcy@NetBSD.org
|
|
HOMEPAGE= http://docutils.sourceforge.net/
|
|
COMMENT= Python tool to generate documents
|
|
|
|
PKG_DESTDIR_SUPPORT= user-destdir
|
|
|
|
PYDISTUTILSPKG= YES
|
|
|
|
.include "../../lang/python/extension.mk"
|
|
|
|
PLIST_VARS+= std
|
|
.if !empty(PYVERSSUFFIX:M2*[12])
|
|
PLIST.std= yes
|
|
.endif
|
|
|
|
.include "../../mk/bsd.pkg.mk"
|