freebsd-ports/www/py-turbosetup/Makefile
Nicola Vitale 6cbde64c65 - Mark the port with IGNORE when PYTHON_VERSION != 2.4,
because the distribution egg-file is only available for Python 2.4

PR:		ports/130787
Submitted by:	nivit
Pointed out by:	pavbot
2009-01-20 17:34:18 +00:00

51 lines
1.3 KiB
Makefile

# New ports collection makefile for: py-turbosetup
# Date created: 2007-02-14
# Whom: Nicola Vitale <nivit@FreeBSD.org>
#
# $FreeBSD$
#
PORTNAME= turbosetup
PORTVERSION= 0.2
PORTREVISION= 1
CATEGORIES= www python
MASTER_SITES= http://cheeseshop.python.org/packages/2.3/T/${PYTURBOSETUP}/ \
http://nivi.interfree.it/distfiles/${PYTURBOSETUP}/
PKGNAMEPREFIX= ${PYTHON_PKGNAMEPREFIX}
DISTNAME= ${PYTURBOSETUP_EGG}
EXTRACT_SUFX=
MAINTAINER= python@FreeBSD.org
COMMENT= A web based configuration environment for TurboGears
RUN_DEPENDS= ${EASY_INSTALL_CMD}:${PORTSDIR}/devel/py-setuptools \
${PYTHON_PKGNAMEPREFIX}TurboGears>=1.0.1:${PORTSDIR}/www/py-turbogears
NO_BUILD= yes
USE_PYTHON= yes
PLIST_SUB= EASY_INSTALL_CMD=${EASY_INSTALL_CMD} \
PORTNAME=${PORTNAME} PORTVERSION=${PORTVERSION} \
PYTURBOSETUP_EGG=${PYTURBOSETUP_EGG}
EASY_INSTALL_CMD?= easy_install-${PYTHON_VER}
EASY_INSTALL_ARGS= -N
PYTURBOSETUP= TurboSetup
PYTURBOSETUP_EGG= ${PYTURBOSETUP}-${PORTVERSION}-py${PYTHON_VER}.egg
do-extract:
@${RM} -rf ${WRKDIR}
@${MKDIR} ${WRKDIR}
do-install:
@${EASY_INSTALL_CMD} ${EASY_INSTALL_ARGS} ${DISTDIR}/${PYTURBOSETUP_EGG}
.include <bsd.port.pre.mk>
.if ${PYTHON_REL} < 240 || ${PYTHON_REL} >= 250
IGNORE= the distribution file is only available for Python 2.4
.endif
.include <bsd.port.post.mk>