54833e1033
Two dependencies bring in www/py-django so I have created two new slave ports which use www/py-django16 * devel/py-django-tastypie-mongoengine allowed you to select django 1.6 or 1.8 in the options It now uses only 1.8 * add slave port devel/py-django16-tastypie-mongoengine which uses django 1.6 * www/py-django-tastypie now sets RUN_DEPENDS only if not already set * add slave www/py-django16-tastypie which uses django 1.6 Approved by: mat (mentor) Differential Revision: https://reviews.freebsd.org/D2913
21 lines
658 B
Makefile
21 lines
658 B
Makefile
# Created by: Dan Langille <dvl@FreeBSD.org>
|
|
# $FreeBSD$
|
|
|
|
PORTNAME= django-tastypie-mongoengine
|
|
PKGNAMESUFFIX= 16
|
|
|
|
MAINTAINER= dvl@FreeBSD.org
|
|
COMMENT= MongoEngine support for django-tastypie using Django 1.6
|
|
|
|
LICENSE= AGPLv3
|
|
LICENSE_FILE= ${WRKSRC}/LICENSE
|
|
|
|
RUN_DEPENDS= ${PYTHON_PKGNAMEPREFIX}django-tastypie16>=0.9.12:${PORTSDIR}/www/py-django16-tastypie \
|
|
${PYTHON_PKGNAMEPREFIX}mongoengine>=0.8.7:${PORTSDIR}/devel/py-mongoengine \
|
|
${PYTHON_PKGNAMEPREFIX}django16>0:${PORTSDIR}/www/py-django16
|
|
|
|
MASTERDIR= ${.CURDIR}/../py-django-tastypie-mongoengine
|
|
|
|
CONFLICTS_INSTALL= devel/py-django-tastypie-mongoengine
|
|
|
|
.include "${MASTERDIR}/Makefile"
|