pkgsrc/www/py-werkzeug-docs/Makefile
kleink 6a265a0893 Import the HTML documentation portion of Werkzeug-0.8.3 as
www/py-werkzeug-docs.

Based on PR pkg/47381 by Richard PALO.

This package contains the HTML documentation for Werkzeug.

Werkzeug is a WSGI utility library for Python. It's widely used
and BSD licensed.

Werkzeug started as a simple collection of various utilities for
WSGI applications and has become one of the most advanced WSGI
utility modules. It includes a powerful debugger, fully featured
request and response objects, HTTP utilities to handle entity tags,
cache control headers, HTTP dates, cookie handling, file uploads,
a powerful URL routing system and a bunch of community contributed
addon modules.

It does Unicode and doesn't enforce a specific template engine,
database adapter or anything else. It doesn't even enforce a specific
way of handling requests and leaves all that up to the developer.
2013-01-17 20:01:54 +00:00

29 lines
797 B
Makefile

# $NetBSD: Makefile,v 1.1 2013/01/17 20:01:54 kleink Exp $
PKGNAME= ${PYPKGPREFIX}-${DISTNAME:tl:C/-[^-]*$//}-docs-${DISTNAME:C/[^-]*-//}
COMMENT= Python WSGI Utility Library (HTML documentation)
NO_CONFIGURE= yes
BUILD_TARGET= documentation
USE_TOOLS+= pax
INSTALLATION_DIRS+= ${DOCDIR}/html
PLIST_SRC+= ${WRKDIR}/PLIST
.include "../../www/py-werkzeug/Makefile.common"
do-install:
cd ${WRKSRC}/docs/_build/html \
&& pax -rwppm . ${DESTDIR}${PREFIX}/${DOCDIR}/html
${RM} -f ${DESTDIR}${PREFIX}/${DOCDIR}/html/.buildinfo
cd ${DESTDIR}${PREFIX} \
&& ${FIND} ${DOCDIR}/html -type f -print > ${WRKDIR}/PLIST
PYTHON_FOR_BUILD_ONLY= yes
.include "../../lang/python/pyversion.mk"
BUILD_DEPENDS+= ${PYPKGPREFIX}-sphinx-[0-9]*:../../textproc/py-sphinx
.include "../../mk/bsd.pkg.mk"