| @@ -1,19 +1,20 @@ | | | @@ -1,19 +1,20 @@ |
1 | # $NetBSD: Makefile,v 1.13 2019/10/21 22:11:34 adam Exp $ | | 1 | # $NetBSD: Makefile,v 1.14 2019/11/14 05:25:43 gutteridge Exp $ |
2 | | | 2 | |
3 | PKGNAME= ${PYPKGPREFIX}-werkzeug-docs-${DISTNAME:C/[^-]*-//} | | 3 | PKGNAME= ${PYPKGPREFIX}-werkzeug-docs-${DISTNAME:C/[^-]*-//} |
| | | 4 | PKGREVISION= 1 |
4 | COMMENT= Python WSGI Utility Library (HTML documentation) | | 5 | COMMENT= Python WSGI Utility Library (HTML documentation) |
5 | | | 6 | |
6 | TOOL_DEPENDS+= ${PYPKGPREFIX}-pallets-sphinx-themes-[0-9]*:../../textproc/py-pallets-sphinx-themes | | 7 | TOOL_DEPENDS+= ${PYPKGPREFIX}-pallets-sphinx-themes>=1.2.2nb1:../../textproc/py-pallets-sphinx-themes |
7 | TOOL_DEPENDS+= ${PYPKGPREFIX}-sphinx-issues-[0-9]*:../../textproc/py-sphinx-issues | | 8 | TOOL_DEPENDS+= ${PYPKGPREFIX}-sphinx-issues-[0-9]*:../../textproc/py-sphinx-issues |
8 | TOOL_DEPENDS+= ${PYPKGPREFIX}-werkzeug-[0-9]*:../../www/py-werkzeug | | 9 | TOOL_DEPENDS+= ${PYPKGPREFIX}-werkzeug-[0-9]*:../../www/py-werkzeug |
9 | | | 10 | |
10 | USE_TOOLS+= gmake | | 11 | USE_TOOLS+= gmake |
11 | NO_CONFIGURE= yes | | 12 | NO_CONFIGURE= yes |
12 | BUILD_TARGET= html | | 13 | BUILD_TARGET= html |
13 | BUILD_DIRS= docs | | 14 | BUILD_DIRS= docs |
14 | | | 15 | |
15 | INSTALLATION_DIRS+= ${DOCDIR}/html | | 16 | INSTALLATION_DIRS+= ${DOCDIR}/html |
16 | | | 17 | |
17 | DOCDIR= share/doc/${PYPKGPREFIX}-${DISTNAME:tl:C/-[^-]*$//} | | 18 | DOCDIR= share/doc/${PYPKGPREFIX}-${DISTNAME:tl:C/-[^-]*$//} |
18 | PLIST_SUBST+= DOCDIR=${DOCDIR} | | 19 | PLIST_SUBST+= DOCDIR=${DOCDIR} |
19 | PLIST_SRC+= ${WRKDIR}/PLIST | | 20 | PLIST_SRC+= ${WRKDIR}/PLIST |