1
0
mirror of https://git.FreeBSD.org/ports.git synced 2024-12-23 04:23:08 +00:00
freebsd-ports/www/quixote/Makefile
Rene Ladan 50f8eaece1 Python cleanup:
- USE_PYTHON* = 2.X -> USE_PYTHON* = 2
- USE_PYTHON* = 2.X+ -> USE_PYTHON* = yes
Reviewed by:	python (mva, rm)
Approved by:	portmgr-lurkers (mat)
2014-01-13 21:00:02 +00:00

36 lines
905 B
Makefile

# Created by: Johann Visagie <wjv@FreeBSD.org>
# $FreeBSD$
PORTNAME= quixote
PORTVERSION= 2.7
CATEGORIES= www python
MASTER_SITES= http://quixote.ca/releases/ \
http://dryice.name/computer/FreeBSD/distfiles/
DISTNAME= Quixote-${PORTVERSION}
MAINTAINER= ports@FreeBSD.org
COMMENT= A framework for developing web applications in Python
RUN_DEPENDS+= qpcheck.py:${PORTSDIR}/www/py-qpy
USE_PYTHON= 2
USE_PYDISTUTILS= yes
PYDISTUTILS_PKGNAME= Quixote
NO_STAGE= yes
.include <bsd.port.pre.mk>
post-install:
@ PYTHONPATH=${PREFIX}/lib/${PYTHON_VERSION}/site-packages \
${PYTHON_CMD} ${SCRIPTDIR}/compile_ptl.py \
${PREFIX}/lib/${PYTHON_VERSION}/site-packages/${PORTNAME}/demo/*.ptl
.if !defined(NOPORTDOCS)
@ ${MKDIR} ${DOCSDIR}
.for docfile in ACKS.txt CHANGES.txt LICENSE.txt README.txt TODO doc/*
@ ${INSTALL_DATA} ${WRKSRC}/${docfile} ${DOCSDIR}
.endfor
.endif
.include <bsd.port.post.mk>