diff options
Diffstat (limited to 'mail/mew2-emacs20/files/tmpl2file.sh')
-rw-r--r-- | mail/mew2-emacs20/files/tmpl2file.sh | 14 |
1 files changed, 14 insertions, 0 deletions
diff --git a/mail/mew2-emacs20/files/tmpl2file.sh b/mail/mew2-emacs20/files/tmpl2file.sh new file mode 100644 index 000000000000..ca169ce248c2 --- /dev/null +++ b/mail/mew2-emacs20/files/tmpl2file.sh @@ -0,0 +1,14 @@ +#!/bin/sh + +for f in ${TMPL_FILES}; do + sed \ + -e "s,%%EMACS_CMD%%,${EMACS_CMD},g" \ + -e "s,%%EMACS_PORTSDIR%%,${EMACS_PORTSDIR},g" \ + -e "s,%%PKGNAME%%,${PKGNAME},g" \ + -e "s,%%EMACS_PORT_NAME%%,${EMACS_PORT_NAME},g" \ + -e "s,%%PORTNAME%%,${PORTNAME},g" \ + -e "s,%%ELISPDIR%%,${ELISPDIR},g" \ + -e "s,%%INFODIR%%,${INFODIR},g" \ + -e "s,%%ETCDIR%%,${ETCDIR},g" \ + < ${FILESDIR}/${f}.tmpl > ${WRKTMPDIR}/${f} +done |