head	1.15;
access;
symbols
	RELEASE_8_3_0:1.12
	RELEASE_9_0_0:1.12
	RELEASE_7_4_0:1.11
	RELEASE_8_2_0:1.11
	RELEASE_6_EOL:1.9
	RELEASE_8_1_0:1.8
	RELEASE_7_3_0:1.8
	RELEASE_8_0_0:1.7
	RELEASE_7_2_0:1.7
	RELEASE_7_1_0:1.6
	RELEASE_6_4_0:1.6
	RELEASE_5_EOL:1.5
	RELEASE_7_0_0:1.5
	RELEASE_6_3_0:1.5
	PRE_XORG_7:1.4
	RELEASE_4_EOL:1.4
	RELEASE_6_2_0:1.4
	RELEASE_6_1_0:1.3
	RELEASE_5_5_0:1.3;
locks; strict;
comment	@# @;


1.15
date	2012.11.17.06.03.05;	author svnexp;	state Exp;
branches;
next	1.14;

1.14
date	2012.10.05.16.30.22;	author bapt;	state Exp;
branches;
next	1.13;

1.13
date	2012.05.13.20.11.10;	author rm;	state Exp;
branches;
next	1.12;

1.12
date	2011.06.11.12.56.43;	author dryice;	state Exp;
branches;
next	1.11;

1.11
date	2011.01.17.14.38.04;	author sunpoet;	state Exp;
branches;
next	1.10;

1.10
date	2010.12.27.15.52.11;	author pgollucci;	state Exp;
branches;
next	1.9;

1.9
date	2010.10.24.22.09.15;	author pav;	state Exp;
branches;
next	1.8;

1.8
date	2009.12.13.16.27.59;	author miwi;	state Exp;
branches;
next	1.7;

1.7
date	2008.11.22.08.58.16;	author itetcu;	state Exp;
branches;
next	1.6;

1.6
date	2008.06.06.14.07.13;	author edwin;	state Exp;
branches;
next	1.5;

1.5
date	2007.07.30.09.42.17;	author alexbl;	state Exp;
branches;
next	1.4;

1.4
date	2006.03.15.18.21.26;	author garga;	state Exp;
branches;
next	1.3;

1.3
date	2006.02.09.10.30.50;	author lawrance;	state Exp;
branches;
next	1.2;

1.2
date	2006.01.11.04.01.50;	author edwin;	state Exp;
branches;
next	1.1;

1.1
date	2005.11.13.17.10.37;	author lawrance;	state Exp;
branches;
next	;


desc
@@


1.15
log
@Switch exporter over
@
text
@# Created by: Dryice Liu <dryice@@liu.com.cn>
# $FreeBSD: head/www/session2/Makefile 305307 2012-10-05 16:30:22Z bapt $

PORTNAME=	session2
PORTVERSION=	0.6.1
PORTREVISION=	2
CATEGORIES=	www python
MASTER_SITES=	http://quixote.idyll.org/session2/ \
		http://dryice.name/computer/FreeBSD/distfiles/
DISTNAME=	session2-${PORTVERSION}

MAINTAINER=	ports@@FreeBSD.org
COMMENT=	A quixote session manager with persistence support

USE_PYTHON=	-2.7
USE_PYDISTUTILS=	yes
PYDISTUTILS_PKGVERSION=	0.6

OPTIONS_DEFINE=	MYSQL PGSQL DOCS
OPTIONS_DEFAULT=	MYSQL PGSQL

.include <bsd.port.options.mk>

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

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

post-install:
.if ${PORT_OPTIONS:MDOCS}
	@@ ${MKDIR} ${DOCSDIR}
.for docfile in ChangeLog default.css README.html README.txt TODO
	@@ ${INSTALL_DATA} ${WRKSRC}/${docfile} ${DOCSDIR}
.endfor
.endif

.include <bsd.port.mk>
@


1.14
log
@SVN rev 305307 on 2012-10-05 16:30:22Z by bapt

Convert to new options framework
@
text
@d2 1
a2 1
# $FreeBSD$
@


