mirror of
https://git.FreeBSD.org/ports.git
synced 2025-01-09 06:51:44 +00:00
13 lines
279 B
Bash
13 lines
279 B
Bash
#!/bin/sh
|
|
|
|
for i in ${TARGETS}; do
|
|
if [ -f ${WRKDIR}/${i}.in ]; then
|
|
cat ${WRKDIR}/${i}.in | \
|
|
sed \
|
|
-e "s;%%LOCALBASE%%;${LOCALBASE};g" \
|
|
-e "s;%%EMACS_LIBDIR%%;${EMACS_LIBDIR};g" \
|
|
-e "s;%%EMACS_SETUPEL%%;${EMACS_SETUPEL};g" \
|
|
> ${WRKDIR}/${i}
|
|
fi
|
|
done
|