#!/bin/sh # This is a shell archive echo x mod_wsgi mkdir -p mod_wsgi > /dev/null 2>&1 echo x mod_wsgi/Makefile sed 's/^X//' > mod_wsgi/Makefile << 'SHAR_END' X# New ports collection makefile for: mod_wsgi X# Date created: 07 April 2008 X# Whom: Douglas Thrift X# X# $FreeBSD$ X# X XPORTNAME= mod_wsgi XPORTVERSION= 2.0 XCATEGORIES= www python XMASTER_SITES= ${MASTER_SITE_GOOGLE_CODE} X XMAINTAINER= douglas@douglasthrift.net XCOMMENT= Python WSGI adapter module for Apache X XPROJECTHOST= modwsgi X XUSE_APACHE= 1.3+ XUSE_PYTHON= 2.3+ X XGNU_CONFIGURE= yes XCONFIGURE_ARGS+=--with-apxs="${APXS}" --with-python="${PYTHON_CMD}" X Xpost-install: X @${APXS} -e -a -n "${SHORTMODNAME}" "${APACHEMODDIR}/${MODULENAME}.so" X @${CAT} ${PKGMESSAGE} X X.include SHAR_END echo x mod_wsgi/distinfo sed 's/^X//' > mod_wsgi/distinfo << 'SHAR_END' XMD5 (mod_wsgi-2.0.tar.gz) = 72e871d4fda1da33829ae3c7f3f2aeb6 XSHA256 (mod_wsgi-2.0.tar.gz) = 6ccf94e88ecce945fe1c7bf1dd77abc725c8623b96b93a0cd9e3d0692b30500b XSIZE (mod_wsgi-2.0.tar.gz) = 96622 SHAR_END echo x mod_wsgi/pkg-descr sed 's/^X//' > mod_wsgi/pkg-descr << 'SHAR_END' XThe mod_wsgi adapter is an Apache module that provides a WSGI compliant Xinterface for hosting Python based web applications within Apache. The Xadapter is written completely in C code against the Apache C runtime and Xfor hosting WSGI applications within Apache has a lower overhead than using Xexisting WSGI adapters for mod_python or CGI. X XWWW: http://www.modwsgi.org/ SHAR_END echo x mod_wsgi/pkg-plist sed 's/^X//' > mod_wsgi/pkg-plist << 'SHAR_END' X@comment $FreeBSD$ X@unexec /usr/bin/sed -i '' '/LoadModule %%AP_NAME%%_module/d' %D/%%APACHEETCDIR%%/httpd.conf X%%APACHEMODDIR%%/%%AP_MODULE%% X@exec %D/sbin/apxs -e -a -n %%AP_NAME%% %D/%F X@unexec echo "Don't forget to remove all mod_wsgi-related directives in your httpd.conf" SHAR_END echo x mod_wsgi/pkg-message sed 's/^X//' > mod_wsgi/pkg-message << 'SHAR_END' X================================================================================ X XFor more information, see http://www.modwsgi.org/. X X================================================================================ SHAR_END exit