diff options
author | cvs2svn <cvs2svn@FreeBSD.org> | 2001-04-18 21:37:32 +0000 |
---|---|---|
committer | cvs2svn <cvs2svn@FreeBSD.org> | 2001-04-18 21:37:32 +0000 |
commit | 01a9f79f0a3692d8148990805beabc8593d3596d (patch) | |
tree | 99d1ef5788fc9e55b6948a7d4951ac4a315f63bf /www/mod_python3 | |
parent | 8c307777eaf81af4195ae428b3ebbeba734fc5af (diff) |
Notes
Diffstat (limited to 'www/mod_python3')
-rw-r--r-- | www/mod_python3/Makefile | 98 | ||||
-rw-r--r-- | www/mod_python3/distinfo | 2 | ||||
-rw-r--r-- | www/mod_python3/files/optpatch-Python::configure | 20 | ||||
-rw-r--r-- | www/mod_python3/files/patch-Makefile.in | 18 | ||||
-rw-r--r-- | www/mod_python3/files/patch-configure | 11 | ||||
-rw-r--r-- | www/mod_python3/pkg-comment | 1 | ||||
-rw-r--r-- | www/mod_python3/pkg-descr | 9 | ||||
-rw-r--r-- | www/mod_python3/pkg-message | 15 | ||||
-rw-r--r-- | www/mod_python3/pkg-plist | 16 |
9 files changed, 0 insertions, 190 deletions
diff --git a/www/mod_python3/Makefile b/www/mod_python3/Makefile deleted file mode 100644 index 1b3d91336e2e..000000000000 --- a/www/mod_python3/Makefile +++ /dev/null @@ -1,98 +0,0 @@ -# New ports collection makefile for: mod_python -# Date created: 28 August 2000 -# Whom: Hye-Shik Chang <perky@python.or.kr> -# -# $FreeBSD$ -# - -PORTNAME= mod_python -PORTVERSION= 2.7.2 -PORTREVISION= 1 -CATEGORIES= www python -MASTER_SITES= http://www.modpython.org/dist/ \ - http://www.python.org/ftp/python/2.0/ \ - http://www3.kr.freebsd.org/~perky/distfiles/ -DISTFILES= mod_python-${PORTVERSION}.tgz ${PYTHON_DISTFILE} -DIST_SUBDIR= python - -MAINTAINER= perky@python.or.kr - -BUILD_DEPENDS= ${LOCALBASE}/sbin/apxs:${PORTSDIR}/www/apache13 -RUN_DEPENDS= ${LOCALBASE}/sbin/apxs:${PORTSDIR}/www/apache13 - -USE_PYTHON= yes -INSTALLS_SHLIB= yes - -.include <bsd.port.pre.mk> - -PYTHON_WRKSRC= ${WRKSRC}/../Python-${PYTHON_VERSION:S/python//g} -APXS= ${PREFIX}/sbin/apxs - -GNU_CONFIGURE= yes -CONFIGURE_ARGS+= --with-apxs=${LOCALBASE}/sbin/apxs \ - --with-python=${PYTHON_WRKSRC} -CONFIGURE_ENV= PYTHON_BIN=${LOCALBASE}/bin/python -PLIST_SUB+= PYTHON_SITELIBDIR=${PYTHON_SITELIBDIR:S/^${LOCALBASE}\///g} - -.if defined(WITH_OPENPTY) -OPTIONAL_LIBS+= -lutil -.endif - -.if defined(WITH_GNUREADLINE) -OPTIONAL_LIBS+= -lreadline -.endif - -PYTHON_CONFIGURE_ARGS+= --without-threads -PYTHON_SETUP_FILE?= ${PORTSDIR}/lang/python/files/Setup -STRIP_BIN?= /usr/bin/strip - -pre-fetch: - @${ECHO} "" - @${ECHO} "You may use the following build option:" - @${ECHO} "" - @${ECHO} " PYTHON_SETUP_FILE=path specify python modules setup file" - @${ECHO} " WITH_OPENPTY=yes enables openpty function in posixmodule" - @${ECHO} " WITH_GNUREADLINE=yes enables gnu readline library" - @${ECHO} " DONT_STRIP=yes don't strip shared object" - @${ECHO} "" - -pre-patch: -.if !defined(${WITH_OPENPTY}) - ${PATCH} -s <files/optpatch-Python::configure -.endif - -pre-configure: - cd ${PYTHON_WRKSRC} && ./configure ${PYTHON_CONFIGURE_ARGS} -.if !exists(${PYTHON_SETUP_FILE}) - @${ECHO} "" - @${ECHO} "### COULD NOT FIND PYTHON SETUP FILE" - @${ECHO} "### SPECIFY FILE PATH OR INSTALL PORT 'lang/python'" - @${ECHO} "" -.endif - -.if !defined(WITH_GNUREADLINE) - ${SED} 's/^readline/#without_readline/g' ${PYTHON_SETUP_FILE} \ - > ${PYTHON_WRKSRC}/Modules/Setup -.else - ${CP} ${PYTHON_SETUP_FILE} ${PYTHON_WRKSRC}/Modules/Setup -.endif - -post-configure: -.if defined(OPTIONAL_LIBS) - ${SED} 's/^\(LIBS=.*\)/\1 ${OPTIONAL_LIBS}/' ${WRKSRC}/src/Makefile \ - > ${WRKSRC}/src/Makefile.tmp && \ - ${MV} -f ${WRKSRC}/src/Makefile.tmp ${WRKSRC}/src/Makefile -.endif - -pre-build: - cd ${PYTHON_WRKSRC} && ${MAKE} - -post-build: -.if !defined(DONT_STRIP) && exists(${STRIP_BIN}) - ${STRIP_BIN} ${WRKSRC}/src/mod_python.so -.endif - -post-install: - @${CAT} ${PKGMESSAGE} - -.include <bsd.port.post.mk> diff --git a/www/mod_python3/distinfo b/www/mod_python3/distinfo deleted file mode 100644 index 348b8ef11399..000000000000 --- a/www/mod_python3/distinfo +++ /dev/null @@ -1,2 +0,0 @@ -MD5 (python/mod_python-2.7.2.tgz) = 5b73af91c891c63f4be450d7a7dc0bb2 -MD5 (python/BeOpen-Python-2.0.tar.gz) = 8c4a64891d3dc6422df2514c603f0c98 diff --git a/www/mod_python3/files/optpatch-Python::configure b/www/mod_python3/files/optpatch-Python::configure deleted file mode 100644 index c9bd849e39b2..000000000000 --- a/www/mod_python3/files/optpatch-Python::configure +++ /dev/null @@ -1,20 +0,0 @@ ---- work/Python-2.0/configure.orig Fri Mar 16 07:32:48 2001 -+++ work/Python-2.0/configure Fri Mar 16 07:35:20 2001 -@@ -3975,7 +3975,7 @@ - fi - done - -- -+if false; then - # check for openpty and forkpty - - for ac_func in openpty -@@ -4173,7 +4173,7 @@ - - fi - done -- -+fi - - # check for long file support functions - for ac_func in fseek64 fseeko fstatvfs ftell64 ftello statvfs diff --git a/www/mod_python3/files/patch-Makefile.in b/www/mod_python3/files/patch-Makefile.in deleted file mode 100644 index de15a6bb574c..000000000000 --- a/www/mod_python3/files/patch-Makefile.in +++ /dev/null @@ -1,18 +0,0 @@ ---- Makefile.in.orig Wed Dec 27 13:49:54 2000 -+++ Makefile.in Wed Dec 27 13:52:28 2000 -@@ -82,13 +82,10 @@ - @echo - @echo "Performing DSO installation." - @echo -- $(INSTALL) src/mod_python.so $(LIBEXECDIR) -+ /usr/local/sbin/apxs -i -a src/mod_python.so - @$(MAKE) install_py_lib - @echo -- @echo "Now don't forget to edit your main config and add" -- @echo " LoadModule python_module $(LIBEXECDIR)/mod_python.so" -- @echo "and if your configuration uses ClearModuleList, then also" -- @echo " AddModule mod_python.c" -+ @echo " ## Apache has to be restarted." - @echo - - install_static: static diff --git a/www/mod_python3/files/patch-configure b/www/mod_python3/files/patch-configure deleted file mode 100644 index 7b8239180552..000000000000 --- a/www/mod_python3/files/patch-configure +++ /dev/null @@ -1,11 +0,0 @@ ---- configure.orig Wed Dec 27 13:49:44 2000 -+++ configure Wed Dec 27 13:50:32 2000 -@@ -1313,7 +1313,7 @@ - # check if python is compiled with threads - echo $ac_n "checking whether Python is compiled with thread support""... $ac_c" 1>&6 - echo "configure:1316: checking whether Python is compiled with thread support" >&5 --PyTHREADS=`$PYTHON_BIN -c "import sys; print \"thread\" in sys.builtin_module_names"` -+PyTHREADS="0" - if test "$PyTHREADS" = "1"; then - echo "$ac_t""yes" 1>&6 - echo diff --git a/www/mod_python3/pkg-comment b/www/mod_python3/pkg-comment deleted file mode 100644 index 29297814bfad..000000000000 --- a/www/mod_python3/pkg-comment +++ /dev/null @@ -1 +0,0 @@ -Apache module for integrating Python diff --git a/www/mod_python3/pkg-descr b/www/mod_python3/pkg-descr deleted file mode 100644 index 62e965e86fcc..000000000000 --- a/www/mod_python3/pkg-descr +++ /dev/null @@ -1,9 +0,0 @@ -Mod_python allows embedding Python within the Apache http server -for a considerable boost in performance and added flexibility -in designing web based applications. - -WWW: http://www.modpython.org/ -developed by Gregory Trubetskoy <grisha@ispol.com> - -- Hye-Shik "Perky" Chang - perky@python.or.kr diff --git a/www/mod_python3/pkg-message b/www/mod_python3/pkg-message deleted file mode 100644 index 64fe01bba1c4..000000000000 --- a/www/mod_python3/pkg-message +++ /dev/null @@ -1,15 +0,0 @@ -================================================================================ - -Also remember to add to your Apache configuration in the appropriate context: - -PythonPath "['/path/to/foo', '/path/to/bar']" -AddHandler python-program .py -PythonHandler foobar -PythonDebug On - -Where PythonPath includes the paths to at least the Python libdir, its -site-packages dir, and to the dir where your Python programs are. Also consider -including the dir to mod_python if your Python distribution is installed in a -non-standard location. For more information, see http://www.modpython.org/. - -================================================================================ diff --git a/www/mod_python3/pkg-plist b/www/mod_python3/pkg-plist deleted file mode 100644 index 819d9143a947..000000000000 --- a/www/mod_python3/pkg-plist +++ /dev/null @@ -1,16 +0,0 @@ -libexec/apache/mod_python.so -%%PYTHON_SITELIBDIR%%/mod_python/__init__.py -%%PYTHON_SITELIBDIR%%/mod_python/apache.py -%%PYTHON_SITELIBDIR%%/mod_python/cgihandler.py -%%PYTHON_SITELIBDIR%%/mod_python/httpdapi.py -%%PYTHON_SITELIBDIR%%/mod_python/publisher.py -%%PYTHON_SITELIBDIR%%/mod_python/util.py -%%PYTHON_SITELIBDIR%%/mod_python/zhandler.py -%%PYTHON_SITELIBDIR%%/mod_python/__init__.pyc -%%PYTHON_SITELIBDIR%%/mod_python/apache.pyc -%%PYTHON_SITELIBDIR%%/mod_python/cgihandler.pyc -%%PYTHON_SITELIBDIR%%/mod_python/httpdapi.pyc -%%PYTHON_SITELIBDIR%%/mod_python/publisher.pyc -%%PYTHON_SITELIBDIR%%/mod_python/util.pyc -%%PYTHON_SITELIBDIR%%/mod_python/zhandler.pyc -@dirrm %%PYTHON_SITELIBDIR%%/mod_python |