blob: 5317e47155ec097da8d3d219199ecb52aa606907 (
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
40
41
|
# 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.r2311
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@FreeBSD.org
COMMENT= Random assortment of WSGI servers, middleware
BUILD_DEPENDS= ${EASY_INSTALL_CMD}:${PORTSDIR}/devel/py-setuptools
RUN_DEPENDS= ${BUILD_DEPENDES}
USE_PYTHON= 2.4+
USE_PYDISTUTILS= yes
PYDISTUTILS_PKGVERSION= 0.5
PYDISTUTILS_NOEGGINFO= yes # XXX convert easy_install support to bsd.python.mk's
EASY_INSTALL_CMD?= easy_install-${PYTHON_VER}
WRKSRC= ${WRKDIR}/${PORTNAME}-${PORTVERSION:R}
PYDISTUTILS_BUILD_TARGET= bdist_egg
PYDISTUTILS_INSTALL_TARGET= easy_install
PYDISTUTILS_INSTALLARGS= -O 1 -N -S ${PYTHON_SITELIBDIR} ${WRKSRC}/dist/${PYFLUP_EGG}
PYFLUP_EGG= ${PORTNAME}-${PORTVERSION:R}-py${PYTHON_VER}.egg
PLIST_SUB+= EASY_INSTALL_CMD=${EASY_INSTALL_CMD} \
PYFLUP_EGG=${PYFLUP_EGG} \
PYFLUP_EGG_VER="${PORTNAME}==${PORTVERSION:R}"
.include <bsd.port.mk>
|