openbsd-ports/www/py-werkzeug/Makefile

35 lines
771 B
Makefile
Raw Normal View History

# $OpenBSD: Makefile,v 1.12 2013/03/10 10:59:42 fgsch Exp $
2011-03-09 06:39:01 -05:00
COMMENT = WSGI utility collection
2012-08-10 16:13:37 -04:00
MODPY_EGG_VERSION = 0.8.3
2011-03-09 06:39:01 -05:00
DISTNAME = Werkzeug-${MODPY_EGG_VERSION}
PKGNAME = py-${DISTNAME:L}
REVISION = 0
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
2011-03-09 06:39:01 -05:00
MODULES = lang/python
MODPY_SETUPTOOLS = Yes
PKG_ARCH = *
BUILD_DEPENDS = textproc/py-sphinx
post-build:
cd ${WRKSRC}/docs && $(MAKE_PROGRAM) html
post-install:
2012-08-10 16:13:37 -04:00
${INSTALL_DATA_DIR} ${PREFIX}/share/doc/${MODPY_PY_PREFIX}werkzeug
2011-03-09 06:39:01 -05:00
cd ${WRKSRC}/docs/_build/html && \
pax -rw _images _static contrib deployment *.{inv,js,html} \
${PREFIX}/share/doc/${MODPY_PY_PREFIX}werkzeug
.include <bsd.port.mk>