aboutsummaryrefslogtreecommitdiffstats
path: root/www
diff options
context:
space:
mode:
authorsylvio <sylvio@FreeBSD.org>2011-03-05 04:30:50 +0800
committersylvio <sylvio@FreeBSD.org>2011-03-05 04:30:50 +0800
commit168192306160f9f825b817b90273ea92dcf147fa (patch)
tree89d56a784ffa4447a75e0bfbfba8066258a9d229 /www
parentf374dfb5fd968b2e5b11874ba7b8828f9734c5ab (diff)
downloadfreebsd-ports-gnome-168192306160f9f825b817b90273ea92dcf147fa.tar.gz
freebsd-ports-gnome-168192306160f9f825b817b90273ea92dcf147fa.tar.zst
freebsd-ports-gnome-168192306160f9f825b817b90273ea92dcf147fa.zip
Support for serving static media from within django app directories
WWW: http://github.com/divio/django-appmedia PR: ports/155273 Submitted by: Kurt Lidl <kurt.lidl@cello.com>
Diffstat (limited to 'www')
-rw-r--r--www/Makefile1
-rw-r--r--www/py-django-appmedia/Makefile23
-rw-r--r--www/py-django-appmedia/distinfo2
-rw-r--r--www/py-django-appmedia/pkg-descr3
-rw-r--r--www/py-django-appmedia/pkg-plist45
5 files changed, 74 insertions, 0 deletions
diff --git a/www/Makefile b/www/Makefile
index 147ef9541716..efd623581615 100644
--- a/www/Makefile
+++ b/www/Makefile
@@ -1464,6 +1464,7 @@
SUBDIR += py-cssutils
SUBDIR += py-django
SUBDIR += py-django-app-plugins
+ SUBDIR += py-django-appmedia
SUBDIR += py-django-classy-tags
SUBDIR += py-django-devel
SUBDIR += py-django-evolution
diff --git a/www/py-django-appmedia/Makefile b/www/py-django-appmedia/Makefile
new file mode 100644
index 000000000000..eb2979129af6
--- /dev/null
+++ b/www/py-django-appmedia/Makefile
@@ -0,0 +1,23 @@
+# New ports collection makefile for: py-django-appmedia
+# Date created: 2011-02-15
+# Whom: Kurt Lidl <kurt.lidl@cello.com>
+#
+# $FreeBSD$
+#
+
+PORTNAME= django-appmedia
+PORTVERSION= 1.0.1
+CATEGORIES= www python
+MASTER_SITES= ${MASTER_SITE_CHEESESHOP}
+MASTER_SITE_SUBDIR= source/d/${PORTNAME}
+PKGNAMEPREFIX= ${PYTHON_PKGNAMEPREFIX}
+
+MAINTAINER= kurt.lidl@cello.com
+COMMENT= Serve static content from within django app directories
+
+RUN_DEPENDS= ${PYTHON_SITELIBDIR}/django/bin/django-admin.py:${PORTSDIR}/www/py-django
+
+USE_PYTHON= yes
+USE_PYDISTUTILS= easy_install
+
+.include <bsd.port.mk>
diff --git a/www/py-django-appmedia/distinfo b/www/py-django-appmedia/distinfo
new file mode 100644
index 000000000000..379b3ae39961
--- /dev/null
+++ b/www/py-django-appmedia/distinfo
@@ -0,0 +1,2 @@
+SHA256 (django-appmedia-1.0.1.tar.gz) = c41cb355f10436a9c811ede7495b4088f785ea88a779fd6fb669ee2eb7cb4697
+SIZE (django-appmedia-1.0.1.tar.gz) = 25263
diff --git a/www/py-django-appmedia/pkg-descr b/www/py-django-appmedia/pkg-descr
new file mode 100644
index 000000000000..9e99e9ab3b7c
--- /dev/null
+++ b/www/py-django-appmedia/pkg-descr
@@ -0,0 +1,3 @@
+Support for serving static media from within django app directories
+
+WWW: http://github.com/divio/django-appmedia
diff --git a/www/py-django-appmedia/pkg-plist b/www/py-django-appmedia/pkg-plist
new file mode 100644
index 000000000000..55b3ff7e8cef
--- /dev/null
+++ b/www/py-django-appmedia/pkg-plist
@@ -0,0 +1,45 @@
+%%PYTHON_SITELIBDIR%%/%%PYEASYINSTALL_EGG%%/EGG-INFO/PKG-INFO
+%%PYTHON_SITELIBDIR%%/%%PYEASYINSTALL_EGG%%/EGG-INFO/SOURCES.txt
+%%PYTHON_SITELIBDIR%%/%%PYEASYINSTALL_EGG%%/EGG-INFO/dependency_links.txt
+%%PYTHON_SITELIBDIR%%/%%PYEASYINSTALL_EGG%%/EGG-INFO/not-zip-safe
+%%PYTHON_SITELIBDIR%%/%%PYEASYINSTALL_EGG%%/EGG-INFO/top_level.txt
+%%PYTHON_SITELIBDIR%%/%%PYEASYINSTALL_EGG%%/appmedia/BeautifulSoup.py
+%%PYTHON_SITELIBDIR%%/%%PYEASYINSTALL_EGG%%/appmedia/BeautifulSoup.pyc
+%%PYTHON_SITELIBDIR%%/%%PYEASYINSTALL_EGG%%/appmedia/BeautifulSoup.pyo
+%%PYTHON_SITELIBDIR%%/%%PYEASYINSTALL_EGG%%/appmedia/__init__.py
+%%PYTHON_SITELIBDIR%%/%%PYEASYINSTALL_EGG%%/appmedia/__init__.pyc
+%%PYTHON_SITELIBDIR%%/%%PYEASYINSTALL_EGG%%/appmedia/__init__.pyo
+%%PYTHON_SITELIBDIR%%/%%PYEASYINSTALL_EGG%%/appmedia/api.py
+%%PYTHON_SITELIBDIR%%/%%PYEASYINSTALL_EGG%%/appmedia/api.pyc
+%%PYTHON_SITELIBDIR%%/%%PYEASYINSTALL_EGG%%/appmedia/api.pyo
+%%PYTHON_SITELIBDIR%%/%%PYEASYINSTALL_EGG%%/appmedia/management/__init__.py
+%%PYTHON_SITELIBDIR%%/%%PYEASYINSTALL_EGG%%/appmedia/management/__init__.pyc
+%%PYTHON_SITELIBDIR%%/%%PYEASYINSTALL_EGG%%/appmedia/management/__init__.pyo
+%%PYTHON_SITELIBDIR%%/%%PYEASYINSTALL_EGG%%/appmedia/management/commands/__init__.py
+%%PYTHON_SITELIBDIR%%/%%PYEASYINSTALL_EGG%%/appmedia/management/commands/__init__.pyc
+%%PYTHON_SITELIBDIR%%/%%PYEASYINSTALL_EGG%%/appmedia/management/commands/__init__.pyo
+%%PYTHON_SITELIBDIR%%/%%PYEASYINSTALL_EGG%%/appmedia/management/commands/buildmedia.py
+%%PYTHON_SITELIBDIR%%/%%PYEASYINSTALL_EGG%%/appmedia/management/commands/buildmedia.pyc
+%%PYTHON_SITELIBDIR%%/%%PYEASYINSTALL_EGG%%/appmedia/management/commands/buildmedia.pyo
+%%PYTHON_SITELIBDIR%%/%%PYEASYINSTALL_EGG%%/appmedia/management/commands/symlinkmedia.py
+%%PYTHON_SITELIBDIR%%/%%PYEASYINSTALL_EGG%%/appmedia/management/commands/symlinkmedia.pyc
+%%PYTHON_SITELIBDIR%%/%%PYEASYINSTALL_EGG%%/appmedia/management/commands/symlinkmedia.pyo
+%%PYTHON_SITELIBDIR%%/%%PYEASYINSTALL_EGG%%/appmedia/middleware.py
+%%PYTHON_SITELIBDIR%%/%%PYEASYINSTALL_EGG%%/appmedia/middleware.pyc
+%%PYTHON_SITELIBDIR%%/%%PYEASYINSTALL_EGG%%/appmedia/middleware.pyo
+%%PYTHON_SITELIBDIR%%/%%PYEASYINSTALL_EGG%%/appmedia/models.py
+%%PYTHON_SITELIBDIR%%/%%PYEASYINSTALL_EGG%%/appmedia/models.pyc
+%%PYTHON_SITELIBDIR%%/%%PYEASYINSTALL_EGG%%/appmedia/models.pyo
+%%PYTHON_SITELIBDIR%%/%%PYEASYINSTALL_EGG%%/appmedia/urls.py
+%%PYTHON_SITELIBDIR%%/%%PYEASYINSTALL_EGG%%/appmedia/urls.pyc
+%%PYTHON_SITELIBDIR%%/%%PYEASYINSTALL_EGG%%/appmedia/urls.pyo
+%%PYTHON_SITELIBDIR%%/%%PYEASYINSTALL_EGG%%/appmedia/views.py
+%%PYTHON_SITELIBDIR%%/%%PYEASYINSTALL_EGG%%/appmedia/views.pyc
+%%PYTHON_SITELIBDIR%%/%%PYEASYINSTALL_EGG%%/appmedia/views.pyo
+@dirrmtry %%PYTHON_SITELIBDIR%%/%%PYEASYINSTALL_EGG%%/EGG-INFO
+@dirrmtry %%PYTHON_SITELIBDIR%%/%%PYEASYINSTALL_EGG%%/appmedia/management/commands
+@dirrmtry %%PYTHON_SITELIBDIR%%/%%PYEASYINSTALL_EGG%%/appmedia/management
+@dirrmtry %%PYTHON_SITELIBDIR%%/%%PYEASYINSTALL_EGG%%/appmedia
+@dirrmtry %%PYTHON_SITELIBDIR%%/%%PYEASYINSTALL_EGG%%
+@dirrmtry %%PYTHON_SITELIBDIR%%
+@dirrmtry %%PYTHON_LIBDIR%%