aboutsummaryrefslogtreecommitdiffstats
path: root/www/py-django-mptt/Makefile
blob: f7818b502eec0f8dd73651e58ca4bea0da175dfe (plain) (blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
# New ports collection makefile for:    django-mptt
# Date created:             2011-02-16
# Whom:                 Carlo Strub
#
# $FreeBSD$
#

PORTNAME=   django-mptt
PORTVERSION=    0.5.4
CATEGORIES= www python
MASTER_SITES=   https://github.com/django-mptt/django-mptt/tarball/
PKGNAMEPREFIX=  ${PYTHON_PKGNAMEPREFIX}

MAINTAINER= cs@FreeBSD.org
COMMENT=    Utilities for implementing a pre-order traversal tree in django

LICENSE=    BSD

BUILD_DEPENDS=  ${PYTHON_SITELIBDIR}/django/bin/django-admin.py:${PORTSDIR}/www/py-django
RUN_DEPENDS=    ${PYTHON_SITELIBDIR}/django/bin/django-admin.py:${PORTSDIR}/www/py-django

GITVERSION= 4310e7e 

FETCH_ARGS= -Fpr
USES=       gettext
USE_PYDISTUTILS=    yes
USE_PYTHON= yes
WRKSRC=     ${WRKDIR}/${PORTNAME}-${PORTNAME}-${GITVERSION}

do fetch:
    [ -f ${DISTDIR}/${DISTFILES} ] || \
        ${FETCH_CMD} -o ${DISTDIR}/${DISTFILES} \
            ${MASTER_SITES}${PORTVERSION}

.include <bsd.port.mk>