summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--news/papercut/Makefile11
-rw-r--r--news/papercut/distinfo2
-rw-r--r--news/papercut/pkg-plist7
3 files changed, 12 insertions, 8 deletions
diff --git a/news/papercut/Makefile b/news/papercut/Makefile
index 12bcabe06c48..e768234b40e6 100644
--- a/news/papercut/Makefile
+++ b/news/papercut/Makefile
@@ -6,12 +6,11 @@
#
PORTNAME= papercut
-PORTVERSION= 0.9.8
+PORTVERSION= 0.9.10
CATEGORIES= news python
-MASTER_SITES= http://papercut.org/ \
- http://www.cultdeadsheep.org/FreeBSD/ports/download/distfiles/
+MASTER_SITES= http://papercut.org/
-MAINTAINER= sheepkiller@cultdeadsheep.org
+MAINTAINER= clement@FreeBSD.org
COMMENT= Papercut is a news server written in Python, using a MySQL backend
RUN_DEPENDS= ${PYTHON_SITELIBDIR}/MySQLdb/__init__.py:${PORTSDIR}/databases/py-MySQLdb
@@ -39,7 +38,7 @@ do-install:
@${MV} ${DATADIR}/settings.py ${DATADIR}/settings.py.sample
post-install:
- @${ECHO} "To use papercut you need to copy ${DATADIR}/settings.py.sample"
- @${ECHO} "to ${DATADIR}/settings.py and edit it."
+ @${ECHO_MSG} "To use papercut you need to copy ${DATADIR}/settings.py.sample"
+ @${ECHO_MSG} "to ${DATADIR}/settings.py and edit it."
.include <bsd.port.mk>
diff --git a/news/papercut/distinfo b/news/papercut/distinfo
index 957c2035fbf3..2f3af8988614 100644
--- a/news/papercut/distinfo
+++ b/news/papercut/distinfo
@@ -1 +1 @@
-MD5 (papercut-0.9.8.tar.gz) = d0334a56092a79d93a1eb593430b8d31
+MD5 (papercut-0.9.10.tar.gz) = 277622e7233dbf26fb742d56b7a1d9be
diff --git a/news/papercut/pkg-plist b/news/papercut/pkg-plist
index f6fc40911cb6..62c7109be299 100644
--- a/news/papercut/pkg-plist
+++ b/news/papercut/pkg-plist
@@ -1,3 +1,4 @@
+@comment $FreeBSD$
bin/papercut
%%DATADIR%%/papercut.py
%%DATADIR%%/papercut_cache.py
@@ -6,6 +7,7 @@ bin/papercut
%%DATADIR%%/auth/__init__.py
%%DATADIR%%/auth/mysql.py
%%DATADIR%%/auth/phorum_mysql_users.py
+%%DATADIR%%/auth/phorum_pgsql_users.py
%%DATADIR%%/auth/phpbb_mysql_users.py
%%DATADIR%%/storage/__init__.py
%%DATADIR%%/storage/forwarding_proxy.py
@@ -30,6 +32,7 @@ bin/papercut
@unexec [ -f %D/%%DATADIR%%/auth/__init__.pyc ] && rm %D/%%DATADIR%%/auth/__init__.pyc || true
@unexec [ -f %D/%%DATADIR%%/auth/mysql.pyc ] && rm %D/%%DATADIR%%/auth/mysql.pyc || true
@unexec [ -f %D/%%DATADIR%%/auth/phorum_mysql_users.pyc ] && rm %D/%%DATADIR%%/auth/phorum_mysql_users.pyc || true
+@unexec [ -f %D/%%DATADIR%%/auth/phorum_pgsql_users.pyc ] && rm %D/%%DATADIR%%/auth/phorum_mysql_users.pyc || true
@unexec [ -f %D/%%DATADIR%%/auth/phpbb_mysql_users.pyc ] && rm %D/%%DATADIR%%/auth/phpbb_mysql_users.pyc || true
@unexec [ -f %D/%%DATADIR%%/storage/__init__.pyc ] && rm %D/%%DATADIR%%/storage/__init__.pyc || true
@unexec [ -f %D/%%DATADIR%%/storage/forwarding_proxy.pyc ] && rm %D/%%DATADIR%%/storage/forwarding_proxy.pyc || true
@@ -45,4 +48,6 @@ bin/papercut
@unexec [ -d %D/%%DATADIR%%/cache ] && rmdir %%DATADIR%%/cache 2>/dev/null || true
@unexec [ -d %D/%%DATADIR%%/logs ] && rmdir %%DATADIR%%/logs 2>/dev/null || true
@dirrm %%DATADIR%%/storage
-@unexec [ -d %D/%%DATADIR%% ] && echo "If you are permanently removing this port, you should do a ``rm -rf %D/%%DATADIR%%`` to remove any files left." | fmt
+@unexec rmdir %D/%%DATADIR%%/cache || true
+@unexec rmdir %D/%%DATADIR%%/logs || true
+@unexec rmdir %D/%%DATADIR%% || echo "If you are permanently removing this port, you should do a ``rm -rf %D/%%DATADIR%%`` to remove any files left." | fmt