aboutsummaryrefslogtreecommitdiffstats
path: root/devel/py-wsgiutils/Makefile
blob: 4d43052ea29358395b2239410a7fda0a5c9df0cb (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
# New ports collection makefile for:    py-wsgiutils
# Date created:                 25 June 2006
# Whom:                         Jordi Haarman
#
# $FreeBSD$
#

PORTNAME=   wsgiutils
PORTVERSION=    0.7
PORTREVISION=   1
CATEGORIES= devel textproc www python
MASTER_SITES=   http://www.owlfish.com/software/wsgiutils/downloads/
PKGNAMEPREFIX=  ${PYTHON_PKGNAMEPREFIX}
DISTNAME=   WSGIUtils-${PORTVERSION}

MAINTAINER= j.haarman@synantics.com
COMMENT=    Utility libraries for development of simple WSGI programs

BUILD_DEPENDS=  easy_install:${PORTSDIR}/devel/py-setuptools
RUN_DEPENDS=    ${BUILD_DEPENDS}

USE_PYTHON= yes
USE_PYDISTUTILS=yes

PLIST_FILES=    ${PYTHON_SITELIBDIR:S,${PREFIX}/,,}/${PYWSGIUTILS_EGG}
PLIST_SUB=  PYWSGIUTILS_EGG="${PYWSGIUTILS_EGG}"

SUB_FILES+= pkg-deinstall pkg-install
SUB_LIST+=  EGG="WSGIUtils==${PORTVERSION}" \
        PYTHON_SITELIBDIR=${PYTHON_SITELIBDIR}

PYWSGIUTILS_EGG=    WSGIUtils-${PORTVERSION}-py${PYTHON_VER}.egg

.include <bsd.port.mk>