summaryrefslogtreecommitdiff
path: root/www/ap2-python/Makefile
blob: 00e853a14b3a553c33e567da815260f18b7e1b8a (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
# $NetBSD: Makefile,v 1.4 2005/01/05 20:50:07 darcy Exp $
# FreeBSD Id: ports/www/mod_python3/Makefile,v 1.28 2004/03/11 14:36:30 perky Exp

DISTNAME=		mod_python-${VERSION}
PKGNAME=    	ap2-${PYPKGPREFIX}-python-${VERSION}
PKGREVISION=	1
CATEGORIES=		www python
MASTER_SITES=	${MASTER_SITE_APACHE_HTTPD:=modpython/}
EXTRACT_SUFX=	.tgz

MAINTAINER=		tech-pkg@NetBSD.org
HOMEPAGE=		http://www.modpython.org/
COMMENT=		Apache module that embeds the Python interpreter

USE_BUILDLINK3= YES
USE_PKGINSTALL= YES
APACHE_MODULE=  YES
VERSION=3.1.3

GNU_CONFIGURE=	yes
CONFIGURE_ARGS+=--with-apxs="${APXS}"
CONFIGURE_ARGS+=--with-python=${PYTHONBIN:Q}

PYTHON_VERSIONS_ACCEPTED= 24 24pth 23 23pth
PY_PATCHPLIST=	YES

.include "../../lang/python/extension.mk"
.include "../../www/apache2/buildlink3.mk"

.include "../../mk/bsd.pkg.mk"