aboutsummaryrefslogtreecommitdiffstats
path: root/www/py-werkzeug/Makefile
blob: 7b1f1ce6c84407638485b4e252f5e300ef992057 (plain) (blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
# Created by: Moggie <moggie@elasticmind.net>
# $FreeBSD$

PORTNAME=   werkzeug
PORTVERSION=    0.14.1
CATEGORIES= www python
MASTER_SITES=   CHEESESHOP
PKGNAMEPREFIX=  ${PYTHON_PKGNAMEPREFIX}
DISTNAME=   Werkzeug-${DISTVERSION}

MAINTAINER= python@FreeBSD.org
COMMENT=    Python utilities collection for building WSGI applications

LICENSE=    BSD3CLAUSE
LICENSE_FILE=   ${WRKSRC}/LICENSE

RUN_DEPENDS=    ${PYTHON_PKGNAMEPREFIX}openssl>=16.0:security/py-openssl@${FLAVOR}

OPTIONS_DEFINE= EXAMPLES WATCHDOG
WATCHDOG_DESC=  Monitor filesystem events
WATCHDOG_RUN_DEPENDS=   ${PYTHON_PKGNAMEPREFIX}watchdog>=0.8:devel/py-watchdog@${FLAVOR} \
            ${PYTHON_PKGNAMEPREFIX}termcolor>=1.1.0:devel/py-termcolor@${FLAVOR}

NO_ARCH=    yes
USES=       python
USE_PYTHON= autoplist concurrent distutils

PORTEXAMPLES=   *

post-install-EXAMPLES-on:
    @${MKDIR} ${STAGEDIR}${EXAMPLESDIR}
    (cd ${WRKSRC}/examples/ && ${COPYTREE_SHARE} . ${STAGEDIR}${EXAMPLESDIR})

.include <bsd.port.mk>