1
0
mirror of https://git.FreeBSD.org/ports.git synced 2024-11-27 00:57:50 +00:00

- Update to 2.5

PR:		115056
Submitted by:	Henrik Brix Andersen <henrik@brixandersen.dk> (maintainer)
This commit is contained in:
Martin Wilke 2007-08-02 20:11:55 +00:00
parent 438b6f0455
commit 4fc0d7bd0b
Notes: svn2git 2021-03-31 03:12:20 +00:00
svn path=/head/; revision=196986
4 changed files with 22 additions and 4 deletions

View File

@ -5,7 +5,7 @@
# $FreeBSD$
PORTNAME= ikiwiki
PORTVERSION= 2.1
PORTVERSION= 2.5
CATEGORIES= www
MASTER_SITES= ${MASTER_SITE_DEBIAN_POOL}
DISTNAME= ${PORTNAME}_${PORTVERSION}
@ -51,6 +51,7 @@ PLIST_SUB= W3M="@comment "
.endif
post-patch:
@${RM} ${WRKSRC}/IkiWiki/Plugin/graphviz.pm.orig
@${REINPLACE_CMD} -e "s|/usr/bin/markdown|${LOCALBASE}/bin/markdown|" \
${WRKSRC}/IkiWiki/Plugin/mdwn.pm
@${REINPLACE_CMD} \

View File

@ -1,3 +1,3 @@
MD5 (ikiwiki_2.1.tar.gz) = b58413be01c3c1ee557b074b78632d19
SHA256 (ikiwiki_2.1.tar.gz) = d9944e85d788ba836bcaf7615011d4d2fdb35c1b998cc5878e49d8a81a0d3d92
SIZE (ikiwiki_2.1.tar.gz) = 432312
MD5 (ikiwiki_2.5.tar.gz) = c93f8e2fa4d4121b6a18a43637c88cf0
SHA256 (ikiwiki_2.5.tar.gz) = 78a4f7d72bdaa8ffaa3cd0d1b087c7df64f65270425605afa0c2c06eacf0d2ee
SIZE (ikiwiki_2.5.tar.gz) = 475905

View File

@ -0,0 +1,16 @@
--- IkiWiki/Plugin/graphviz.pm.orig 2007-07-27 11:35:05.000000000 +0200
+++ IkiWiki/Plugin/graphviz.pm 2007-07-27 11:36:02.000000000 +0200
@@ -69,7 +69,12 @@ sub render_graph (\%) { #{{{
}
}
- return "<img src=\"".urlto($dest, $params{page})."\" />\n";
+ if ($params{preview}) {
+ return "<img src=\"".urlto($dest, "")."\" />\n";
+ }
+ else {
+ return "<img src=\"".urlto($dest, $params{page})."\" />\n";
+ }
} #}}}
sub graph (@) { #{{{

View File

@ -99,6 +99,7 @@
%%SITE_PERL%%/IkiWiki/Plugin/otl.pm
%%SITE_PERL%%/IkiWiki/Plugin/pagecount.pm
%%SITE_PERL%%/IkiWiki/Plugin/pagestats.pm
%%SITE_PERL%%/IkiWiki/Plugin/pagetemplate.pm
%%SITE_PERL%%/IkiWiki/Plugin/passwordauth.pm
%%SITE_PERL%%/IkiWiki/Plugin/poll.pm
%%SITE_PERL%%/IkiWiki/Plugin/polygen.pm