head	1.38;
access;
symbols
	RELEASE_8_3_0:1.33
	RELEASE_9_0_0:1.32
	RELEASE_7_4_0:1.28
	RELEASE_8_2_0:1.28
	RELEASE_6_EOL:1.27
	RELEASE_8_1_0:1.24
	RELEASE_7_3_0:1.21
	RELEASE_8_0_0:1.18
	RELEASE_7_2_0:1.15
	RELEASE_7_1_0:1.14
	RELEASE_6_4_0:1.14
	RELEASE_5_EOL:1.13
	RELEASE_7_0_0:1.11
	RELEASE_6_3_0:1.11
	PRE_XORG_7:1.8
	RELEASE_4_EOL:1.4
	RELEASE_6_2_0:1.3;
locks; strict;
comment	@# @;


1.38
date	2013.01.06.20.41.51;	author svnexp;	state Exp;
branches;
next	1.37;

1.37
date	2012.11.17.06.02.59;	author svnexp;	state Exp;
branches;
next	1.36;

1.36
date	2012.08.31.17.56.27;	author lwhsu;	state Exp;
branches;
next	1.35;

1.35
date	2012.07.31.19.07.32;	author lwhsu;	state Exp;
branches;
next	1.34;

1.34
date	2012.04.18.18.06.06;	author lwhsu;	state Exp;
branches;
next	1.33;

1.33
date	2011.12.24.14.22.17;	author lwhsu;	state Exp;
branches;
next	1.32;

1.32
date	2011.03.27.15.04.41;	author lwhsu;	state Exp;
branches;
next	1.31;

1.31
date	2011.02.25.10.59.09;	author miwi;	state Exp;
branches;
next	1.30;

1.30
date	2011.02.14.15.25.27;	author lwhsu;	state Exp;
branches;
next	1.29;

1.29
date	2011.02.13.03.19.02;	author lwhsu;	state Exp;
branches;
next	1.28;

1.28
date	2010.12.24.02.17.14;	author lwhsu;	state Exp;
branches;
next	1.27;

1.27
date	2010.10.09.08.58.43;	author lwhsu;	state Exp;
branches;
next	1.26;

1.26
date	2010.09.18.03.31.07;	author lwhsu;	state Exp;
branches;
next	1.25;

1.25
date	2010.08.24.20.57.47;	author lwhsu;	state Exp;
branches;
next	1.24;

1.24
date	2010.06.11.15.30.24;	author lwhsu;	state Exp;
branches;
next	1.23;

1.23
date	2010.05.31.02.01.30;	author ade;	state Exp;
branches;
next	1.22;

1.22
date	2010.05.08.06.12.41;	author lwhsu;	state Exp;
branches;
next	1.21;

1.21
date	2010.02.15.16.32.16;	author lwhsu;	state Exp;
branches;
next	1.20;

1.20
date	2010.01.09.17.49.39;	author lwhsu;	state Exp;
branches;
next	1.19;

1.19
date	2009.10.16.16.48.20;	author lwhsu;	state Exp;
branches;
next	1.18;

1.18
date	2009.05.22.19.12.08;	author lwhsu;	state Exp;
branches;
next	1.17;

1.17
date	2009.05.22.18.34.05;	author lwhsu;	state Exp;
branches;
next	1.16;

1.16
date	2009.05.22.18.30.25;	author lwhsu;	state Exp;
branches;
next	1.15;

1.15
date	2008.10.14.20.22.50;	author lwhsu;	state Exp;
branches;
next	1.14;

1.14
date	2008.06.06.14.07.08;	author edwin;	state Exp;
branches;
next	1.13;

1.13
date	2008.05.14.10.59.18;	author lwhsu;	state Exp;
branches;
next	1.12;

1.12
date	2008.04.17.11.16.58;	author lwhsu;	state Exp;
branches;
next	1.11;

1.11
date	2007.10.29.14.47.20;	author lwhsu;	state Exp;
branches;
next	1.10;

1.10
date	2007.07.30.09.42.10;	author alexbl;	state Exp;
branches;
next	1.9;

