From 815a0a83481029ecdcf8d61f94789d4e9c369adf Mon Sep 17 00:00:00 2001 From: William Grzybowski Date: Tue, 11 Jun 2013 12:18:36 +0000 Subject: [PATCH] - Add USE_GITHUB instead of manual fetch - Trim Makefile header Approved by: culot / jpaetzel (mentors, implicit), maintainer (via email) --- www/py-django-mptt/Makefile | 21 ++++++--------------- 1 file changed, 6 insertions(+), 15 deletions(-) diff --git a/www/py-django-mptt/Makefile b/www/py-django-mptt/Makefile index f7818b502eec..f253df406ba3 100644 --- a/www/py-django-mptt/Makefile +++ b/www/py-django-mptt/Makefile @@ -1,14 +1,9 @@ -# New ports collection makefile for: django-mptt -# Date created: 2011-02-16 -# Whom: Carlo Strub -# +# Created by: 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 @@ -19,17 +14,13 @@ 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 +USE_GITHUB= yes +GH_ACCOUNT= django-mptt +GH_COMMIT= 4310e7e +GH_TAGNAME= ${PORTVERSION} -FETCH_ARGS= -Fpr USES= gettext -USE_PYDISTUTILS= yes +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