freebsd-ports/www/py-werkzeug/Makefile

34 lines
941 B
Makefile

# 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>