1.13
log
@- strict python version to 2.x only
- convert to using PYTHON_PKGNAMEPREFIX in dependency entry
@
text
@d1 1
a1 4
# New ports collection makefile for:	quixote-session2
# Date created:		15 June 2005
# Whom:	      		Dryice Liu <dryice@@liu.com.cn>
#
a2 1
#
d19 2
a20 2
OPTIONS=	MYSQL "MySQLdb support" on
OPTIONS+=	POSTGRESQL "psycopg support" on
d22 1
a22 1
.include <bsd.port.pre.mk>
d24 1
a24 1
.if defined(WITH_MYSQL)
d28 1
a28 1
.if defined(WITH_POSTGRESQL)
d33 1
a33 1
.if !defined(NOPORTDOCS)
d40 1
a40 1
.include <bsd.port.post.mk>
@


1.12
log
@- no longer broken because it's fixed in the last commit (ports/153760)
- drop maintainership
@
text
@d19 1
a19 1
USE_PYTHON=	yes
d33 1
a33 1
RUN_DEPENDS+=	${PYTHON_SITELIBDIR}/psycopgmodule.so:${PORTSDIR}/databases/py-psycopg
@


1.11
log
@- Fix RUN_DEPENDS

PR:		ports/153760
Submitted by:	Anatoly Borodin <anatoly.borodin@@gmail.com>
Approved by:	Dryice Liu <dryice@@dryice.name> (maintainer)
Feature safe:	yes
@
text
@d16 1
a16 1
MAINTAINER=	dryice@@dryice.name
a29 1
BROKEN=		bad dependency line
@


1.10
log
@- new version of py-MySQLdb installs only the .egg 'zipped' so mysql.so
  is no longer present to test for.

Approved by:    itectu (portmgr, via irc)
@
text
@d29 1
a29 1
RUN_DEPENDS+=	${PYHON_PKGNAMEPREFIX}MySQLdb>=0:${PORTSDIR}/databases/py-MySQLdb
@


1.9
log
@- Mark BROKEN: bad dependency line

Reported by:	pointyhat
@
text
@d29 1
a29 1
RUN_DEPENDS+=	${PYTHON_SITELIBDIR}/MySQLdb/__init__.py:${PORTSDIR}/databases/py-MySQLdb
@


1.8
log
@- Get rip python 2.3+

Note:
Python 2.3 is't longer supported and have a lot of security issues.
Convert 2.3+ to yes/or 2.4/5+

With hat:	portmgr
@
text
@d30 1
@


1.7
log
@- fix plsit with -DNOPORTDOCS
- bump PORTREVISION

Approved by:	maintainer timeout on QAT BotMail
Prompted by:	QAT QA 	RUN
@
text
@d19 1
a19 1
USE_PYTHON=	2.3+
@


1.6
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
@d10 1
a10 1
PORTREVISION=	1
@


1.5
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
@d10 1
@


1.4
log
@- Fix MASTER_SITES

bsdchat.com is no longer available. Thanks for all their support!

PR:		ports/94459
Submitted by:	Dryice Liu <dryice@@dryice.name> (maintainer)
@
text
@d20 1
@


1.3
log
@Update to 0.6.1.

PR:		ports/93013
Submitted by:	Dryice Liu <dryice@@dryice.name> (maintainer)
@
text
@d12 1
a12 1
		http://bsdchat.com/dist/dryice/
@


1.2
log
@[maintainer] change maintainer mail address

        I'm the maintainer(dryice@@liu.com.cn) of the following
	ports. Please help to change the maintainer mail address to
	dryice@@dryice.name. This new mail address has a RDNS record
	and will make the life easier. Thanks!

PR:		ports/91624
Submitted by:	Dryice Dong Liu <dryice@@dryice.name>
@
text
@d9 1
a9 1
PORTVERSION=	0.6
d37 1
a37 1
.for docfile in CHANGES default.css README.html README.txt TODO
@


1.1
log
@Add session2 0.6, a quixote session manager with persistence support.

PR:		ports/88083
Submitted by:	Dryice Liu <dryice@@liu.com.cn>
@
text
@d15 1
a15 1
MAINTAINER=	dryice@@liu.com.cn
@

