1
0
mirror of https://git.FreeBSD.org/ports.git synced 2024-12-22 04:17:44 +00:00
freebsd-ports/www/py-qp/Makefile
Mathieu Arnold 4376dbbb58 Use PY_FLAVOR for dependencies.
FLAVOR is the current port's flavor, it should not be used outside of
this scope.

Sponsored by:	Absolight
2018-06-20 17:05:41 +00:00

38 lines
954 B
Makefile

# Created by: Dryice Liu <dryice@dryice.name>
# $FreeBSD$
PORTNAME= qp
PORTVERSION= 2.2
PORTREVISION= 3
CATEGORIES= www python
MASTER_SITES= http://www.mems-exchange.org/software/qp/ \
LOCAL/sunpoet
PKGNAMEPREFIX= ${PYTHON_PKGNAMEPREFIX}
MAINTAINER= sunpoet@FreeBSD.org
COMMENT= Python web framework to use qpy and durus together
BUILD_DEPENDS= ${PYTHON_PKGNAMEPREFIX}durus>=0:devel/py-durus@${PY_FLAVOR} \
${PYTHON_PKGNAMEPREFIX}qpy>=1.7:www/py-qpy@${PY_FLAVOR}
RUN_DEPENDS:= ${BUILD_DEPENDS}
OPTIONS_DEFINE= DOCS EXAMPLES
USE_PYTHON= distutils
USES= python:2.7
SUB_FILES= pkg-message
PORTDOCS= CHANGES.txt LICENSE.txt README.txt
PORTEXAMPLES= *
post-build:
@${STRIP_CMD} ${WRKSRC}/build/lib.*/qp/hub/passfd.so
post-install:
${MKDIR} ${STAGEDIR}${DOCSDIR}/
cd ${WRKSRC}/ && ${INSTALL_DATA} ${PORTDOCS} ${STAGEDIR}${DOCSDIR}/
cd ${WRKSRC}/ && ${PYTHON_CMD} setup.py install_demo_sites ${STAGEDIR}${EXAMPLESDIR}/
.include <bsd.port.mk>