summaryrefslogtreecommitdiff
path: root/x11-wm/afterstep-i18n/scripts/configure
diff options
context:
space:
mode:
Diffstat (limited to 'x11-wm/afterstep-i18n/scripts/configure')
-rw-r--r--x11-wm/afterstep-i18n/scripts/configure6
1 files changed, 6 insertions, 0 deletions
diff --git a/x11-wm/afterstep-i18n/scripts/configure b/x11-wm/afterstep-i18n/scripts/configure
new file mode 100644
index 000000000000..833c6aaf0b8b
--- /dev/null
+++ b/x11-wm/afterstep-i18n/scripts/configure
@@ -0,0 +1,6 @@
+#!/bin/sh
+
+files="sample.steprc sample.steprc.ja_JP.EUC configure.h afterstep/afterstep.man"
+for i in $files; do
+ /usr/bin/perl -pi -e 's|%%PREFIX%%|$ENV{'PREFIX'}|g' $WRKSRC/$i
+done