2013-08-21 19:42:57 +02:00
|
|
|
# Created by: Dryice Liu <dryice@dryice.name>
|
2006-11-15 15:14:55 +01:00
|
|
|
# $FreeBSD$
|
|
|
|
|
|
|
|
PORTNAME= qp
|
2011-06-14 21:39:05 +02:00
|
|
|
PORTVERSION= 2.2
|
2014-03-09 15:51:15 +01:00
|
|
|
PORTREVISION= 1
|
2006-11-15 15:14:55 +01:00
|
|
|
CATEGORIES= www python
|
2011-08-16 06:55:59 +02:00
|
|
|
MASTER_SITES= http://www.mems-exchange.org/software/qp/ \
|
|
|
|
LOCAL/sunpoet
|
2006-11-15 15:14:55 +01:00
|
|
|
PKGNAMEPREFIX= ${PYTHON_PKGNAMEPREFIX}
|
|
|
|
|
2011-06-14 21:39:05 +02:00
|
|
|
MAINTAINER= sunpoet@FreeBSD.org
|
2013-08-21 19:17:25 +02:00
|
|
|
COMMENT= Python web framework to use qpy and durus together
|
2006-11-15 15:14:55 +01:00
|
|
|
|
2011-06-14 21:39:05 +02:00
|
|
|
BUILD_DEPENDS= ${PYTHON_PKGNAMEPREFIX}durus>=0:${PORTSDIR}/devel/py-durus \
|
|
|
|
${PYTHON_PKGNAMEPREFIX}qpy>=1.7:${PORTSDIR}/www/py-qpy
|
2013-11-20 04:22:01 +01:00
|
|
|
RUN_DEPENDS:= ${BUILD_DEPENDS}
|
2006-11-15 15:14:55 +01:00
|
|
|
|
2012-06-18 18:33:24 +02:00
|
|
|
OPTIONS_DEFINE= DOCS EXAMPLES
|
2013-11-20 04:22:01 +01:00
|
|
|
OPTIONSFILE= ${PORT_DBDIR}/py-${PORTNAME}/options
|
2012-06-18 18:33:24 +02:00
|
|
|
|
2014-08-15 05:43:54 +02:00
|
|
|
USE_PYTHON= distutils
|
2014-08-15 05:02:56 +02:00
|
|
|
USES= python:2
|
2006-11-15 15:14:55 +01:00
|
|
|
|
2011-06-14 21:39:05 +02:00
|
|
|
SUB_FILES= pkg-message
|
2006-11-15 15:14:55 +01:00
|
|
|
|
2013-11-30 11:05:54 +01:00
|
|
|
PORTDOCS= CHANGES.txt LICENSE.txt README.txt
|
|
|
|
PORTEXAMPLES= *
|
2012-06-18 18:33:24 +02:00
|
|
|
|
2014-03-09 15:51:15 +01:00
|
|
|
post-build:
|
|
|
|
@${STRIP_CMD} ${WRKSRC}/build/lib.*/qp/hub/passfd.so
|
|
|
|
|
2006-11-15 15:14:55 +01:00
|
|
|
post-install:
|
2013-11-30 11:05:54 +01:00
|
|
|
${MKDIR} ${STAGEDIR}${DOCSDIR}/ ${STAGEDIR}${EXAMPLESDIR}/
|
|
|
|
cd ${WRKSRC}/ && ${INSTALL_DATA} ${PORTDOCS} ${STAGEDIR}${DOCSDIR}/
|
2014-07-27 18:38:16 +02:00
|
|
|
cd ${WRKSRC}/ && ${PYTHON_CMD} setup.py install_demo_sites ${STAGEDIR}${EXAMPLESDIR}/
|
2006-11-15 15:14:55 +01:00
|
|
|
|
2011-06-14 21:39:05 +02:00
|
|
|
.include <bsd.port.mk>
|