aboutsummaryrefslogtreecommitdiffstats
path: root/www
diff options
context:
space:
mode:
authorswills <swills@FreeBSD.org>2018-11-28 21:10:30 +0800
committerswills <swills@FreeBSD.org>2018-11-28 21:10:30 +0800
commit179268d793e6bf48da6a8ad06f1771804639b47c (patch)
treea645bb1a7a0fa9e3d2e84bdb974909b74a477665 /www
parent5dbfb0a9d93e35efe37f255e925897b274fc3d81 (diff)
downloadfreebsd-ports-gnome-179268d793e6bf48da6a8ad06f1771804639b47c.tar.gz
freebsd-ports-gnome-179268d793e6bf48da6a8ad06f1771804639b47c.tar.zst
freebsd-ports-gnome-179268d793e6bf48da6a8ad06f1771804639b47c.zip
www/py-graphite-web: fix pkg-message
Submitted by: Xavier <xavier@groumpf.org> (email)
Diffstat (limited to 'www')
-rw-r--r--www/py-graphite-web/Makefile1
-rw-r--r--www/py-graphite-web/files/pkg-message.in3
2 files changed, 3 insertions, 1 deletions
diff --git a/www/py-graphite-web/Makefile b/www/py-graphite-web/Makefile
index f59b62d3ba54..8095768c711f 100644
--- a/www/py-graphite-web/Makefile
+++ b/www/py-graphite-web/Makefile
@@ -3,6 +3,7 @@
PORTNAME= graphite-web
PORTVERSION= 1.1.4
+PORTREVISION= 1
CATEGORIES= www python
PKGNAMEPREFIX= ${PYTHON_PKGNAMEPREFIX}
diff --git a/www/py-graphite-web/files/pkg-message.in b/www/py-graphite-web/files/pkg-message.in
index 7fa1cebda5ff..48421756559b 100644
--- a/www/py-graphite-web/files/pkg-message.in
+++ b/www/py-graphite-web/files/pkg-message.in
@@ -7,7 +7,8 @@ for Graphite! To setup graphite, you will need to:
* Initialize the sqlite user database and create the admin user:
- python2 %%PYTHON_SITELIBDIR%%/graphite/manage.py syncdb
+ django-admin.py migrate --settings=graphite.settings --run-syncdb
+ django-admin.py createsuperuser --settings=graphite.settings
* Build the index: