aboutsummaryrefslogtreecommitdiffstats
path: root/www/ikiwiki
diff options
context:
space:
mode:
authormiwi <miwi@FreeBSD.org>2007-10-26 05:22:19 +0800
committermiwi <miwi@FreeBSD.org>2007-10-26 05:22:19 +0800
commita05796024071f03f6a3e3856bbd474f4142ad520 (patch)
tree3f32c3e2a84376aefed9c265fc354d36a5853097 /www/ikiwiki
parent2a77e0a1898132c8c13cca17297be67ea96fa1ee (diff)
downloadfreebsd-ports-gnome-a05796024071f03f6a3e3856bbd474f4142ad520.tar.gz
freebsd-ports-gnome-a05796024071f03f6a3e3856bbd474f4142ad520.tar.zst
freebsd-ports-gnome-a05796024071f03f6a3e3856bbd474f4142ad520.zip
- Update to 2.10
PR: 117482 Submitted by: Henrik Brix Andersen <henrik@brixandersen.dk> (maintainer)
Diffstat (limited to 'www/ikiwiki')
-rw-r--r--www/ikiwiki/Makefile8
-rw-r--r--www/ikiwiki/distinfo6
-rw-r--r--www/ikiwiki/files/patch-ikiwiki-mass-rebuild18
-rw-r--r--www/ikiwiki/pkg-plist3
4 files changed, 30 insertions, 5 deletions
diff --git a/www/ikiwiki/Makefile b/www/ikiwiki/Makefile
index 4b5a64b23111..ca45c827d829 100644
--- a/www/ikiwiki/Makefile
+++ b/www/ikiwiki/Makefile
@@ -5,7 +5,7 @@
# $FreeBSD$
PORTNAME= ikiwiki
-PORTVERSION= 2.9
+PORTVERSION= 2.10
CATEGORIES= www
MASTER_SITES= ${MASTER_SITE_DEBIAN_POOL}
DISTNAME= ${PORTNAME}_${PORTVERSION}
@@ -54,6 +54,12 @@ post-patch:
@${REINPLACE_CMD} -e "s|/usr/bin/markdown|${LOCALBASE}/bin/markdown|" \
${WRKSRC}/IkiWiki/Plugin/mdwn.pm
@${REINPLACE_CMD} \
+ -e "s|/usr/local|${LOCALBASE}|" \
+ -e "s|/etc/ikiwiki/wikilist|${LOCALBASE}/etc/ikiwiki/wikilist|" \
+ ${WRKSRC}/ikiwiki-mass-rebuild
+ @${REINPLACE_CMD} -e "s|/etc/ikiwiki/wikilist|${LOCALBASE}/etc/ikiwiki/wikilist|" \
+ ${WRKSRC}/doc/ikiwiki-mass-rebuild.mdwn
+ @${REINPLACE_CMD} \
-e 's|$$(PREFIX)/share/man|$$(PREFIX)/man|' \
-e 's|$$(PREFIX)/lib/w3m|$$(PREFIX)/libexec/w3m|' \
${WRKSRC}/Makefile.PL
diff --git a/www/ikiwiki/distinfo b/www/ikiwiki/distinfo
index 7ee32416bf6e..67c0fda1c8e5 100644
--- a/www/ikiwiki/distinfo
+++ b/www/ikiwiki/distinfo
@@ -1,3 +1,3 @@
-MD5 (ikiwiki_2.9.tar.gz) = b241a44749a2785babe9c2f662ab6c9d
-SHA256 (ikiwiki_2.9.tar.gz) = cf0493296266b138e827fb46bd2dd713088bffd72c72d501ebdee95578c9d965
-SIZE (ikiwiki_2.9.tar.gz) = 553080
+MD5 (ikiwiki_2.10.tar.gz) = d0c350f9866f206363c3ba021ee7cce9
+SHA256 (ikiwiki_2.10.tar.gz) = 02b59a06b48d280e5b8f811c377be4a65475c3bfbf6d15569edb3333ec80b7cb
+SIZE (ikiwiki_2.10.tar.gz) = 564841
diff --git a/www/ikiwiki/files/patch-ikiwiki-mass-rebuild b/www/ikiwiki/files/patch-ikiwiki-mass-rebuild
new file mode 100644
index 000000000000..00952cd3820a
--- /dev/null
+++ b/www/ikiwiki/files/patch-ikiwiki-mass-rebuild
@@ -0,0 +1,18 @@
+--- ikiwiki-mass-rebuild.orig 2007-08-15 22:21:59.000000000 +0200
++++ ikiwiki-mass-rebuild 2007-10-25 13:04:10.000000000 +0200
+@@ -22,13 +22,14 @@ sub processline {
+ my ($uuid, $ugid) = (getpwnam($user))[2, 3];
+ $)="$ugid $ugid";
+ $(=$ugid;
+- $>=$uuid;
+ $<=$uuid;
++ $>=$uuid;
+ if ($< != $uuid || $> != $uuid || $( != $ugid || $) ne "$ugid $ugid") {
+ die "failed to drop permissions to $user";
+ }
+ %ENV=();
+ $ENV{HOME}=(getpwnam($user))[7];
++ $ENV{PATH}="/usr/bin:/usr/local/bin";
+ exec("ikiwiki", "-setup", $setup, @ARGV);
+ die "failed to run ikiwiki: $!";
+ }
diff --git a/www/ikiwiki/pkg-plist b/www/ikiwiki/pkg-plist
index fa4cd65ab785..d36cc2a9c80a 100644
--- a/www/ikiwiki/pkg-plist
+++ b/www/ikiwiki/pkg-plist
@@ -109,7 +109,6 @@
%%SITE_PERL%%/IkiWiki/Plugin/postsparkline.pm
%%SITE_PERL%%/IkiWiki/Plugin/prettydate.pm
%%SITE_PERL%%/IkiWiki/Plugin/rawhtml.pm
-%%SITE_PERL%%/IkiWiki/Plugin/rst.pm
%%SITE_PERL%%/IkiWiki/Plugin/search.pm
%%SITE_PERL%%/IkiWiki/Plugin/shortcut.pm
%%SITE_PERL%%/IkiWiki/Plugin/sidebar.pm
@@ -140,10 +139,12 @@
%%SITE_PERL%%/IkiWiki/Wrapper.pm
bin/ikiwiki
lib/ikiwiki/plugins/externaldemo
+lib/ikiwiki/plugins/rst
%%W3M%%libexec/w3m/cgi-bin/ikiwiki-w3m.cgi
sbin/ikiwiki-mass-rebuild
share/locale/bg/LC_MESSAGES/ikiwiki.mo
share/locale/cs/LC_MESSAGES/ikiwiki.mo
+share/locale/da/LC_MESSAGES/ikiwiki.mo
share/locale/es/LC_MESSAGES/ikiwiki.mo
share/locale/fr/LC_MESSAGES/ikiwiki.mo
share/locale/gu/LC_MESSAGES/ikiwiki.mo