Projet

Général

Profil

« Précédent | Suivant » 

Révision 0194ee26

Ajouté par Thomas Noël il y a presque 10 ans

pfPorts: add django 1.5 port

Voir les différences:

pfPorts/py-django15/Makefile
1
# Created by: Jose Alonso Cardenas Marquez <acardenas@bsd.org.pe>
2
# $FreeBSD: head/www/py-django15/Makefile 356441 2014-06-04 06:47:40Z lwhsu $
3

  
4
PORTNAME=	django
5
PORTVERSION=	1.5.8
6
CATEGORIES=	www python
7
MASTER_SITES=	https://www.djangoproject.com/m/releases/${PORTVERSION:R}/ \
8
		CHEESESHOP
9
PKGNAMEPREFIX=	${PYTHON_PKGNAMEPREFIX}
10
PKGNAMESUFFIX=	15
11
DISTNAME=	Django-${PORTVERSION}
12
DIST_SUBDIR=	python
13

  
14
MAINTAINER=	lwhsu@FreeBSD.org
15
COMMENT=	High-level Python Web framework
16

  
17
LICENSE=	BSD3CLAUSE
18

  
19
USE_PYTHON=	yes
20
USE_PYDISTUTILS=	yes
21
PYDISTUTILS_AUTOPLIST=	yes
22

  
23
CONFLICTS=	py[23][0-9]-django-devel-[0-9]* py[23][0-9]-django-1.[0-46-9].*
24

  
25
DOCSDIR=	${PREFIX}/share/doc/py-django
26

  
27
# bypass infrastructure bug
28
OPTIONSFILE=	${PORT_DBDIR}/py-${PORTNAME}/options
29
OPTIONS_DEFINE=	FASTCGI
30
OPTIONS_DEFAULT=SQLITE
31
OPTIONS_GROUP=	DATABASE
32
OPTIONS_GROUP_DATABASE=	SQLITE
33
HTMLDOCS_DESC=	Install the HTML documentation (requires Sphinx)
34

  
35
.include <bsd.port.options.mk>
36

  
37
RUN_DEPENDS+=	${PYTHON_PKGNAMEPREFIX}sqlite3>0:${PORTSDIR}/databases/py-sqlite3
38

  
39
RUN_DEPENDS+=	${PYTHON_PKGNAMEPREFIX}flup>0:${PORTSDIR}/www/py-flup
40

  
41
.include <bsd.port.mk>
pfPorts/py-django15/distinfo
1
SHA256 (python/Django-1.5.8.tar.gz) = 01db30f38a081241a9cbc7bef12cb599506b80727613350e427547bed12aaaa3
2
SIZE (python/Django-1.5.8.tar.gz) = 8071329
pfPorts/py-django15/pkg-descr
1
Django is a high-level Python Web framework that encourages rapid development
2
and clean, pragmatic design.
3

  
4
Developed and used over the past two years by a fast-moving online-news
5
operation, Django was designed from scratch to handle two challenges: the
6
intensive deadlines of a newsroom and the stringent requirements of experienced
7
Web developers. It has convenient niceties for developing content-management
8
systems, but it's an excellent tool for building any Web site.
9

  
10
WWW: http://www.djangoproject.com

Formats disponibles : Unified diff