mirror of
https://git.FreeBSD.org/ports.git
synced 2024-12-25 04:43:33 +00:00
5c8b7419b2
Note: Python 2.3 is't longer supported and have a lot of security issues. Convert 2.3+ to yes/or 2.4/5+ With hat: portmgr
39 lines
980 B
Makefile
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.6
|
|
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.4+
|
|
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>
|