24 lines
730 B
Makefile
24 lines
730 B
Makefile
# $NetBSD: Makefile,v 1.2 2017/07/30 22:32:26 wiz Exp $
|
|
|
|
DISTNAME= daphne-1.3.0
|
|
PKGNAME= ${PYPKGPREFIX}-${DISTNAME}
|
|
CATEGORIES= www python
|
|
MASTER_SITES= ${MASTER_SITE_PYPI:=d/daphne/}
|
|
|
|
MAINTAINER= adam@NetBSD.org
|
|
HOMEPAGE= https://github.com/django/daphne
|
|
COMMENT= HTTP, HTTP2 and WebSocket protocol server for ASGI
|
|
LICENSE= modified-bsd
|
|
|
|
USE_LANGUAGES= # empty
|
|
|
|
DEPENDS+= ${PYPKGPREFIX}-asgiref-[0-9]*:../../www/py-asgiref
|
|
DEPENDS+= ${PYPKGPREFIX}-autobahn>=0.18:../../www/py-autobahn
|
|
DEPENDS+= ${PYPKGPREFIX}-twisted>=17.1:../../net/py-twisted
|
|
|
|
post-install:
|
|
${MV} ${DESTDIR}${PREFIX}/bin/daphne \
|
|
${DESTDIR}${PREFIX}/bin/daphne-${PYVERSSUFFIX} || ${TRUE}
|
|
|
|
.include "../../lang/python/egg.mk"
|
|
.include "../../mk/bsd.pkg.mk"
|