openbsd-ports/textproc/py-docutils/Makefile
2007-10-08 08:22:38 +00:00

33 lines
757 B
Makefile

# $OpenBSD: Makefile,v 1.6 2007/10/08 08:22:43 steven Exp $
COMMENT= process plaintext documentation into other formats
DISTNAME= docutils-0.4
PKGNAME= py-${DISTNAME}p2
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>