aboutsummaryrefslogtreecommitdiffstats
path: root/editors/semi/scripts
diff options
context:
space:
mode:
Diffstat (limited to 'editors/semi/scripts')
-rw-r--r--editors/semi/scripts/configure14
1 files changed, 14 insertions, 0 deletions
diff --git a/editors/semi/scripts/configure b/editors/semi/scripts/configure
new file mode 100644
index 000000000000..a51e74f6c450
--- /dev/null
+++ b/editors/semi/scripts/configure
@@ -0,0 +1,14 @@
+#!/bin/sh
+
+TARGETS='semi-setup.el'
+
+for i in ${TARGETS}
+do
+ if [ -f ${WRKDIR}/${i}.in ]; then
+ cat ${WRKDIR}/${i}.in | /usr/bin/sed \
+ -e "s;@@PREFIX@@;${PREFIX};g" \
+ -e "s;@@EMACS_LIBDIR@@;${EMACS_LIBDIR};g" \
+ -e "s;@@EMACS_VER@@;${EMACS_VER};g" \
+ > ${WRKDIR}/${i}
+ fi
+done