diff options
-rw-r--r-- | www/Makefile | 1 | ||||
-rw-r--r-- | www/py-webware-component/Makefile | 33 | ||||
-rw-r--r-- | www/py-webware-component/distinfo | 2 | ||||
-rw-r--r-- | www/py-webware-component/pkg-descr | 9 | ||||
-rw-r--r-- | www/py-webware-component/pkg-plist | 15 |
5 files changed, 60 insertions, 0 deletions
diff --git a/www/Makefile b/www/Makefile index 15f50e31a8bc..189021a8911f 100644 --- a/www/Makefile +++ b/www/Makefile @@ -642,6 +642,7 @@ SUBDIR += py-scgi SUBDIR += py-websvcs SUBDIR += py-webware + SUBDIR += py-webware-component SUBDIR += pyphany SUBDIR += pyweblib SUBDIR += qdecoder diff --git a/www/py-webware-component/Makefile b/www/py-webware-component/Makefile new file mode 100644 index 000000000000..6571c0669c99 --- /dev/null +++ b/www/py-webware-component/Makefile @@ -0,0 +1,33 @@ +# New ports collection makefile for: py-webware-component +# Date created: 2005-03-25 +# Whom: Choe, Cheng-Dae +# +# $FreeBSD$ +# + +PORTNAME= Component +PORTVERSION= 0.1 +CATEGORIES= www python +MASTER_SITES= http://www.webwareforpython.org/downloads/ +PKGNAMEPREFIX= ${PYTHON_PKGNAMEPREFIX}webware- + +MAINTAINER= whitekid@gmail.com +COMMENT= Webware servlet component extension + +RUN_DEPENDS= ${LOCALBASE}/share/webware/__init__.py:${PORTSDIR}/www/py-webware + +USE_PYTHON= yes + +do-build: + @${ECHO_MSG} -n ">> Compiling ..." + @${PYTHON_CMD} -c "import compileall; compileall.compile_dir('${WRKSRC}')" + @${ECHO_MSG} " [ DONE ]" + +do-install: + @${ECHO_CMD} -n ">> Installing ..." + @cd ${WRKSRC} && \ + ${FIND} . -type d -exec ${MKDIR} "${PREFIX}/share/webware/${PORTNAME}/{}" \; && \ + ${FIND} . -not -type d -exec ${INSTALL_DATA} "{}" "${PREFIX}/share/webware/${PORTNAME}/{}" \; + @${ECHO_MSG} " [ DONE ]" + +.include <bsd.port.mk> diff --git a/www/py-webware-component/distinfo b/www/py-webware-component/distinfo new file mode 100644 index 000000000000..a7cf0601e910 --- /dev/null +++ b/www/py-webware-component/distinfo @@ -0,0 +1,2 @@ +MD5 (Component-0.1.tar.gz) = 4511d6ff605994a739e0079902fa6cf8 +SIZE (Component-0.1.tar.gz) = 10392 diff --git a/www/py-webware-component/pkg-descr b/www/py-webware-component/pkg-descr new file mode 100644 index 000000000000..b9ca9c3a5d37 --- /dev/null +++ b/www/py-webware-component/pkg-descr @@ -0,0 +1,9 @@ +From document: + + Components are useful if you have code that should know about the +request and response, and possible intercept it. If the code doesn't need to +know about the request at all, you should just create a normal Python library, +and call into it explicitly. Components can also be a convenient way to add new +convenience methods to your servlet. + +WWW: http://wiki.w4py.org/component.html diff --git a/www/py-webware-component/pkg-plist b/www/py-webware-component/pkg-plist new file mode 100644 index 000000000000..686f0a79f0b5 --- /dev/null +++ b/www/py-webware-component/pkg-plist @@ -0,0 +1,15 @@ +share/webware/Component/Docs/default.css +share/webware/Component/Docs/index.html +share/webware/Component/Docs/index.txt +share/webware/Component/Properties.py +share/webware/Component/Properties.pyc +share/webware/Component/__init__.py +share/webware/Component/__init__.pyc +share/webware/Component/component.py +share/webware/Component/component.pyc +share/webware/Component/cpage.py +share/webware/Component/cpage.pyc +share/webware/Component/notify.py +share/webware/Component/notify.pyc +@dirrm share/webware/Component/Docs +@dirrm share/webware/Component |