diff options
-rw-r--r-- | www/Makefile | 1 | ||||
-rw-r--r-- | www/session2/Makefile | 42 | ||||
-rw-r--r-- | www/session2/distinfo | 2 | ||||
-rw-r--r-- | www/session2/pkg-descr | 5 | ||||
-rw-r--r-- | www/session2/pkg-plist | 44 |
5 files changed, 94 insertions, 0 deletions
diff --git a/www/Makefile b/www/Makefile index f295fd05d2f9..fb934940dc4b 100644 --- a/www/Makefile +++ b/www/Makefile @@ -772,6 +772,7 @@ SUBDIR += script4rss SUBDIR += selenium SUBDIR += servlet-api + SUBDIR += session2 SUBDIR += shttpd SUBDIR += sidplug SUBDIR += simplog diff --git a/www/session2/Makefile b/www/session2/Makefile new file mode 100644 index 000000000000..b567f3f14b13 --- /dev/null +++ b/www/session2/Makefile @@ -0,0 +1,42 @@ +# New ports collection makefile for: quixote-session2 +# Date created: 15 June 2005 +# Whom: Dryice Liu <dryice@liu.com.cn> +# +# $FreeBSD$ +# + +PORTNAME= session2 +PORTVERSION= 0.6 +CATEGORIES= www python +MASTER_SITES= http://quixote.idyll.org/session2/ \ + http://bsdchat.com/dist/dryice/ +DISTNAME= session2-${PORTVERSION} + +MAINTAINER= dryice@liu.com.cn +COMMENT= A quixote session manager with persistence support + +USE_PYTHON= 2.3+ +USE_PYDISTUTILS= yes + +OPTIONS= MYSQL "MySQLdb support" on +OPTIONS+= POSTGRESQL "psycopg support" on + +.include <bsd.port.pre.mk> + +.if defined(WITH_MYSQL) +RUN_DEPENDS+= ${PYTHON_SITELIBDIR}/MySQLdb/__init__.py:${PORTSDIR}/databases/py-MySQLdb +.endif + +.if defined(WITH_POSTGRESQL) +RUN_DEPENDS+= ${PYTHON_SITELIBDIR}/psycopgmodule.so:${PORTSDIR}/databases/py-psycopg +.endif + +post-install: +.if !defined(NOPORTDOCS) + @ ${MKDIR} ${DOCSDIR} +.for docfile in CHANGES default.css README.html README.txt TODO + @ ${INSTALL_DATA} ${WRKSRC}/${docfile} ${DOCSDIR} +.endfor +.endif + +.include <bsd.port.post.mk> diff --git a/www/session2/distinfo b/www/session2/distinfo new file mode 100644 index 000000000000..f5cc9822378d --- /dev/null +++ b/www/session2/distinfo @@ -0,0 +1,2 @@ +MD5 (session2-0.6.tar.gz) = 7b8d9a9d1ec720d8b562ee60dfdfe67a +SIZE (session2-0.6.tar.gz) = 52389 diff --git a/www/session2/pkg-descr b/www/session2/pkg-descr new file mode 100644 index 000000000000..85be1f11106d --- /dev/null +++ b/www/session2/pkg-descr @@ -0,0 +1,5 @@ +The session2 package provides simple session handling for Quixote 2.0, +together with persistence mechanisms that can store sessions in a +variety of backends, including MySQL and PostgreSQL databases. + +WWW: http://quixote.idyll.org/session2/ diff --git a/www/session2/pkg-plist b/www/session2/pkg-plist new file mode 100644 index 000000000000..c4c31d432c27 --- /dev/null +++ b/www/session2/pkg-plist @@ -0,0 +1,44 @@ +%%PYTHON_SITELIBDIR%%/session2/DictSession.py +%%PYTHON_SITELIBDIR%%/session2/DictSession.pyc +%%PYTHON_SITELIBDIR%%/session2/DictSession.pyo +%%PYTHON_SITELIBDIR%%/session2/Session.py +%%PYTHON_SITELIBDIR%%/session2/Session.pyc +%%PYTHON_SITELIBDIR%%/session2/Session.pyo +%%PYTHON_SITELIBDIR%%/session2/SessionManager.py +%%PYTHON_SITELIBDIR%%/session2/SessionManager.pyc +%%PYTHON_SITELIBDIR%%/session2/SessionManager.pyo +%%PYTHON_SITELIBDIR%%/session2/__init__.py +%%PYTHON_SITELIBDIR%%/session2/__init__.pyc +%%PYTHON_SITELIBDIR%%/session2/__init__.pyo +%%PYTHON_SITELIBDIR%%/session2/store/DirectorySessionStore.py +%%PYTHON_SITELIBDIR%%/session2/store/DirectorySessionStore.pyc +%%PYTHON_SITELIBDIR%%/session2/store/DirectorySessionStore.pyo +%%PYTHON_SITELIBDIR%%/session2/store/DurusSessionStore.py +%%PYTHON_SITELIBDIR%%/session2/store/DurusSessionStore.pyc +%%PYTHON_SITELIBDIR%%/session2/store/DurusSessionStore.pyo +%%PYTHON_SITELIBDIR%%/session2/store/MySQLSessionStore.py +%%PYTHON_SITELIBDIR%%/session2/store/MySQLSessionStore.pyc +%%PYTHON_SITELIBDIR%%/session2/store/MySQLSessionStore.pyo +%%PYTHON_SITELIBDIR%%/session2/store/PostgresSessionStore.py +%%PYTHON_SITELIBDIR%%/session2/store/PostgresSessionStore.pyc +%%PYTHON_SITELIBDIR%%/session2/store/PostgresSessionStore.pyo +%%PYTHON_SITELIBDIR%%/session2/store/SessionStore.py +%%PYTHON_SITELIBDIR%%/session2/store/SessionStore.pyc +%%PYTHON_SITELIBDIR%%/session2/store/SessionStore.pyo +%%PYTHON_SITELIBDIR%%/session2/store/ShelveSessionStore.py +%%PYTHON_SITELIBDIR%%/session2/store/ShelveSessionStore.pyc +%%PYTHON_SITELIBDIR%%/session2/store/ShelveSessionStore.pyo +%%PYTHON_SITELIBDIR%%/session2/store/VolatileSessionStore.py +%%PYTHON_SITELIBDIR%%/session2/store/VolatileSessionStore.pyc +%%PYTHON_SITELIBDIR%%/session2/store/VolatileSessionStore.pyo +%%PYTHON_SITELIBDIR%%/session2/store/__init__.py +%%PYTHON_SITELIBDIR%%/session2/store/__init__.pyc +%%PYTHON_SITELIBDIR%%/session2/store/__init__.pyo +%%DOCSDIR%%/CHANGES +%%DOCSDIR%%/README.html +%%DOCSDIR%%/README.txt +%%DOCSDIR%%/TODO +%%DOCSDIR%%/default.css +@dirrm %%DOCSDIR%% +@dirrm %%PYTHON_SITELIBDIR%%/session2/store +@dirrm %%PYTHON_SITELIBDIR%%/session2 |