blob: 0fcfad008c7d0976b12b40c350ebf0b274a33a2a (
plain) (
blame)
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
32
33
34
35
36
37
38
39
40
|
# Created by: Hye-Shik Chang
# $FreeBSD$
PORTNAME= mod_python
PORTVERSION= 3.5.0
PORTREVISION= 1
CATEGORIES= www python
MASTER_SITES= http://dist.modpython.org/dist/ \
LOCAL/ohauer
PKGNAMEPREFIX= ${APACHE_PKGNAMEPREFIX}
PKGNAMESUFFIX= 35
DIST_SUBDIR= apache2
MAINTAINER= apache@FreeBSD.org
COMMENT= Apache module that embeds the Python interpreter within the server
LICENSE= APACHE20
CONFLICTS_INSTALL= ap2[24]-mod_python3[^5]*
USE_APACHE= 22+
USES= cpe python tar:tgz
CPE_VENDOR= apache
GNU_CONFIGURE= yes
CONFIGURE_ARGS+= --with-apxs="${APXS}" \
--with-python="${PYTHON_CMD}" \
--without-flex
LDFLAGS+= -L${LOCALBASE}/lib
MAKE_ARGS+= APXS=${APXS}
MAKE_ENV= EXPR_COMPAT=yes
PLIST_SUB+= PORTVERSION=${PORTVERSION} \
PYTHON_VER=${PYTHON_VER}
# You need to install apache & mod_python before you run this
regression-test: build
-@${MAKE} test -C ${WRKSRC}
.include <bsd.port.mk>
|