aboutsummaryrefslogtreecommitdiffstats
path: root/www/moinmoin
diff options
context:
space:
mode:
authormiwi <miwi@FreeBSD.org>2008-07-07 22:04:12 +0800
committermiwi <miwi@FreeBSD.org>2008-07-07 22:04:12 +0800
commit6ab5e307d5ef235db52216cb9ea85a2f2eceeabf (patch)
treebc977986666ccd2519f0da3429d125b260b44335 /www/moinmoin
parent261470ccff8b386e64bb978d74e88d8fc808bea1 (diff)
downloadfreebsd-ports-gnome-6ab5e307d5ef235db52216cb9ea85a2f2eceeabf.tar.gz
freebsd-ports-gnome-6ab5e307d5ef235db52216cb9ea85a2f2eceeabf.tar.zst
freebsd-ports-gnome-6ab5e307d5ef235db52216cb9ea85a2f2eceeabf.zip
- Change the MOINSCRIPT to wikiserver.py when defined
MOINTYPE=STANDALONE, the old wiki.py is deprecated. - Change the hint when making instances, add configuration for static contents. PR: 125210 Submitted by: Zhen REN <bg1tpt@gmail.com> (maintainer)
Diffstat (limited to 'www/moinmoin')
-rw-r--r--www/moinmoin/Makefile3
-rw-r--r--www/moinmoin/files/pkg-install.in11
2 files changed, 12 insertions, 2 deletions
diff --git a/www/moinmoin/Makefile b/www/moinmoin/Makefile
index 70ac3aa7b0bc..26b1c51c8929 100644
--- a/www/moinmoin/Makefile
+++ b/www/moinmoin/Makefile
@@ -7,6 +7,7 @@
PORTNAME= moinmoin
PORTVERSION= 1.7.0
+PORTREVISION= 1
CATEGORIES= www python
MASTER_SITES= http://static.moinmo.in/files/
DISTNAME= moin-${PORTVERSION}
@@ -31,7 +32,7 @@ MOINTYPE?= CGI
PKGDEINSTALL= ${PKGINSTALL}
.if ${MOINTYPE} == "STANDALONE"
-MOINSCRIPT= ${MOINDIR}/server/moin.py
+MOINSCRIPT= ${MOINDIR}/server/wikiserver.py
.elif ${MOINTYPE} == "FCGI"
MOINSCRIPT= ${MOINDIR}/server/moin.fcg
.elif ${MOINTYPE} == "MOD_PYTHON"
diff --git a/www/moinmoin/files/pkg-install.in b/www/moinmoin/files/pkg-install.in
index 00081d3d1952..067dc149cb5e 100644
--- a/www/moinmoin/files/pkg-install.in
+++ b/www/moinmoin/files/pkg-install.in
@@ -17,6 +17,11 @@ case "x$2" in
echo "add something like that to your Apache configuration."
echo ""
echo ",-----"
+ echo " Alias /moin_static170/ \"$sharedir/htdocs/\""
+ echo " <Directory \"$sharedir/htdocs/\">"
+ echo " Order deny,allow"
+ echo " Allow from all"
+ echo " </Directory>"
echo " Alias /mywiki $destdir"
echo " <Location \"/mywiki\">"
echo " SetHandler python-program"
@@ -37,7 +42,11 @@ case "x$2" in
echo ""
echo ",-----"
- echo " Alias /wiki/ \"$sharedir/htdocs/\""
+ echo " Alias /moin_static170/ \"$sharedir/htdocs/\""
+ echo " <Directory \"$sharedir/htdocs/\">"
+ echo " Order deny,allow"
+ echo " Allow from all"
+ echo " </Directory>"
echo " ScriptAlias /mywiki \"$destdir/moin.cgi\""
echo " <Directory \"$sharedir/htdocs/\">"
echo " Allow from all"