aboutsummaryrefslogtreecommitdiffstats
path: root/www/py-flup/Makefile
blob: 1506c11e8d6123842c550e4c3dae4bc1f9f64009 (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
# New ports collection makefile for:    py-flup
# Date created:     2006-12-16
# Whom:         Li-Wen Hsu <lwhsu@lwhsu.org>
#
# $FreeBSD$
#

PORTNAME=   flup
PORTVERSION=    0.5.r2307
CATEGORIES= www python
MASTER_SITES=   http://www.saddi.com/software/flup/dist/ \
        http://www.cs.nctu.edu.tw/~lwhsu/ports/distfiles/
PKGNAMEPREFIX=  ${PYTHON_PKGNAMEPREFIX}
DISTNAME=   flup-${PORTVERSION:E}

MAINTAINER= lwhsu@lwhsu.org
COMMENT=    Random assortment of WSGI servers, middleware

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

USE_PYTHON= 2.4+
USE_PYDISTUTILS=    yes

PYFLUP_EGG= ${PORTNAME}-${PORTVERSION:R}-py${PYTHON_VERSION:S/^python//}.egg

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

PLIST_SUB=  PYFLUP_EGG=${PYFLUP_EGG}

.include <bsd.port.mk>