2008-06-20 23:12:20 +00:00
|
|
|
# New ports collection makefile for: mod_wsgi
|
|
|
|
# Date created: 07 April 2008
|
|
|
|
# Whom: Douglas Thrift
|
|
|
|
#
|
|
|
|
# $FreeBSD$
|
|
|
|
#
|
|
|
|
|
|
|
|
PORTNAME= mod_wsgi
|
2009-05-14 08:18:55 +00:00
|
|
|
PORTVERSION= 2.5
|
2008-06-20 23:12:20 +00:00
|
|
|
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}"
|
|
|
|
|
2008-09-02 21:55:40 +00:00
|
|
|
SUB_FILES= pkg-message
|
|
|
|
|
2008-06-20 23:12:20 +00:00
|
|
|
post-install:
|
|
|
|
@${APXS} -e -a -n "${SHORTMODNAME}" "${APACHEMODDIR}/${MODULENAME}.so"
|
|
|
|
@${CAT} ${PKGMESSAGE}
|
|
|
|
|
|
|
|
.include <bsd.port.mk>
|