3952ad93e3
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>
43 lines
1.0 KiB
Makefile
43 lines
1.0 KiB
Makefile
# 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@dryice.name
|
|
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>
|