aa67e11089
either because they themselves are not ready or because a dependency isn't. This is annotated by PYTHON_VERSIONS_INCOMPATIBLE= 33 # not yet ported as of x.y.z or PYTHON_VERSIONS_INCOMPATIBLE= 33 # py-foo, py-bar respectively, please use the same style for other packages, and check during updates. Use versioned_dependencies.mk where applicable. Use REPLACE_PYTHON instead of handcoded alternatives, where applicable. Reorder Makefile sections into standard order, where applicable. Remove PYTHON_VERSIONS_INCLUDE_3X lines since that will be default with the next commit. Whitespace cleanups and other nits corrected, where necessary.
31 lines
931 B
Makefile
31 lines
931 B
Makefile
# $NetBSD: Makefile,v 1.26 2014/01/25 10:30:26 wiz Exp $
|
|
|
|
DISTNAME= mod_python-2.7.11
|
|
PKGNAME= ap13-${PYPKGPREFIX}-python-2.7.11
|
|
CATEGORIES= www
|
|
MASTER_SITES= ${MASTER_SITE_APACHE:=httpd/modpython/}
|
|
EXTRACT_SUFX= .tgz
|
|
|
|
MAINTAINER= pkgsrc-users@NetBSD.org
|
|
HOMEPAGE= http://www.modpython.org/
|
|
COMMENT= Python interpreter embedded into Apache
|
|
|
|
USE_TOOLS+= pax
|
|
|
|
CONFLICTS= ap-python-[0-9]* ap13-python-[0-9]* ap13-py[0-9]*-python-[0-9]*
|
|
SUPERSEDES= ap13-python-[0-9]*
|
|
|
|
GNU_CONFIGURE= yes
|
|
CONFIGURE_ENV+= PYTHON_BIN=${PYTHONBIN:Q} ac_cv_path_MKDEP=
|
|
|
|
INSTALLATION_DIRS= lib/httpd share/doc/ap-mod_python
|
|
|
|
PY_PATCHPLIST= yes
|
|
PYTHON_VERSIONS_INCOMPATIBLE= 33 # not yet ported as of 2.7.11; 3.5.0 is supposed to work
|
|
|
|
post-install:
|
|
cd ${WRKSRC}/doc-html && pax -rwpe . ${DESTDIR}${PREFIX}/share/doc/ap-mod_python
|
|
|
|
.include "../../lang/python/extension.mk"
|
|
.include "../../www/apache/buildlink3.mk"
|
|
.include "../../mk/bsd.pkg.mk"
|