View | Details | Raw Unified | Return to bug 170496
Collapse All | Expand All

(-)./Makefile (-13 / +16 lines)
Lines 6-12 Link Here
6
#
6
#
7
7
8
PORTNAME=	django
8
PORTNAME=	django
9
PORTVERSION=	1.3.2
9
PORTVERSION=	1.3.3
10
CATEGORIES=	www python
10
CATEGORIES=	www python
11
MASTER_SITES=	http://www.djangoproject.com/m/releases/${PORTVERSION:R}/ \
11
MASTER_SITES=	http://www.djangoproject.com/m/releases/${PORTVERSION:R}/ \
12
		CHEESESHOP
12
		CHEESESHOP
Lines 30-40 Link Here
30
30
31
DOCSDIR=	${PREFIX}/share/doc/py-django
31
DOCSDIR=	${PREFIX}/share/doc/py-django
32
32
33
OPTIONS=	POSTGRESQL	"PostgreSQL support"	off \
33
OPTIONS_DEFINE=	POSTGRESQL MYSQL SQLITE FASTCGI DOCS
34
		MYSQL	"MySQL support"	off \
34
OPTIONS_DEFAULT=
35
		SQLITE	"SQLite support"	off \
35
36
		FASTCGI	"FastCGI support"	off \
36
POSTGRESQL_DESC=	PostgreSQL support
37
		DOCS	"Install HTML documentation (requires Sphinx)"	off
37
MYSQL_DESC=	MySQL support
38
SQLITE_DESC=	SQLite support
39
FASTCGI_DESC=	FastCGI support
40
DOCS_DESC=	Install HTML documentation (requires Sphinx)
38
41
39
MAN1=		daily_cleanup.1 django-admin.1 gather_profile_stats.1
42
MAN1=		daily_cleanup.1 django-admin.1 gather_profile_stats.1
40
43
Lines 43-73 Link Here
43
46
44
.include <bsd.port.pre.mk>
47
.include <bsd.port.pre.mk>
45
48
46
.if defined(WITH_POSTGRESQL)
49
.if ${PORT_OPTIONS:MPOSTGRESQL}
47
RUN_DEPENDS+=	${PYTHON_SITELIBDIR}/psycopg2/_psycopg.so:${PORTSDIR}/databases/py-psycopg2
50
RUN_DEPENDS+=	${PYTHON_SITELIBDIR}/psycopg2/_psycopg.so:${PORTSDIR}/databases/py-psycopg2
48
EXTRA_PATCHES+=	${FILESDIR}/extra-patch-changeset_16520.diff
51
EXTRA_PATCHES+=	${FILESDIR}/extra-patch-changeset_16520.diff
49
.endif
52
.endif
50
53
51
.if defined(WITH_MYSQL)
54
.if ${PORT_OPTIONS:MMYSQL}
52
RUN_DEPENDS+=	${PYTHON_PKGNAMEPREFIX}MySQLdb>=1.2.2:${PORTSDIR}/databases/py-MySQLdb
55
RUN_DEPENDS+=	${PYTHON_PKGNAMEPREFIX}MySQLdb>=1.2.2:${PORTSDIR}/databases/py-MySQLdb
53
.endif
56
.endif
54
57
55
.if defined(WITH_SQLITE)
58
.if ${PORT_OPTIONS:MSQLITE}
56
RUN_DEPENDS+=	${PYTHON_SITELIBDIR}/_sqlite3.so:${PORTSDIR}/databases/py-sqlite3
59
RUN_DEPENDS+=	${PYTHON_SITELIBDIR}/_sqlite3.so:${PORTSDIR}/databases/py-sqlite3
57
.endif
60
.endif
58
61
59
.if defined(WITH_FASTCGI)
62
.if ${PORT_OPTIONS:MFASTCGI}
60
RUN_DEPENDS+=	${PYTHON_PKGNAMEPREFIX}flup>0:${PORTSDIR}/www/py-flup
63
RUN_DEPENDS+=	${PYTHON_PKGNAMEPREFIX}flup>0:${PORTSDIR}/www/py-flup
61
.endif
64
.endif
62
65
63
.if defined(WITH_DOCS)
66
.if ${PORT_OPTIONS:MDOCS}
64
BUILD_DEPENDS+=	${PYTHON_PKGNAMEPREFIX}sphinx>0:${PORTSDIR}/textproc/py-sphinx
67
BUILD_DEPENDS+=	${PYTHON_PKGNAMEPREFIX}sphinx>0:${PORTSDIR}/textproc/py-sphinx
65
EXTRA_PATCHES+=	${FILESDIR}/extra-patch-changeset_16223_16231.diff
68
EXTRA_PATCHES+=	${FILESDIR}/extra-patch-changeset_16223_16231.diff
66
PORTDOCS=	*
69
PORTDOCS=	*
67
.endif
70
.endif
68
71
69
post-build:
72
post-build:
70
.if defined(WITH_DOCS)
73
.if ${PORT_OPTIONS:MDOCS}
71
.	if defined(NOPORTDOCS)
74
.	if defined(NOPORTDOCS)
72
IGNORE=	you cannot build documentation while setting NOPORTDOCS
75
IGNORE=	you cannot build documentation while setting NOPORTDOCS
73
.	endif
76
.	endif
Lines 79-85 Link Here
79
	@${ECHO_MSG}	""
82
	@${ECHO_MSG}	""
80
	@${ECHO_MSG}	"			* See http://docs.djangoproject.com/ for complete documentation"
83
	@${ECHO_MSG}	"			* See http://docs.djangoproject.com/ for complete documentation"
81
	@${ECHO_MSG}	""
84
	@${ECHO_MSG}	""
82
.if defined(WITH_DOCS)
85
.if ${PORT_OPTIONS:MDOCS}
83
	${MKDIR} ${DOCSDIR}
86
	${MKDIR} ${DOCSDIR}
84
	${CP} -R ${WRKSRC}/docs/_build/html ${DOCSDIR}
87
	${CP} -R ${WRKSRC}/docs/_build/html ${DOCSDIR}
85
.endif
88
.endif
(-)./distinfo (-2 / +2 lines)
Lines 1-2 Link Here
1
SHA256 (python/Django-1.3.2.tar.gz) = 72c4080fe30863c4581521ef6f7bfcc12d01e7c55b9ad1935acaa43e466dd764
1
SHA256 (python/Django-1.3.3.tar.gz) = 8ef44cfd89dee0331018ec56a2ed27dc14ae8d65feb664c10e128b3437cbd46a
2
SIZE (python/Django-1.3.2.tar.gz) = 6507042
2
SIZE (python/Django-1.3.3.tar.gz) = 6507280

Return to bug 170496