1
0
mirror of https://git.FreeBSD.org/ports.git synced 2024-12-15 03:14:23 +00:00
freebsd-ports/mail/mew3/files/tmpl2file.sh
2001-08-25 09:17:58 +00:00

16 lines
468 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,%%MEW_MAJOR_VER%%,${MEW_MAJOR_VER},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