1
0
mirror of https://git.FreeBSD.org/ports.git synced 2024-12-26 05:02:18 +00:00
freebsd-ports/www/quixote/Makefile
Ruslan Makhmatkhanov 1ff9d3deac - strict python version to 2.x only
- update WWW
2012-05-13 20:10:30 +00:00

39 lines
980 B
Makefile

# New ports collection makefile for: quixote
# Date created: 18 September 2001
# Whom: 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.7
USE_PYDISTUTILS= yes
PYDISTUTILS_PKGNAME= Quixote
.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>