aboutsummaryrefslogtreecommitdiff
path: root/www/py-tgwebservices/Makefile
blob: f4622dd74e21482698f1cc383685e15133ed9788 (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
38
39
# New ports collection makefile for:	py-tgwebservices
# Date created:		2007-02-14
# Whom:			Nicola Vitale <nivit@FreeBSD.org>
#
# $FreeBSD$
#

PORTNAME=	tgwebservices
PORTVERSION=	1.1.2
PORTREVISION=	1
CATEGORIES=	www python
MASTER_SITES=	http://cheeseshop.python.org/packages/source/T/${PYTGWEBSERVICES}/ \
		LOCAL/nivit/${PYTGWEBSERVICES}/
PKGNAMEPREFIX=	${PYTHON_PKGNAMEPREFIX}
DISTNAME=	${PYTGWEBSERVICES}-${PORTVERSION}

MAINTAINER=	python@FreeBSD.org
COMMENT=	Multiprotocol Web Services for TurboGears

BUILD_DEPENDS=	${EASY_INSTALL_CMD}:${PORTSDIR}/devel/py-setuptools \
		${PYTHON_PKGNAMEPREFIX}TurboGears>=1.0.1:${PORTSDIR}/www/py-turbogears \
		${PYTHON_PKGNAMEPREFIX}Genshi>=0.3.6:${PORTSDIR}/textproc/py-genshi
RUN_DEPENDS=	${BUILD_DEPENDS}

USE_PYTHON=	2.4+
USE_PYDISTUTILS=	yes
PYDISTUTILS_NOEGGINFO=	yes # XXX convert easy_install support to bsd.python.mk's
PYDISTUTILS_PKGNAME=	TGWebServices

PLIST_SUB=	EASY_INSTALL_CMD=${EASY_INSTALL_CMD} \
		PORTNAME=${PORTNAME} PORTVERSION=${PORTVERSION} \
		PYTGWEBSERVICES_EGG=${PYTGWEBSERVICES_EGG}

EASY_INSTALL_CMD?=	easy_install-${PYTHON_VER}

PYTGWEBSERVICES=	TGWebServices
PYTGWEBSERVICES_EGG=	${PYTGWEBSERVICES}-${PORTVERSION}-py${PYTHON_VER}.egg

.include <bsd.port.mk>