aboutsummaryrefslogtreecommitdiffstats
path: root/editors/semi/scripts
diff options
context:
space:
mode:
authorshige <shige@FreeBSD.org>1999-05-10 00:54:11 +0800
committershige <shige@FreeBSD.org>1999-05-10 00:54:11 +0800
commita48e584e4cfb5796538a1d638dced246372307c4 (patch)
treed6e99c620757c4aec06de59758c654bec55e57b9 /editors/semi/scripts
parent88cc720eb4c384f7f4b39468e189cb31f5b50493 (diff)
downloadfreebsd-ports-gnome-a48e584e4cfb5796538a1d638dced246372307c4.tar.gz
freebsd-ports-gnome-a48e584e4cfb5796538a1d638dced246372307c4.tar.zst
freebsd-ports-gnome-a48e584e4cfb5796538a1d638dced246372307c4.zip
New port: editors/semi-emacs-current.
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