summaryrefslogtreecommitdiff
path: root/www/ap2-python/Makefile
diff options
context:
space:
mode:
Diffstat (limited to 'www/ap2-python/Makefile')
-rw-r--r--www/ap2-python/Makefile27
1 files changed, 12 insertions, 15 deletions
diff --git a/www/ap2-python/Makefile b/www/ap2-python/Makefile
index 566c143fed8..1f48ef6698b 100644
--- a/www/ap2-python/Makefile
+++ b/www/ap2-python/Makefile
@@ -1,7 +1,7 @@
-# $NetBSD: Makefile,v 1.30 2014/01/25 10:30:26 wiz Exp $
+# $NetBSD: Makefile,v 1.31 2014/02/17 17:20:28 adam Exp $
-DISTNAME= mod_python-${VERSION}
-PKGNAME= ${APACHE_PKG_PREFIX}-${PYPKGPREFIX}-python-${VERSION}
+DISTNAME= mod_python-3.5.0
+PKGNAME= ${APACHE_PKG_PREFIX}-${PYPKGPREFIX}-${DISTNAME:S/mod_//}
CATEGORIES= www python
MASTER_SITES= http://archive.apache.org/dist/httpd/modpython/
EXTRACT_SUFX= .tgz
@@ -11,21 +11,18 @@ HOMEPAGE= http://www.modpython.org/
COMMENT= Apache module that embeds the Python interpreter
LICENSE= apache-2.0
-MAKE_JOBS_SAFE= no
+PKG_APACHE_ACCEPTED= apache2 apache22 apache24
-USE_LIBTOOL= YES
-APACHE_MODULE= YES
-VERSION= 3.3.1
+MAKE_JOBS_SAFE= no
-GNU_CONFIGURE= yes
-CONFIGURE_ARGS+=--with-apxs=${APXS:Q}
-CONFIGURE_ARGS+=--with-python=${PYTHONBIN:Q}
+APACHE_MODULE= yes
+USE_LIBTOOL= yes
+GNU_CONFIGURE= yes
+CONFIGURE_ARGS+= --with-apxs=${APXS:Q}
+CONFIGURE_ARGS+= --with-python=${PYTHONBIN:Q}
-PY_PATCHPLIST= YES
-
-PKG_APACHE_ACCEPTED= apache2 apache22
-
-PYTHON_VERSIONS_INCOMPATIBLE= 33 # not yet ported as of 3.3.1; 3.5.0 is supposed to work
+INSTALLATION_DIRS+= bin
+PY_PATCHPLIST= yes
.include "../../lang/python/extension.mk"
.include "../../mk/apache.mk"