openbsd-ports/www/py-werkzeug/Makefile

39 lines
847 B
Makefile
Raw Normal View History

# $OpenBSD: Makefile,v 1.10 2011/12/31 15:06:41 fgsch Exp $
2011-03-09 06:39:01 -05:00
COMMENT = WSGI utility collection
MODPY_EGG_VERSION = 0.8.2
2011-03-09 06:39:01 -05:00
DISTNAME = Werkzeug-${MODPY_EGG_VERSION}
PKGNAME = py-${DISTNAME:L}
2011-03-09 06:39:01 -05:00
CATEGORIES = www devel
2011-03-09 06:39:01 -05:00
HOMEPAGE = http://werkzeug.pocoo.org/
MASTER_SITES = ${MASTER_SITE_PYPI:=W/Werkzeug/}
# BSD
2011-03-09 06:39:01 -05:00
PERMIT_PACKAGE_CDROM = Yes
PERMIT_PACKAGE_FTP = Yes
PERMIT_DISTFILES_CDROM = Yes
PERMIT_DISTFILES_FTP = Yes
2011-03-09 06:39:01 -05:00
MODULES = lang/python
MODPY_SETUPTOOLS = Yes
PKG_ARCH = *
BUILD_DEPENDS = textproc/py-sphinx
2011-03-09 06:39:01 -05:00
REGRESS_DEPENDS = devel/py-nose \
textproc/py-lxml
post-build:
cd ${WRKSRC}/docs && \
${LOCALBASE}/bin/sphinx-build -N -b html . _build/html
post-install:
2011-03-09 06:39:01 -05:00
${INSTALL_DATA_DIR} ${PREFIX}/share/doc/py-werkzeug
cd ${WRKSRC}/docs/_build/html && \
pax -rw * ${PREFIX}/share/doc/py-werkzeug
.include <bsd.port.mk>