diff options
author | Pav Lucistnik <pav@FreeBSD.org> | 2005-03-19 16:42:00 +0000 |
---|---|---|
committer | Pav Lucistnik <pav@FreeBSD.org> | 2005-03-19 16:42:00 +0000 |
commit | aed9ff6f1f124a356b8e3431d92503f22a08d04f (patch) | |
tree | 022047e635a1a64239064a36e3fc35784365a466 /www/pyweblib | |
parent | 9fa89777b8cf2bd02f1b3b891be9162dfced7ef9 (diff) | |
download | ports-aed9ff6f1f124a356b8e3431d92503f22a08d04f.tar.gz ports-aed9ff6f1f124a356b8e3431d92503f22a08d04f.zip |
Notes
Diffstat (limited to 'www/pyweblib')
-rw-r--r-- | www/pyweblib/Makefile | 21 | ||||
-rw-r--r-- | www/pyweblib/pkg-plist | 55 |
2 files changed, 57 insertions, 19 deletions
diff --git a/www/pyweblib/Makefile b/www/pyweblib/Makefile index 0712099bf134..4a2121113647 100644 --- a/www/pyweblib/Makefile +++ b/www/pyweblib/Makefile @@ -7,6 +7,7 @@ PORTNAME= pyweblib PORTVERSION= 1.3.3 +PORTREVISION= 1 CATEGORIES= www MASTER_SITES= http://www.stroeder.com/pylib/PyWebLib/download/ \ http://www.tricknology.org/ports/ @@ -18,4 +19,24 @@ USE_PYTHON= yes USE_PYDISTUTILS= yes WRKSRC= ${WRKDIR}/${DISTNAME:S=-src==} +DOCS= PyWebLib.html \ + pydoc/pyweblib.forms.html \ + pydoc/pyweblib.helper.html \ + pydoc/pyweblib.html \ + pydoc/pyweblib.httphelper.html \ + pydoc/pyweblib.session.html \ + pydoc/pyweblib.sslenv.html + +EXAMPLES= *.py + +post-install: + ${MKDIR} ${EXAMPLESDIR} ${EXAMPLESDIR}/cgi-bin + ${INSTALL_DATA} ${WRKSRC}/cgi-bin/${EXAMPLES} ${EXAMPLESDIR}/cgi-bin +.if !defined(NOPORTDOCS) + ${MKDIR} ${DOCSDIR}/pydoc +.for file in ${DOCS} + ${INSTALL_DATA} ${WRKSRC}/htdocs/${file} ${DOCSDIR}/${file} +.endfor +.endif + .include <bsd.port.mk> diff --git a/www/pyweblib/pkg-plist b/www/pyweblib/pkg-plist index eeb5c15a26b3..3d0527e5bbc1 100644 --- a/www/pyweblib/pkg-plist +++ b/www/pyweblib/pkg-plist @@ -1,19 +1,36 @@ -lib/%%PYTHON_VERSION%%/site-packages/pyweblib/__init__.py -lib/%%PYTHON_VERSION%%/site-packages/pyweblib/__init__.pyc -lib/%%PYTHON_VERSION%%/site-packages/pyweblib/__init__.pyo -lib/%%PYTHON_VERSION%%/site-packages/pyweblib/forms.py -lib/%%PYTHON_VERSION%%/site-packages/pyweblib/forms.pyc -lib/%%PYTHON_VERSION%%/site-packages/pyweblib/forms.pyo -lib/%%PYTHON_VERSION%%/site-packages/pyweblib/helper.py -lib/%%PYTHON_VERSION%%/site-packages/pyweblib/helper.pyc -lib/%%PYTHON_VERSION%%/site-packages/pyweblib/helper.pyo -lib/%%PYTHON_VERSION%%/site-packages/pyweblib/httphelper.py -lib/%%PYTHON_VERSION%%/site-packages/pyweblib/httphelper.pyc -lib/%%PYTHON_VERSION%%/site-packages/pyweblib/httphelper.pyo -lib/%%PYTHON_VERSION%%/site-packages/pyweblib/session.py -lib/%%PYTHON_VERSION%%/site-packages/pyweblib/session.pyc -lib/%%PYTHON_VERSION%%/site-packages/pyweblib/session.pyo -lib/%%PYTHON_VERSION%%/site-packages/pyweblib/sslenv.py -lib/%%PYTHON_VERSION%%/site-packages/pyweblib/sslenv.pyc -lib/%%PYTHON_VERSION%%/site-packages/pyweblib/sslenv.pyo -@dirrm lib/%%PYTHON_VERSION%%/site-packages/pyweblib +%%PYTHON_SITELIBDIR%%/pyweblib/__init__.py +%%PYTHON_SITELIBDIR%%/pyweblib/__init__.pyc +%%PYTHON_SITELIBDIR%%/pyweblib/__init__.pyo +%%PYTHON_SITELIBDIR%%/pyweblib/forms.py +%%PYTHON_SITELIBDIR%%/pyweblib/forms.pyc +%%PYTHON_SITELIBDIR%%/pyweblib/forms.pyo +%%PYTHON_SITELIBDIR%%/pyweblib/helper.py +%%PYTHON_SITELIBDIR%%/pyweblib/helper.pyc +%%PYTHON_SITELIBDIR%%/pyweblib/helper.pyo +%%PYTHON_SITELIBDIR%%/pyweblib/httphelper.py +%%PYTHON_SITELIBDIR%%/pyweblib/httphelper.pyc +%%PYTHON_SITELIBDIR%%/pyweblib/httphelper.pyo +%%PYTHON_SITELIBDIR%%/pyweblib/session.py +%%PYTHON_SITELIBDIR%%/pyweblib/session.pyc +%%PYTHON_SITELIBDIR%%/pyweblib/session.pyo +%%PYTHON_SITELIBDIR%%/pyweblib/sslenv.py +%%PYTHON_SITELIBDIR%%/pyweblib/sslenv.pyc +%%PYTHON_SITELIBDIR%%/pyweblib/sslenv.pyo +@dirrm %%PYTHON_SITELIBDIR%%/pyweblib +@comment - +@comment --- HTML documentation --- +%%PORTDOCS%%%%DOCSDIR%%/pydoc/pyweblib.forms.html +%%PORTDOCS%%%%DOCSDIR%%/pydoc/pyweblib.helper.html +%%PORTDOCS%%%%DOCSDIR%%/pydoc/pyweblib.html +%%PORTDOCS%%%%DOCSDIR%%/pydoc/pyweblib.httphelper.html +%%PORTDOCS%%%%DOCSDIR%%/pydoc/pyweblib.session.html +%%PORTDOCS%%%%DOCSDIR%%/pydoc/pyweblib.sslenv.html +%%PORTDOCS%%%%DOCSDIR%%/PyWebLib.html +%%PORTDOCS%%@dirrm %%DOCSDIR%%/pydoc +%%PORTDOCS%%@dirrm %%DOCSDIR%% +@comment - +@comment --- some examples here --- +%%EXAMPLESDIR%%/cgi-bin/test-forms.py +%%EXAMPLESDIR%%/cgi-bin/test-session.py +@dirrm %%EXAMPLESDIR%%/cgi-bin +@dirrm %%EXAMPLESDIR%% |