diff --git a/www/Makefile b/www/Makefile index a2f3d10a0f8f..52ea3464fc7d 100644 --- a/www/Makefile +++ b/www/Makefile @@ -323,6 +323,7 @@ SUBDIR += pruby SUBDIR += publicfile SUBDIR += py-HTMLgen + SUBDIR += py-fcgi SUBDIR += py-websvcs SUBDIR += pyweblib SUBDIR += qdecoder diff --git a/www/py-fcgi/Makefile b/www/py-fcgi/Makefile new file mode 100644 index 000000000000..1e1b8c25d7b4 --- /dev/null +++ b/www/py-fcgi/Makefile @@ -0,0 +1,33 @@ +# New ports collection makefile for: py-fcgi +# Date created: 18 July 2002 +# Whom: JunSeon Oh +# +# $FreeBSD$ +# + +PORTNAME= fcgi +PORTVERSION= 0.1 +CATEGORIES= www python +MASTER_SITES= http://alldunn.com/python/ \ + ftp://ftp.holywar.net/pub/FreeBSD/ +PKGNAMEPREFIX= ${PYTHON_PKGNAMEPREFIX} +DISTNAME= ${PORTNAME} +EXTRACT_SUFX= .py +EXTRACT_ONLY= # + +MAINTAINER= hollywar@mail.holywar.net + +USE_PYTHON= yes +NO_WRKSUBDIR= yes + +post-extract: + @${INSTALL_DATA} ${DISTDIR}/fcgi.py ${WRKSRC} + +do-build: + @${PYTHON_CMD} ${PYTHON_LIBDIR}/compileall.py ${WRKSRC} + @${PYTHON_CMD} -O ${PYTHON_LIBDIR}/compileall.py ${WRKSRC} + +do-install: + @${INSTALL_DATA} ${WRKSRC}/fcgi.py* ${PYTHON_SITELIBDIR} + +.include diff --git a/www/py-fcgi/distinfo b/www/py-fcgi/distinfo new file mode 100644 index 000000000000..8284f0b9316d --- /dev/null +++ b/www/py-fcgi/distinfo @@ -0,0 +1 @@ +MD5 (fcgi.py) = f350337bb73c65a8d3626b581af0fe39 diff --git a/www/py-fcgi/pkg-comment b/www/py-fcgi/pkg-comment new file mode 100644 index 000000000000..10b274f28da9 --- /dev/null +++ b/www/py-fcgi/pkg-comment @@ -0,0 +1 @@ +Python FastCGI interface library diff --git a/www/py-fcgi/pkg-descr b/www/py-fcgi/pkg-descr new file mode 100644 index 000000000000..1e8a3ece5b70 --- /dev/null +++ b/www/py-fcgi/pkg-descr @@ -0,0 +1,5 @@ +The fcgi.py Python module handles communication with the FastCGI module of the +Apache or Stronghold web server. You can make a pyton fastcgi script very easy +with this module. + +WWW: http://alldunn.com/python/ diff --git a/www/py-fcgi/pkg-plist b/www/py-fcgi/pkg-plist new file mode 100644 index 000000000000..0201401c0569 --- /dev/null +++ b/www/py-fcgi/pkg-plist @@ -0,0 +1,3 @@ +%%PYTHON_SITELIBDIR%%/fcgi.py +%%PYTHON_SITELIBDIR%%/fcgi.pyc +%%PYTHON_SITELIBDIR%%/fcgi.pyo