- assume that Python 2.4 and 2.5 are compatible and allow checking for fallout. - remove PYTHON_VERSIONS_COMPATIBLE that are obsoleted by the 2.3+ default. Modify the others to deal with the removals.
29 lines
721 B
Makefile
29 lines
721 B
Makefile
# $NetBSD: Makefile,v 1.24 2008/04/25 20:39:13 joerg Exp $
|
|
|
|
DISTNAME= mod_python-${VERSION}
|
|
PKGNAME= ${APACHE_PKG_PREFIX}-${PYPKGPREFIX}-python-${VERSION}
|
|
CATEGORIES= www python
|
|
MASTER_SITES= ${MASTER_SITE_APACHE:=httpd/modpython/}
|
|
EXTRACT_SUFX= .tgz
|
|
|
|
MAINTAINER= pkgsrc-users@NetBSD.org
|
|
HOMEPAGE= http://www.modpython.org/
|
|
COMMENT= Apache module that embeds the Python interpreter
|
|
|
|
MAKE_JOBS_SAFE= no
|
|
|
|
USE_LIBTOOL= YES
|
|
APACHE_MODULE= YES
|
|
VERSION= 3.2.10
|
|
|
|
GNU_CONFIGURE= yes
|
|
CONFIGURE_ARGS+=--with-apxs=${APXS:Q}
|
|
CONFIGURE_ARGS+=--with-python=${PYTHONBIN:Q}
|
|
|
|
PY_PATCHPLIST= YES
|
|
|
|
PKG_APACHE_ACCEPTED= apache2 apache22
|
|
|
|
.include "../../lang/python/extension.mk"
|
|
.include "../../mk/apache.mk"
|
|
.include "../../mk/bsd.pkg.mk"
|