2001-09-18 12:51:37 +02:00
|
|
|
# New ports collection makefile for: quixote
|
|
|
|
# Date created: 18 September 2001
|
|
|
|
# Whom: Johann Visagie <wjv@FreeBSD.org>
|
|
|
|
#
|
|
|
|
# $FreeBSD$
|
|
|
|
#
|
|
|
|
|
|
|
|
PORTNAME= quixote
|
2004-11-05 14:12:24 +01:00
|
|
|
PORTVERSION= 1.2
|
2001-09-18 12:51:37 +02:00
|
|
|
CATEGORIES= www python
|
2005-01-13 01:20:28 +01:00
|
|
|
MASTER_SITES= http://www.mems-exchange.org/software/files/quixote/ \
|
|
|
|
http://bsdchat.com/dist/dryice/
|
2001-09-18 12:51:37 +02:00
|
|
|
DISTNAME= Quixote-${PORTVERSION}
|
|
|
|
|
2004-07-01 04:54:07 +02:00
|
|
|
MAINTAINER= dryice@liu.com.cn
|
2003-03-07 07:14:21 +01:00
|
|
|
COMMENT= A framework for developing web applications in Python
|
2001-09-18 12:51:37 +02:00
|
|
|
|
2004-06-30 09:09:35 +02:00
|
|
|
USE_PYTHON= 2.0+
|
2002-04-29 21:21:15 +02:00
|
|
|
USE_PYDISTUTILS= yes
|
2002-01-09 15:49:55 +01:00
|
|
|
|
|
|
|
.include <bsd.port.pre.mk>
|
|
|
|
|
|
|
|
.if ${PYTHON_REL} < 220
|
|
|
|
RUN_DEPENDS+= ${PYTHON_SITELIBDIR}/compiler/__init__.py:${PORTSDIR}/lang/py-compiler
|
|
|
|
.endif
|
2001-09-18 12:51:37 +02:00
|
|
|
|
|
|
|
post-install:
|
2001-11-14 10:30:05 +01:00
|
|
|
@ PYTHONPATH=${PREFIX}/lib/${PYTHON_VERSION}/site-packages \
|
|
|
|
${PYTHON_CMD} ${SCRIPTDIR}/compile_ptl.py \
|
2004-06-30 09:09:35 +02:00
|
|
|
${PREFIX}/lib/${PYTHON_VERSION}/site-packages/${PORTNAME}/demo/*.ptl
|
2001-10-22 17:27:13 +02:00
|
|
|
@ ${MKDIR} ${EXAMPLESDIR}
|
2002-10-20 22:11:50 +02:00
|
|
|
@ ${INSTALL_DATA} ${WRKSRC}/demo/*.cgi ${WRKSRC}/demo/*.conf \
|
|
|
|
${EXAMPLESDIR}
|
2004-06-30 09:09:35 +02:00
|
|
|
|
2001-09-18 12:51:37 +02:00
|
|
|
.if !defined(NOPORTDOCS)
|
|
|
|
@ ${MKDIR} ${DOCSDIR}
|
2002-10-20 22:11:50 +02:00
|
|
|
.for docfile in ACKS CHANGES LICENSE README TODO doc/*
|
2001-09-18 12:51:37 +02:00
|
|
|
@ ${INSTALL_DATA} ${WRKSRC}/${docfile} ${DOCSDIR}
|
|
|
|
.endfor
|
|
|
|
.endif
|
|
|
|
|
2002-01-09 15:49:55 +01:00
|
|
|
.include <bsd.port.post.mk>
|