1.9
date	2007.05.25.14.22.49;	author lwhsu;	state Exp;
branches;
next	1.8;

1.8
date	2007.04.25.16.57.10;	author lwhsu;	state Exp;
branches;
next	1.7;

1.7
date	2007.04.18.05.51.30;	author lwhsu;	state Exp;
branches;
next	1.6;

1.6
date	2007.04.05.06.59.53;	author lwhsu;	state Exp;
branches;
next	1.5;

1.5
date	2007.02.18.14.21.19;	author clsung;	state Exp;
branches;
next	1.4;

1.4
date	2006.11.17.18.07.45;	author acm;	state Exp;
branches;
next	1.3;

1.3
date	2006.08.24.12.44.33;	author acm;	state Exp;
branches;
next	1.2;

1.2
date	2006.08.03.19.49.40;	author flz;	state Exp;
branches;
next	1.1;

1.1
date	2006.07.20.10.54.30;	author flz;	state Exp;
branches;
next	;


desc
@@


1.38
log
@## SVN ## Exported commit - http://svnweb.freebsd.org/changeset/base/310008
## SVN ## CVS IS DEPRECATED: http://wiki.freebsd.org/CvsIsDeprecated
## SVN ##
## SVN ## ------------------------------------------------------------------------
## SVN ## r310008 | lwhsu | 2013-01-06 18:32:49 +0000 (Sun, 06 Jan 2013) | 6 lines
## SVN ##
## SVN ## - Update to 20130106 snapshot
## SVN ## - Trim header
## SVN ## - Use multi-choices of new options framework
## SVN ##
## SVN ## Security:	1b769b72-582b-11e2-b66b-00e0814cab4e
## SVN ##
## SVN ## ------------------------------------------------------------------------
## SVN ##
@
text
@# Created by: Florent Thoumie <flz@@FreeBSD.org>
# $FreeBSD: head/www/py-django-devel/Makefile 310008 2013-01-06 18:32:49Z lwhsu $

PORTNAME=	django
PORTVERSION=	${SNAPSHOTDATE}
PORTEPOCH=	1
CATEGORIES=	www python
MASTER_SITES=	http://people.cs.nctu.edu.tw/~lwhsu/ports/distfiles/
MASTER_SITE_SUBDIR=	lwhsu/django
PKGNAMEPREFIX=	${PYTHON_PKGNAMEPREFIX}
PKGNAMESUFFIX=	-devel
DISTNAME=	Django-${SNAPSHOTDATE}
DIST_SUBDIR=	python

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

LICENSE=	BSD

SNAPSHOTDATE=	20130106

USE_XZ=	yes
USE_GETTEXT=	yes
USE_PYTHON=	yes
USE_PYDISTUTILS=	yes

PYDISTUTILS_PKGNAME=	Django
PYDISTUTILS_PKGVERSION=	1.6

CONFLICTS=	py2[0-9]-django-[0-9]*

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

# bypass infrastructure bug
OPTIONSFILE=	${PORT_DBDIR}/py-${PORTNAME}-devel/options
OPTIONS_DEFINE=	FASTCGI HTMLDOCS
OPTIONS_DEFAULT=SQLITE
OPTIONS_MULTI=	DATABASE
OPTIONS_MULTI_DATABASE=	PGSQL MYSQL SQLITE
HTMLDOCS_DESC=	Install the HTML documentation (requires Sphinx)

MAN1=		daily_cleanup.1 django-admin.1 gather_profile_stats.1

.include <bsd.port.options.mk>

.if ${PORT_OPTIONS:MPGSQL}
RUN_DEPENDS+=	${PYTHON_PKGNAMEPREFIX}psycopg2>0:${PORTSDIR}/databases/py-psycopg2
.endif

.if ${PORT_OPTIONS:MMYSQL}
RUN_DEPENDS+=	${PYTHON_PKGNAMEPREFIX}MySQLdb>=1.2.2:${PORTSDIR}/databases/py-MySQLdb
.endif

