1
0
mirror of https://git.FreeBSD.org/ports.git synced 2025-01-30 10:38:37 +00:00
freebsd-ports/www/session2/Makefile
Dmitry Marakasov 4530e21851 - Add LICENSE
- Add NO_ARCH
- Drop @dirrm* from plist
2015-06-03 16:01:06 +00:00

44 lines
1020 B
Makefile

# Created by: Dryice Liu <dryice@liu.com.cn>
# $FreeBSD$
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= Quixote session manager with persistence support
LICENSE= MIT
USES= python:2
USE_PYTHON= distutils
PYDISTUTILS_PKGVERSION= 0.6
NO_ARCH= yes
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} ${STAGEDIR}${DOCSDIR}
.for docfile in ChangeLog default.css README.html README.txt TODO
@ ${INSTALL_DATA} ${WRKSRC}/${docfile} ${STAGEDIR}${DOCSDIR}
.endfor
.endif
.include <bsd.port.mk>