openbsd-ports/textproc/py-pygments/Makefile

31 lines
636 B
Makefile

# $OpenBSD: Makefile,v 1.6 2008/07/29 08:50:16 djm Exp $
COMMENT= Python syntax highlighter
DISTNAME= Pygments-0.9
PKGNAME= ${DISTNAME:L:S/^/py-/}
CATEGORIES= textproc devel
HOMEPAGE= http://pygments.org/
MAINTAINER= Damien Miller <djm@openbsd.org>
MODULES= lang/python
PKG_ARCH= *
# BSD
PERMIT_PACKAGE_CDROM= Yes
PERMIT_PACKAGE_FTP= Yes
PERMIT_DISTFILES_CDROM= Yes
PERMIT_DISTFILES_FTP= Yes
MASTER_SITES= http://pypi.python.org/packages/source/P/Pygments/
MODPY_SETUPTOOLS= Yes
do-regress: fake
@cd ${WRKSRC}/tests && ${MAKE_ENV} \
PYTHONPATH=${WRKINST}${MODPY_SITEPKG} \
${MODPY_BIN} ./run.py
.include <bsd.port.mk>