1
0
mirror of https://git.FreeBSD.org/ports.git synced 2024-12-06 01:57:40 +00:00
freebsd-ports/devel/py-pytz/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

39 lines
1.0 KiB
Makefile

# New ports collection makefile for: py-tz
# Date created: Mar 22, 2006
# Whom: Khairil Yusof <kaeru@inigo-tech.com>
#
# $FreeBSD$
#
PORTNAME= pytz
PORTVERSION= 2007f
CATEGORIES= devel python
MASTER_SITES= CHEESESHOP \
http://www.cs.nctu.edu.tw/~lwhsu/ports/distfiles/
PKGNAMEPREFIX= ${PYTHON_PKGNAMEPREFIX}
MAINTAINER= lwhsu@FreeBSD.org
COMMENT= World Timezone Definitions for Python
BUILD_DEPENDS= ${EASY_INSTALL_CMD}:${PORTSDIR}/devel/py-setuptools
RUN_DEPENDS= ${BUILD_DEPENDS}
USE_BZIP2= yes
USE_PYTHON= yes
USE_PYDISTUTILS= yes
EASY_INSTALL_CMD?= easy_install-${PYTHON_VER}
PYDISTUTILS_NOEGGINFO= yes # XXX convert easy_install support to bsd.python.mk's
PYDISTUTILS_BUILD_TARGET= bdist_egg
PYDISTUTILS_INSTALL_TARGET= easy_install
PYDISTUTILS_INSTALLARGS= -O 1 -N -S ${PYTHON_SITELIBDIR} ${WRKSRC}/dist/${PYPYTZ_EGG}
PYPYTZ_EGG= ${PORTNAME}-${PORTVERSION}-py${PYTHON_VER}.egg
PLIST_SUB+= EASY_INSTALL_CMD=${EASY_INSTALL_CMD} \
PYPYTZ_EGG=${PYPYTZ_EGG} \
PYPYTZ_EGG_VER="${PORTNAME}==${PORTVERSION}"
.include <bsd.port.mk>