1
0
mirror of https://git.FreeBSD.org/ports.git synced 2024-12-23 04:23:08 +00:00
freebsd-ports/www/mod_wsgi/Makefile
Philip M. Gollucci 12e9ca398c - Works with python 2.7
PR:             ports/151092
Submitted by:   John Hein <jhein@symmetricom.com>
Approved by:    Douglas Thrift <douglas@douglasthrift.net> (maintainer)
2010-09-30 02:04:37 +00:00

51 lines
1.2 KiB
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}/
PKGNAMEPREFIX= ${APACHE_PKGNAMEPREFIX}
MAINTAINER= douglas@douglasthrift.net
COMMENT= Python WSGI adapter module for Apache
LICENSE= ASL
MAKE_JOBS_SAFE= yes
LATEST_LINK= mod_wsgi2
CONFLICTS= ${PKGNAMEPREFIX}mod_wsgi-3.* mod_wsgi-3.*
PROJECTHOST= modwsgi
USE_APACHE= 1.3+
USE_PYTHON= 2.4-2.7
GNU_CONFIGURE= yes
CONFIGURE_ARGS+=--with-apxs="${APXS}" --with-python="${PYTHON_CMD}"
SUB_FILES= pkg-message
PORTSCOUT= limit:^2\.
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.mk>