aboutsummaryrefslogtreecommitdiff
path: root/www/ikiwiki/files/patch-Makefile.PL
diff options
context:
space:
mode:
Diffstat (limited to 'www/ikiwiki/files/patch-Makefile.PL')
-rw-r--r--www/ikiwiki/files/patch-Makefile.PL18
1 files changed, 18 insertions, 0 deletions
diff --git a/www/ikiwiki/files/patch-Makefile.PL b/www/ikiwiki/files/patch-Makefile.PL
new file mode 100644
index 000000000000..e5df313f20c9
--- /dev/null
+++ b/www/ikiwiki/files/patch-Makefile.PL
@@ -0,0 +1,18 @@
+--- Makefile.PL.orig 2008-08-16 14:57:00.000000000 +0200
++++ Makefile.PL 2008-08-16 15:03:45.000000000 +0200
+@@ -67,9 +67,12 @@ extra_install:
+ done
+
+ install -d $(DESTDIR)$(PREFIX)/lib/ikiwiki/plugins
+- for file in `find plugins -maxdepth 1 -type f ! -wholename plugins/.\* | grep -v demo`; do \
+- cp -a $$file $(DESTDIR)$(PREFIX)/lib/ikiwiki/plugins; \
+- done \
++ for file in `find plugins -maxdepth 1 -type f ! -wholename plugins/.\* ! -name \*demo\* -name \*.py`; do \
++ install -m 644 $$file $(DESTDIR)$(PREFIX)/lib/ikiwiki/plugins; \
++ done
++ for file in `find plugins -maxdepth 1 -type f ! -wholename plugins/.\* ! -name \*demo\* ! -name \*.py`; do \
++ install -m 755 $$file $(DESTDIR)$(PREFIX)/lib/ikiwiki/plugins; \
++ done
+
+ install -d $(DESTDIR)$(PREFIX)/share/man/man1
+ install -m 644 ikiwiki.man $(DESTDIR)$(PREFIX)/share/man/man1/ikiwiki.1