freebsd-ports/www/py-clientform/Makefile
Alexander Botero-Lowry 4942ce5a7d - Make Python 2.5.1 the default Python version
- Add significantly better support in bsd.python.mk for working with
   Python Eggs and the easy_install system

Tested by:	pointyhat runs
Approved by:	pav (portmgr)
Most work by:	perky
Thanks to:	pav
2007-07-30 09:42:28 +00:00

35 lines
1,009 B
Makefile

# New ports collection makefile for: py-clientform
# Date created: 25 Jun 2004
# Whom: "Choe, Cheng-Dae" <whitekid@netian.com>
#
# $FreeBSD$
#
PORTNAME= clientform
PORTVERSION= 0.2.7
CATEGORIES= www python
MASTER_SITES= http://wwwsearch.sourceforge.net/ClientForm/src/ \
http://www.cs.nctu.edu.tw/~lwhsu/ports/distfiles/
PKGNAMEPREFIX= ${PYTHON_PKGNAMEPREFIX}
DISTNAME= ClientForm-${PORTVERSION}
MAINTAINER= lwhsu@FreeBSD.org
COMMENT= Client-side HTTP Form for Python
BUILD_DEPENDS= ${EASY_INSTALL_CMD}:${PORTSDIR}/devel/py-setuptools
RUN_DEPENDS= ${BUILD_DEPENDS}
USE_PYTHON= yes
USE_PYDISTUTILS= yes
PYDISTUTILS_PKGNAME= ClientForm
PYDISTUTILS_NOEGGINFO= yes # XXX convert easy_install support to bsd.python.mk's
PYCLIENTFORM_EGG= ClientForm-${PORTVERSION}-py${PYTHON_VER}.egg
EASY_INSTALL_CMD?= easy_install-${PYTHON_VER}
PLIST_SUB+= EASY_INSTALL_CMD=${EASY_INSTALL_CMD} \
PYCLIENTFORM_EGG=${PYCLIENTFORM_EGG} \
PYCLIENTFORM_EGG_VER="ClientForm==${PORTVERSION}"
.include <bsd.port.mk>