2010-11-20 14:56:47 -05:00
|
|
|
# $OpenBSD: Makefile,v 1.12 2010/11/20 19:56:51 espie Exp $
|
2007-09-15 16:59:36 -04:00
|
|
|
COMMENT= Python syntax highlighter
|
2007-07-02 02:21:59 -04:00
|
|
|
|
2010-06-16 03:40:30 -04:00
|
|
|
MODPY_EGG_VERSION = 1.3.1
|
|
|
|
|
|
|
|
DISTNAME= Pygments-${MODPY_EGG_VERSION}
|
|
|
|
PKGNAME= ${DISTNAME:L:S/^/py-/}
|
2010-08-30 17:47:15 -04:00
|
|
|
REVISION= 0
|
2007-07-02 02:21:59 -04:00
|
|
|
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
|
|
|
|
|
2009-08-07 04:36:52 -04:00
|
|
|
MASTER_SITES= ${MASTER_SITE_PYPI:=P/Pygments/}
|
2007-07-02 02:21:59 -04:00
|
|
|
|
|
|
|
MODPY_SETUPTOOLS= Yes
|
2010-11-20 14:56:47 -05:00
|
|
|
REGRESS_DEPENDS= devel/py-nose
|
2007-07-02 02:21:59 -04:00
|
|
|
|
|
|
|
do-regress: fake
|
|
|
|
@cd ${WRKSRC}/tests && ${MAKE_ENV} \
|
|
|
|
PYTHONPATH=${WRKINST}${MODPY_SITEPKG} \
|
|
|
|
${MODPY_BIN} ./run.py
|
|
|
|
|
|
|
|
.include <bsd.port.mk>
|