aboutsummaryrefslogtreecommitdiffstats
path: root/www/py-paste/Makefile
blob: e5abf476338b6ef5aff5989eac5036260bdd1dda (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
36
37
# New ports collection makefile for:    py-paste
# Date created:     14 December 2006
# Whom:         Dryice Liu  <dryice@dryice.name>
#
# $FreeBSD$
#

PORTNAME=   Paste
PORTVERSION=    1.6
CATEGORIES= www python
MASTER_SITES=   http://cheeseshop.python.org/packages/source/P/Paste/ \
        ${MASTER_SITE_LOCAL} \
        http://dryice.name/computer/FreeBSD/distfiles/
MASTER_SITE_SUBDIR= dryice
PKGNAMEPREFIX=  ${PYTHON_PKGNAMEPREFIX}

MAINTAINER= dryice@FreeBSD.org
COMMENT=    Tools for using a Web Server Gateway Interface stack

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

USE_PYTHON= 2.3+
USE_PYDISTUTILS=    yes
PYDISTUTILS_NOEGGINFO=  yes # XXX convert easy_install support to bsd.python.mk's
PASTEVER?=  ${PORTVERSION}
PYTHONVER?= ${_PYTHON_VERSION}
PLIST_SUB=  PASTEVER=${PASTEVER} \
        PYTHONVER=${PYTHONVER}

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

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

.include <bsd.port.mk>