summaryrefslogtreecommitdiffstats
path: root/editors/psgml/scripts
diff options
context:
space:
mode:
authorkuriyama <kuriyama@FreeBSD.org>1999-02-12 14:43:42 +0000
committerkuriyama <kuriyama@FreeBSD.org>1999-02-12 14:43:42 +0000
commit8950601d8519cb86ff6411bbaf07726657015ab7 (patch)
tree5404660bf72a9bbcbb020a7ffb5b6c67242e6f87 /editors/psgml/scripts
parent14ffa4ab325b85be33de38a98248e449dba789f5 (diff)
downloadFreeBSD-ports-8950601d8519cb86ff6411bbaf07726657015ab7.zip
FreeBSD-ports-8950601d8519cb86ff6411bbaf07726657015ab7.tar.gz
A major mode for editing SGML and XML documents for emacs.
PR: ports/9635 Submitted by: Shigeyuki FUKUSHIMA <shige@kuis.kyoto-u.ac.jp>
Diffstat (limited to 'editors/psgml/scripts')
-rw-r--r--editors/psgml/scripts/configure14
1 files changed, 14 insertions, 0 deletions
diff --git a/editors/psgml/scripts/configure b/editors/psgml/scripts/configure
new file mode 100644
index 0000000..2feca21
--- /dev/null
+++ b/editors/psgml/scripts/configure
@@ -0,0 +1,14 @@
+#!/bin/sh
+
+TARGETS=${INFILES}
+
+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
OpenPOWER on IntegriCloud