2018-04-14 11:34:15 +02:00
|
|
|
# $NetBSD: Makefile,v 1.17 2018/04/14 09:34:15 adam Exp $
|
2015-01-25 13:00:28 +01:00
|
|
|
|
2018-04-14 11:34:15 +02:00
|
|
|
DISTNAME= mod_wsgi-4.6.4
|
2016-09-09 11:44:52 +02:00
|
|
|
PKGNAME= ${PYPKGPREFIX}-${APACHE_PKG_PREFIX}-${DISTNAME}
|
2015-01-25 13:00:28 +01:00
|
|
|
CATEGORIES= www python
|
2016-06-08 19:43:20 +02:00
|
|
|
MASTER_SITES= ${MASTER_SITE_PYPI:=m/mod_wsgi/}
|
2015-01-25 13:00:28 +01:00
|
|
|
|
|
|
|
MAINTAINER= pkgsrc-users@NetBSD.org
|
2017-04-14 20:11:50 +02:00
|
|
|
HOMEPAGE= http://www.modwsgi.org/
|
2015-01-25 13:00:28 +01:00
|
|
|
COMMENT= WSGI module for apache
|
|
|
|
LICENSE= apache-2.0
|
|
|
|
|
|
|
|
APACHE_MODULE= yes
|
|
|
|
MESSAGE_SUBST+= PYSITELIB=${PYSITELIB}
|
|
|
|
MESSAGE_SUBST+= PYPKGPREFIX=${PYPKGPREFIX}
|
|
|
|
PLIST_SUBST+= PYPKGPREFIX=${PYPKGPREFIX}
|
|
|
|
|
|
|
|
post-install:
|
2018-04-14 11:34:15 +02:00
|
|
|
cd ${DESTDIR}${PREFIX}/bin && \
|
2017-07-07 17:45:55 +02:00
|
|
|
${MV} mod_wsgi-express mod_wsgi-express${PYVERSSUFFIX} || ${TRUE}
|
2015-01-25 13:00:28 +01:00
|
|
|
|
|
|
|
.include "../../lang/python/egg.mk"
|
|
|
|
.include "../../mk/apache.mk"
|
|
|
|
.include "../../mk/bsd.pkg.mk"
|