head	1.4;
access;
symbols
	RELEASE_8_3_0:1.1;
locks; strict;
comment	@# @;


1.4
date	2012.11.17.06.02.59;	author svnexp;	state Exp;
branches;
next	1.3;

1.3
date	2012.10.17.19.46.38;	author rm;	state Exp;
branches;
next	1.2;

1.2
date	2012.08.13.19.07.12;	author rm;	state Exp;
branches;
next	1.1;

1.1
date	2012.02.07.04.28.08;	author miwi;	state Exp;
branches;
next	;


desc
@@


1.4
log
@Switch exporter over
@
text
@# Created by: Matthew X. Economou <xenophon+fbsdports@@irtnog.org>
# $FreeBSD: head/www/py-django-cms/Makefile 306037 2012-10-17 19:46:38Z rm $

PORTNAME=	django-cms
PORTVERSION=	2.3
PORTREVISION=	1
CATEGORIES=	www python
MASTER_SITES=	CHEESESHOP
PKGNAMEPREFIX=	${PYTHON_PKGNAMEPREFIX}

MAINTAINER=	xenophon+fbsdports@@irtnog.org
COMMENT=	Content management system built with the Django framework

LICENSE=	BSD

RUN_DEPENDS=	${PYTHON_PKGNAMEPREFIX}south>=0.7.3:${PORTSDIR}/databases/py-south \
		${PYTHON_PKGNAMEPREFIX}django>=1.3.1:${PORTSDIR}/www/py-django \
		${PYTHON_PKGNAMEPREFIX}django-classy-tags>=0.3.4.1:${PORTSDIR}/www/py-django-classy-tags \
		${PYTHON_PKGNAMEPREFIX}django-mptt>=0.4.2:${PORTSDIR}/www/py-django-mptt \
		${PYTHON_PKGNAMEPREFIX}django-sekizai>=0.6.1:${PORTSDIR}/www/py-django-sekizai \
		${PYTHON_PKGNAMEPREFIX}html5lib>=0.90:${PORTSDIR}/www/py-html5lib

USE_PYTHON=	-2.7
USE_PYDISTUTILS=	easy_install

OPTIONSFILE=	${PORT_DBDIR}/${PORTNAME}/options
OPTIONS_MULTI=	DATABASE
OPTIONS_DEFAULT=SQLITE
OPTIONS_MULTI_DATABASE=MYSQL PGSQL SQLITE

.include <bsd.port.options.mk>

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

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

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

post-install:
	@@${CAT} ${PKGMESSAGE}

.include <bsd.port.mk>
@


1.3
log
@SVN rev 306037 on 2012-10-17 19:46:38Z by rm

- let user to change database backend via options (default is sqlite)
- bump PORTREVISION
- trim Makefile header while here

PR:		169248
Submitted by:	Matthew X. Economou <xenophon+freebsd at irtnog dot org> (maintainer)
Feature safe:	yes
@
text
@d2 1
a2 1
# $FreeBSD$
@


1.2
log
@SVN rev 302477 on 2012-08-13 19:07:12Z by rm

- update to version 2.3
- update dependency upon www/py-django-sekizai (at least 0.6.1 is needed)
- fix directories at pkg-message
- use @@dirrm (not @@dirrmtry) for the port's own directories
- don't try to use @@dirrmtry to other ports directories

while here:
- use CHEESESHOP shortcut
- remove unnecessary MASTER_SITE_SUBDIR
- strict python version to 2.x only

PR:		169599
Submitted by:	bsam
Approved by:	maintainer timeout (6 weeks)
@
text
@d1 1
a1 4
# New ports collection makefile for:	py-django-cms
# Date created:				30 Jan 2012
# Whom:					Matthew X. Economou <xenophon+fbsdports@@irtnog.org>
#
a2 1
#
d6 1
d26 19
@


1.1
log
@A free and open source content management system for publishing
content on the World Wide Web and intranets.  It is based on Django
and written in Python.

WWW: http://django-cms.org/

PR:		ports/164624
Submitted by:	Matthew X. Economou <xenophon+fbsdports@@irtnog.org>
@
text
@d9 1
a9 1
PORTVERSION=	2.2
d11 1
a11 2
MASTER_SITES=	${MASTER_SITE_CHEESESHOP}
MASTER_SITE_SUBDIR=	source/d/${PORTNAME}
d23 1
a23 1
		${PYTHON_PKGNAMEPREFIX}django-sekizai>=0.5:${PORTSDIR}/www/py-django-sekizai \
d26 1
a26 1
USE_PYTHON=	yes
@