.if ${PORT_OPTIONS:MSQLITE}
RUN_DEPENDS+=	${PYTHON_PKGNAMEPREFIX}sqlite3>0:${PORTSDIR}/databases/py-sqlite3
.endif

.if ${PORT_OPTIONS:MFASTCGI}
RUN_DEPENDS+=	${PYTHON_PKGNAMEPREFIX}flup>0:${PORTSDIR}/www/py-flup
.endif

.if ${PORT_OPTIONS:MHTMLDOCS}
.	if empty(PORT_OPTIONS:MDOCS)
IGNORE=	you cannot build documentation while setting NOPORTDOCS
.	endif
BUILD_DEPENDS+=	${PYTHON_PKGNAMEPREFIX}sphinx>0:${PORTSDIR}/textproc/py-sphinx
PORTDOCS=	*
.endif

post-build:
.if ${PORT_OPTIONS:MHTMLDOCS}
	cd ${WRKSRC}/docs && ${MAKE} html
.endif

post-install:
	${INSTALL_MAN} ${WRKSRC}/docs/man/* ${MAN1PREFIX}/man/man1
	@@${ECHO_MSG}	""
	@@${ECHO_MSG}	"			* See http://docs.djangoproject.com/ for complete documentation"
	@@${ECHO_MSG}	""
.if ${PORT_OPTIONS:MHTMLDOCS}
	${MKDIR} ${DOCSDIR}
	${CP} -R ${WRKSRC}/docs/_build/html ${DOCSDIR}
.endif

.include <bsd.port.mk>
@


1.37
log
@Switch exporter over
@
text
@d1 2
a2 6
# New ports collection makefile for:	django-devel
# Date created:				Jul 04 2006
# Whom:					Florent Thoumie <flz@@FreeBSD.org>
#
# $FreeBSD: head/www/py-django-devel/Makefile 303440 2012-08-31 17:56:27Z lwhsu $
#
d20 1
a20 1
SNAPSHOTDATE=	20120731
d28 1
a28 1
PYDISTUTILS_PKGVERSION=	1.5
d34 7
a40 4
OPTIONS_DEFINE=	PGSQL MYSQL SQLITE FASTCGI DOCS
OPTIONS_DEFAULT=

HTMLDOCS_DESC=	Build and install the HTML documentation (requires Sphinx)
d44 1
a44 4
# bypass infrastructure bug
OPTIONSFILE=	${PORT_DBDIR}/py-${PORTNAME}-devel/options

.include <bsd.port.pre.mk>
d47 1
a47 1
RUN_DEPENDS+=	${PYTHON_SITELIBDIR}/psycopg2/_psycopg.so:${PORTSDIR}/databases/py-psycopg2
d55 1
a55 1
RUN_DEPENDS+=	${PYTHON_SITELIBDIR}/_sqlite3.so:${PORTSDIR}/databases/py-sqlite3
d63 1
a63 1
.	if defined(NOPORTDOCS)
d85 1
a85 1
.include <bsd.port.post.mk>
@


1.36
log
@SVN rev 303440 on 2012-08-31 17:56:27Z by lwhsu

- Convert to new options framework
@
text
@d5 1
a5 1
# $FreeBSD$
@


1.35
log
@SVN rev 301811 on 2012-07-31 19:07:32Z by lwhsu

- Update to 2012-07-31 snapshot

Security:	f01292a0-db3c-11e1-a84b-00e0814cab4e
@
text
@d38 4
a41 5
OPTIONS=	POSTGRESQL	"PostgreSQL support"	off \
		MYSQL	"MySQL support"	off \
		SQLITE	"SQLite support"	off \
		FASTCGI	"FastCGI support"	off \
		DOCS	"Install HTML documentation (requires Sphinx)"	off
d50 1
a50 1
.if defined(WITH_POSTGRESQL)
d54 1
a54 1
.if defined(WITH_MYSQL)
d58 1
a58 1
.if defined(WITH_SQLITE)
d62 1
a62 1
.if defined(WITH_FASTCGI)
d66 1
a66 1
.if defined(WITH_DOCS)
d75 1
a75 1
.if defined(WITH_DOCS)
d84 1
a84 1
.if defined(WITH_DOCS)
@


1.34
log
@- Update to r17914
@
text
@d9 1
a9 1
PORTVERSION=	${REVISION}
d16 1
a16 1
DISTNAME=	Django-r${REVISION}
d24 1
a24 1
REVISION=	17914
@


1.33
log
@- Update to r17269
@
text
@d22 3
a24 1
REVISION=	17269
d32 1
a32 1
PYDISTUTILS_PKGVERSION=	1.4_alpha_1
@


1.32
log
@- Update to r15922
- Remove mod_python3 option, this is not Django really depends on
@
text
@d12 1
a12 1
MASTER_SITES=	http://www.cs.nctu.edu.tw/~lwhsu/ports/distfiles/
d22 1
a22 1
REVISION=	15922
d30 1
a30 1
PYDISTUTILS_PKGVERSION=	1.3
@


1.31
log
@- Remove PYTHON_REL < 250, since USE_PYTHON 2.5+
@
text
@d22 1
a22 1
REVISION=	15533
d24 1
a24 1
USE_BZIP2=	yes
d30 1
a30 1
PYDISTUTILS_PKGVERSION=	1.3_beta_1
d36 1
a36 2
OPTIONS=	MOD_PYTHON3	"Install Apache2 with mod_python3"	off \
		POSTGRESQL	"PostgreSQL support"	off \
a48 4
.if defined(WITH_MOD_PYTHON3)
RUN_DEPENDS+=	${PYTHON_SITELIBDIR}/mod_python/_psp.so:${PORTSDIR}/www/mod_python3
.endif

@


1.30
log
@- Update to r15533 to fix a database cursor regression

Submitted by:	eyecue (submitter requests not to disclose email)
@
text
@a62 3
.if ${PYTHON_REL} < 250
RUN_DEPENDS+=	${PYTHON_SITELIBDIR}/pysqlite2/__init__.py:${PORTSDIR}/databases/py-pysqlite23
.else
a64 1
.endif
@


1.29
log
@- Update to r15524

Security:	http://www.freebsd.org/ports/portaudit/bd760627-3493-11e0-8103-00215c6a37bb.html
@
text
@d22 1
a22 1
REVISION=	15524
@


1.28
log
@- Update to revision 15044
@
text
@d12 1
a12 2
MASTER_SITES=	http://www.cs.nctu.edu.tw/~lwhsu/ports/distfiles/ \
		${MASTER_SITE_LOCAL}
d22 1
a22 1
REVISION=	15044
@


1.27
log
@- Chease databases/py-MySQLdb update
@
text
@d23 1
a23 1
REVISION=	13861
d31 1
a31 1
PYDISTUTILS_PKGVERSION=	1.3_pre_alpha
@


1.26
log
@- Update to r13861

Security:	http://www.vuxml.org/freebsd/3ff95dd3-c291-11df-b0dc-00215c6a37bb.html
@
text
@d60 1
a60 1
RUN_DEPENDS+=	${PYTHON_SITELIBDIR}/_mysql.so:${PORTSDIR}/databases/py-MySQLdb
@


1.25
log
@- Update to r13637
@
text
@d23 1
a23 1
REVISION=	13637
@


1.24
log
@- Django project itself prefers psycopg2

PR:		ports/147313
Submitted by:	danger
@
text
@a9 1
PORTREVISION=	1
d23 1
a23 1
REVISION=	13124
d31 1
a31 1
PYDISTUTILS_PKGVERSION=	1.2_rc_1
@


1.23
log
@Bounce PORTREVISION for gettext-related ports.  Have fun, ya'll.
@
text
@d57 1
a57 1
RUN_DEPENDS+=	${PYTHON_SITELIBDIR}/psycopgmodule.so:${PORTSDIR}/databases/py-psycopg
@


1.22
log
@- Update to r13124
@
text
@d10 1
@


1.21
log
@- Update to r12437
@
text
@d23 1
a23 1
REVISION=	12437
d31 1
a31 1
PYDISTUTILS_PKGVERSION=	1.2_beta_1
@


1.20
log
@- Update to r12120
@
text
@d23 1
a23 1
REVISION=	12120
d31 1
a31 1
PYDISTUTILS_PKGVERSION=	1.2_alpha_1
@


1.19
log
@- Update to r11627

Security:	http://www.djangoproject.com/weblog/2009/oct/09/security/
@
text
@d23 1
a23 1
REVISION=	11627
d31 1
a31 1
PYDISTUTILS_PKGVERSION=	1.2_pre_alpha
@


1.18
log
@- Set IGNORE while choosing WITH_DOCS and also defining NOPORTDOCS
@
text
@d23 1
a23 1
REVISION=	10834
d31 1
a31 1
PYDISTUTILS_PKGVERSION=	1.1_beta_1
@


1.17
log
@- Turn off defualt documentation building
@
text
@d76 3
@


1.16
log
@- Update to r10834
- Add a patch to be compatible with sphinx 0.6.1
  Obtained from: http://code.djangoproject.com/ticket/10539
@
text
@d42 1
a42 1
		DOCS	"Install HTML documentation (requires Sphinx)"	on
@


1.15
log
@- Update to 20081015 snapshot
@
text
@d9 2
a10 1
PORTVERSION=	${SNAPSHOT}
d17 1
a17 1
DISTNAME=	Django-${PORTVERSION}
d23 1
a23 1
SNAPSHOT=	20081015
d31 1
a31 1
PYDISTUTILS_PKGVERSION=	1.1.pre-alpha
d42 1
a42 1
		DOCS	"Install HTML documentation (requires Sphinx)"	off
d47 1
a47 1
OPTIONSFILE=	${PORT_DBDIR}/py-${PORTNAME}/options
@


1.14
log
@Bump portrevision due to upgrade of devel/gettext.

The affected ports are the ones with gettext as a run-dependency
according to ports/INDEX-7 (5007 of them) and the ones with USE_GETTEXT
in Makefile (29 of them).

PR:             ports/124340
Submitted by:   edwin@@
Approved by:    portmgr (pav)
@
text
@a9 1
PORTREVISION=	1
d22 1
a22 1
SNAPSHOT=	20080514
a28 1
INSTALLS_EGGINFO=	yes
d30 1
a30 1
PYDISTUTILS_PKGVERSION=	0.97_pre
d40 2
a41 1
		FASTCGI	"FastCGI support"	off
d43 1
a43 5
MAN1=	compile-messages.1 \
	daily_cleanup.1 \
	django-admin.1 \
	gather_profile_stats.1 \
	make-messages.1
d63 5
a67 1
RUN_DEPENDS+=	${PYTHON_SITELIBDIR}/pysqlite2/__init__.py:${PORTSDIR}/databases/py-pysqlite20
d74 10
a85 3
.if !defined(NOPORTDOCS)
	${MKDIR} ${DOCSDIR}
	${INSTALL_DATA} ${WRKSRC}/docs/*.txt ${DOCSDIR}
d87 1
a87 5
	@@${ECHO_MSG}	"			* See ${DOCSDIR} for complete documentation"
	@@${ECHO_MSG}	""
.else
	@@${ECHO_MSG}	""
	@@${ECHO_MSG}	"			* See http://www.djangoproject.com/documentation/ for complete documentation"
d89 3
@


1.13
log
@- Update to 20080514 snapshot
  This fix the XSS vulnerability

Security:	http://www.vuxml.org/freebsd/f49ba347-2190-11dd-907c-001c2514716c.html
Notified by:	delphij
@
text
@d10 1
@


1.12
log
@- Update to 20080404 snapshot
- Chease www/py-flup updating
@
text
@d22 1
a22 1
SNAPSHOT=	20080404
@


1.11
log
@- Update to 20071029 snapshot
  This fix the denial of service vulnerability.

Security:	http://www.vuxml.org/freebsd/d2c2952d-85a1-11dc-bfff-003048705d5a.html
Notified by:	delphij
@
text
@d22 1
a22 1
SNAPSHOT=	20071029
d24 1
d71 1
a71 2
PYFLUP_EGG!=	${MAKE} -f ${PORTSDIR}/www/py-flup/Makefile -V PYFLUP_EGG
RUN_DEPENDS+=	${PYTHON_SITELIBDIR}/${PYFLUP_EGG}/flup/__init__.py:${PORTSDIR}/www/py-flup
@


1.10
log
@ - Make Python 2.5.1 the default Python version
 - Add significantly better support in bsd.python.mk for working with
   Python Eggs and the easy_install system

Tested by:	pointyhat runs
Approved by:	pav (portmgr)
Most work by:	perky
Thanks to:	pav
@
text
@a17 1
SNAPSHOT=	20070525
d22 2
d42 6
d75 1
d78 1
a78 1
	${INSTALL_DATA} ${WRKSRC}/docs/* ${DOCSDIR}
@


1.9
log
@- Update to 20070525 snapshot
- Use PKGNAMESUFFIX to reduce portlint(1) warning

Approved by:	clsung (mentor, implicitly)
@
text
@d27 4
@


1.8
log
@- Update to 20070425 snapshot

Approved by:	clsung (mentor, implicitly)
@
text
@d8 1
a8 1
PORTNAME=	django-devel
d15 1
d18 1
a18 1
SNAPSHOT=	20070425
@


1.7
log
@- Take maintainership of following ports, and do some minor fixes

devel/py-pytz
- Use CHEESESHOP in bsd.sites.mk

devel/py-icalendar
- Add backup MASTER_SITE

www/py-django
- Add backup MASTER_SITE

www/py-django-devel

www/py-clientform
- Add backup MASTER_SITE

www/py-mechanize
- Add backup MASTER_SITE

Approved by:	clsung (mentor)
@
text
@d17 1
a17 1
SNAPSHOT=	20070404
@


1.6
log
@- Update to 20070404 snapshot
- Separate from py-django
- Change MASTER_SITES, for snapshot distfile

Approved by:	clsung (mentor)
@
text
@d19 1
a19 1
MAINTAINER=	python@@FreeBSD.org
@


1.5
log
@- Update to 20070214 snapshot
- Respect NOPORTDOCS
- Change MASTER_SITES, for snapshot distfile

PR:		ports/109194
Submitted by:	Li-Wen Hsu <lwhsu_AT_lwhsu dot org>
@
text
@d10 1
a10 1
PORTREVISION=	0
d13 5
a17 4
MASTER_SITE_SUBDIR=	clsung/django
DISTFILES=	Django-${PORTVERSION}.tar.gz
SNAPSHOT=	20070214
DJANGOVER=	0.95
d22 4
d28 46
a73 3
MASTERDIR=	${.CURDIR}/../py-django
MD5_FILE=	${.CURDIR}/distinfo
PLIST=		${.CURDIR}/pkg-plist
d75 1
a75 1
.include "${MASTERDIR}/Makefile"
@


1.4
log
@- Change maintainer email to python@@
@
text
@d11 5
a15 4
MASTER_SITES=	${MASTER_SITE_LOCAL:S/$/:freebsd/g}
MASTER_SITE_SUBDIR=	flz/django/:freebsd
DISTFILES=	Django-${PORTVERSION}.tar.gz:freebsd
SNAPSHOT=	20060802
@


1.3
log
@- Pass me maintainership

Approved by:	garga (mentor), flz (current maintainer)
@
text
@d17 1
a17 1
MAINTAINER=	acm@@FreeBSD.org
@


1.2
log
@- Update to 20060802 snapshot.
- Fix packing list [1].

PR:		ports/101251 [1]
Submitted by:	erwin [1]
@
text
@d17 1
a17 1
MAINTAINER=	flz@@FreeBSD.org
@


1.1
log
@Add py-django-devel port, the developement version of the Python Django
MVC Web Framework.
@
text
@d14 1
a14 1
SNAPSHOT=	20060704
@

