2017-11-03 15:39:27 +01:00
|
|
|
# $NetBSD: Makefile,v 1.10 2017/11/03 14:39:27 leot Exp $
|
2014-05-08 11:05:51 +02:00
|
|
|
|
2017-04-14 15:24:30 +02:00
|
|
|
DISTNAME= gunicorn-19.7.1
|
2017-11-03 15:39:27 +01:00
|
|
|
PKGREVISION= 1
|
2014-05-08 11:05:51 +02:00
|
|
|
CATEGORIES= www
|
2016-06-08 19:43:20 +02:00
|
|
|
MASTER_SITES= ${MASTER_SITE_PYPI:=g/gunicorn/}
|
2014-05-08 11:05:51 +02:00
|
|
|
PKGNAME= ${PYPKGPREFIX}-${DISTNAME}
|
|
|
|
|
|
|
|
MAINTAINER= gls@NetBSD.org
|
|
|
|
HOMEPAGE= http://gunicorn.org/
|
|
|
|
COMMENT= Python WSGI HTTP server
|
|
|
|
LICENSE= mit
|
|
|
|
|
2016-10-01 16:15:04 +02:00
|
|
|
# These depends is used for test
|
|
|
|
BUILD_DEPENDS+= ${PYPKGPREFIX}-test-cov>=0:../../devel/py-test-cov
|
|
|
|
|
2014-05-08 11:05:51 +02:00
|
|
|
USE_TOOLS+= pax
|
|
|
|
|
2017-11-03 15:39:27 +01:00
|
|
|
DOCDIR= ${PREFIX}/share/doc/${PKGBASE}
|
|
|
|
EXAMPLESDIR= ${PREFIX}/share/examples/${PKGBASE}
|
2014-08-13 22:27:09 +02:00
|
|
|
AUTO_MKDIRS= yes
|
2014-05-08 11:05:51 +02:00
|
|
|
|
|
|
|
post-install:
|
|
|
|
cd ${WRKSRC}/docs/source && pax -wr -pma *.rst \
|
|
|
|
${DESTDIR}${DOCDIR}
|
|
|
|
cd ${WRKSRC}/examples && pax -wr -pma * \
|
|
|
|
${DESTDIR}${EXAMPLESDIR}
|
2017-11-03 15:39:27 +01:00
|
|
|
cd ${DESTDIR}${PREFIX}/bin && ${MV} gunicorn gunicorn-${PYVERSSUFFIX} || ${TRUE}
|
|
|
|
cd ${DESTDIR}${PREFIX}/bin && ${MV} gunicorn_paster gunicorn_paster-${PYVERSSUFFIX} || ${TRUE}
|
2014-05-08 11:05:51 +02:00
|
|
|
|
|
|
|
.include "../../lang/python/egg.mk"
|
|
|
|
.include "../../mk/bsd.pkg.mk"
|