1
0
mirror of https://git.FreeBSD.org/ports.git synced 2024-10-31 21:57:12 +00:00
freebsd-ports/mail/mew/files/tmpl2file.sh
Shigeyuki Fukushima d9ab5e69e8 Update to 1.94.1.
PR:		ports/15627
Submitted by:	KIRIYAMA Kazuhiko <kiri@pis.toba-cmt.ac.jp>
2000-01-04 14:29:34 +00:00

27 lines
785 B
Bash

#!/bin/sh
for f in ${TMPL_FILES}; do
${SED} \
-e "s,%%PREFIX%%,${PREFIX},g" \
-e "s,%%EMACSDIR%%,${EMACSDIR},g" \
-e "s,%%ELISPDIR%%,${ELISPDIR},g" \
-e "s,%%INFODIR%%,${INFODIR},g" \
-e "s,%%ETCDIR%%,${ETCDIR},g" \
-e "s,%%PORTDIR%%,${PORTDIR},g" \
-e "s,%%SAMPLEDIR%%,${SAMPLEDIR},g" \
-e "s,%%REQUIRE%%,${REQUIRE},g" \
-e "s,%%AWK%%,${AWK},g" \
-e "s,%%CAT%%,${CAT},g" \
-e "s,%%CP%%,${CP},g" \
-e "s,%%ECHO%%,${ECHO},g" \
-e "s,%%MKDIR%%,${MKDIR},g" \
-e "s,%%RM%%,${RM},g" \
-e "s,%%SED%%,${SED},g" \
-e "s,%%TOUCH%%,${TOUCH},g" \
-e "s,%%EMACS_CMD%%,${EMACS_CMD},g" \
-e "s,%%PKGNAME%%,${PKGNAME},g" \
-e "s,%%EMACS_PORT_NAME%%,${EMACS_PORT_NAME},g" \
-e "s,%%VERSION%%,${VERSION},g" \
< ${FILESDIR}/${f}.tmpl > ${WRKTMPDIR}/${f}
done