mirror of
https://git.FreeBSD.org/ports.git
synced 2024-12-14 03:10:47 +00:00
5c8b7419b2
Note: Python 2.3 is't longer supported and have a lot of security issues. Convert 2.3+ to yes/or 2.4/5+ With hat: portmgr
38 lines
789 B
Makefile
38 lines
789 B
Makefile
# New ports collection makefile for: mod_wsgi
|
|
# Date created: 07 April 2008
|
|
# Whom: Douglas Thrift
|
|
#
|
|
# $FreeBSD$
|
|
#
|
|
|
|
PORTNAME= mod_wsgi
|
|
PORTVERSION= 2.8
|
|
CATEGORIES= www python
|
|
MASTER_SITES= ${MASTER_SITE_GOOGLE_CODE} \
|
|
http://apt.douglasthrift.net/files/${PORTNAME}/ \
|
|
http://code.douglasthrift.net/files/${PORTNAME}/
|
|
|
|
MAINTAINER= douglas@douglasthrift.net
|
|
COMMENT= Python WSGI adapter module for Apache
|
|
|
|
MAKE_JOBS_SAFE= yes
|
|
|
|
LATEST_LINK= mod_wsgi2
|
|
CONFLICTS= mod_wsgi-3.*
|
|
|
|
PROJECTHOST= modwsgi
|
|
|
|
USE_APACHE= 1.3+
|
|
USE_PYTHON= 2.4-2.6
|
|
|
|
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>
|