summaryrefslogtreecommitdiff
path: root/www/ap-python/Makefile
blob: 713ceb2b2ba628036ecf78198a0c6d9f0baf22d7 (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.25 2012/10/28 06:30:05 asau 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

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"