# $OpenBSD: Makefile,v 1.13 2011/09/16 11:41:41 espie Exp $ COMMENT = process plaintext documentation into other formats MODPY_EGG_VERSION = 0.8 DISTNAME = docutils-${MODPY_EGG_VERSION} REVISION= 0 PKGNAME = py-${DISTNAME} CATEGORIES = textproc MAINTAINER = Ben Lovett HOMEPAGE = http://docutils.sourceforge.net/ # BSD/GPL/Python Software License PERMIT_PACKAGE_CDROM = Yes PERMIT_PACKAGE_FTP = Yes PERMIT_DISTFILES_CDROM =Yes PERMIT_DISTFILES_FTP = Yes MASTER_SITES = ${MASTER_SITE_SOURCEFORGE:=docutils/} MODULES = lang/python pre-build: .for file in 2html 2s5 2latex 2xetex 2man 2xml 2pseudoxml 2odt 2odt_prepstyles pep2html @mv ${WRKSRC}/tools/rst${file}{.py,} .endfor do-regress: fake @cd ${WRKSRC}/test && ${MODPY_BIN} ./alltests.py .include