blob: 8f5b016b5afcc3de3af050ede4c45bb1c44eca6b (
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
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
|
# New ports collection makefile for: mod_wsgi
# Date created: 07 April 2008
# Whom: Douglas Thrift
#
# $FreeBSD$
#
PORTNAME= mod_wsgi
PORTVERSION= 3.3
PORTREVISION= 1
CATEGORIES= www python
MASTER_SITES= ${MASTER_SITE_GOOGLE_CODE} \
http://apt.douglasthrift.net/files/${PORTNAME}/ \
http://code.douglasthrift.net/files/${PORTNAME}/
PKGNAMEPREFIX= ${APACHE_PKGNAMEPREFIX}
MAINTAINER= douglas@douglasthrift.net
COMMENT= Python WSGI adapter module for Apache
LICENSE= ASL
MAKE_JOBS_SAFE= yes
#LATEST_LINK= mod_wsgi
CONFLICTS= ${PKGNAMEPREFIX}mod_wsgi-2.* mod_wsgi-2.*
PROJECTHOST= modwsgi
USE_APACHE= 1.3+
USE_PYTHON= 2.5+
GNU_CONFIGURE= yes
CONFIGURE_ARGS+=--with-apxs="${APXS}" --with-python="${PYTHON_CMD}"
SUB_FILES= pkg-message
.include <bsd.port.pre.mk>
.if ${PYTHON_REL} >= 300 && ${PYTHON_REL} < 310
IGNORE= is unsupported with Python 3.0
.endif
pre-everything::
@${ECHO_MSG} "======================= ATTENTION! ======================"
@${ECHO_MSG}
@${ECHO_MSG} "If you want to use daemon mode you will need to make sure"
@${ECHO_MSG} "Apache and APR include thread support."
@${ECHO_MSG}
@${ECHO_MSG} "========================================================="
post-install:
@${APXS} -e -a -n "${SHORTMODNAME}" "${APACHEMODDIR}/${MODULENAME}.so"
@${CAT} ${PKGMESSAGE}
.include <bsd.port.post.mk>
|