mirror of
https://git.FreeBSD.org/ports.git
synced 2024-11-24 00:45:52 +00:00
090059a210
The affected ports are the ones with gettext as a run-dependency according to ports/INDEX-7 (5007 of them) and the ones with USE_GETTEXT in Makefile (29 of them). PR: ports/124340 Submitted by: edwin@ Approved by: portmgr (pav)
49 lines
1.2 KiB
Makefile
49 lines
1.2 KiB
Makefile
# New ports collection makefile for: py-turbodjango
|
|
# Date created: 2007-02-14
|
|
# Whom: Nicola Vitale <nivit@FreeBSD.org>
|
|
#
|
|
# $FreeBSD$
|
|
#
|
|
|
|
PORTNAME= turbodjango
|
|
PORTVERSION= 0.95.w2
|
|
PORTREVISION= 1
|
|
CATEGORIES= www python
|
|
MASTER_SITES= SF
|
|
MASTER_SITE_SUBDIR= tgwidgets
|
|
PKGNAMEPREFIX= ${PYTHON_PKGNAMEPREFIX}
|
|
DISTNAME= ${PYTURBODJANGO_EGG}
|
|
EXTRACT_SUFX=
|
|
|
|
MAINTAINER= python@FreeBSD.org
|
|
COMMENT= Django template for TurboGears
|
|
|
|
RUN_DEPENDS= ${EASY_INSTALL_CMD}:${PORTSDIR}/devel/py-setuptools \
|
|
${PYTHON_PKGNAMEPREFIX}django>=0.95_2:${PORTSDIR}/www/py-django \
|
|
${PYTHON_PKGNAMEPREFIX}TurboGears>=1.0.1:${PORTSDIR}/www/py-turbogears
|
|
|
|
NO_BUILD= yes
|
|
|
|
# Use the same version of www/py-turbogears
|
|
USE_PYTHON= 2.4
|
|
|
|
PLIST_SUB= EASY_INSTALL_CMD=${EASY_INSTALL_CMD} \
|
|
PORTNAME=${PORTNAME} PORTVERSION=${PYTURBODJANGO_VER} \
|
|
PYTURBODJANGO_EGG=${PYTURBODJANGO_EGG}
|
|
|
|
EASY_INSTALL_CMD?= easy_install-${PYTHON_VER}
|
|
EASY_INSTALL_ARGS= -N
|
|
|
|
PYTURBODJANGO= TurboDjango
|
|
PYTURBODJANGO_VER= ${PORTVERSION:C/([0-9])\.([a-z])/\1\2/}
|
|
PYTURBODJANGO_EGG= ${PYTURBODJANGO}-${PYTURBODJANGO_VER}-py${PYTHON_VER}.egg
|
|
|
|
do-extract:
|
|
@${RM} -rf ${WRKDIR}
|
|
@${MKDIR} ${WRKDIR}
|
|
|
|
do-install:
|
|
@${EASY_INSTALL_CMD} ${EASY_INSTALL_ARGS} ${DISTDIR}/${PYTURBODJANGO_EGG}
|
|
|
|
.include <bsd.port.mk>
|