openbsd-ports/textproc/py-docutils/Makefile
2007-05-17 09:56:44 +00:00

33 lines
759 B
Makefile

# $OpenBSD: Makefile,v 1.4 2007/05/17 09:56:44 steven Exp $
COMMENT= "process plaintext documentation into other formats"
DISTNAME= docutils-0.4
PKGNAME= py-${DISTNAME}p1
CATEGORIES= textproc
MAINTAINER= Ben Lovett <ben@tilderoot.com>
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 html s5 latex newlatex xml pseudoxml
@mv ${WRKSRC}/tools/rst2${file}{.py,}
.endfor
do-regress: fake
@cd ${WRKSRC}/test && ${SETENV} PYTHONPATH=${WRKINST}${MODPY_SITEPKG} \
${MODPY_BIN} ./alltests.py
.include <bsd.port.mk>