1
0
mirror of https://git.FreeBSD.org/ports.git synced 2025-01-09 06:51:44 +00:00
freebsd-ports/mail/mew/files/tmpl2file.sh
2001-08-17 12:10:05 +00:00

15 lines
420 B
Bash

#!/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