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

PORTNAME=   Paste
PORTVERSION=    1.3
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
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>