aboutsummaryrefslogtreecommitdiffstats
path: root/www/py-werkzeug/Makefile
blob: d2bb755946386e4f70080a28bb1d9b0f06f2570b (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
35
# Ports collection makefile for:    py-werkzeug
# Date created:             12 January 2010
# Whom:                 Moggie <moggie@elasticmind.net>
#
# $FreeBSD$
#

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

MAINTAINER= moggie@elasticmind.net
COMMENT=    Python utilities collection for building WSGI applications

USE_ZIP=    yes
USE_PYTHON= 2.6+
USE_PYDISTUTILS=    easy_install
PYDISTUTILS_PKGNAME=    Werkzeug
PYDISTUTILS_PKGVERSION= ${DISTVERSION}
PYDISTUTILS_NOEGGINFO=  yes

EXAMPLESDIR=    ${PREFIX}/share/examples/${PYTHON_PKGNAMEPREFIX}${PORTNAME}

.include <bsd.port.pre.mk>

post-install:
.if !defined(NOPORTEXAMPLES)
    ${MKDIR} ${EXAMPLESDIR}
    @cd ${WRKSRC}/examples/ && ${COPYTREE_SHARE} . ${EXAMPLESDIR}
.endif

.include <bsd.port.post.mk>