aboutsummaryrefslogtreecommitdiffstats
path: root/www/mod_wsgi3/Makefile
blob: 9eb3cd605f056b4346ac2653f68e477a7a31a3fc (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
# New ports collection makefile for:    mod_wsgi
# Date created:             07 April 2008
# Whom:                 Douglas Thrift
#
# $FreeBSD$
#

PORTNAME=   mod_wsgi
PORTVERSION=    2.3
CATEGORIES= www python
MASTER_SITES=   ${MASTER_SITE_GOOGLE_CODE}

MAINTAINER= douglas@douglasthrift.net
COMMENT=    Python WSGI adapter module for Apache

PROJECTHOST=    modwsgi

USE_APACHE= 1.3+
USE_PYTHON= 2.3+

GNU_CONFIGURE=  yes
CONFIGURE_ARGS+=--with-apxs="${APXS}" --with-python="${PYTHON_CMD}"

SUB_FILES=  pkg-message

post-install:
    @${APXS} -e -a -n "${SHORTMODNAME}" "${APACHEMODDIR}/${MODULENAME}.so"
    @${CAT} ${PKGMESSAGE}

.include <bsd.port.mk>