1
0
mirror of https://git.FreeBSD.org/ports.git synced 2024-11-14 23:46:10 +00:00
freebsd-ports/editors/apel/scripts/configure
Jun Kuriyama fa59bdaac7 o Fix for undesired error message in apel-emacs20.
o Make more simple in Makefile by moving declaration of variables.

Submitted by:	maintainer
1999-01-24 03:46:05 +00:00

15 lines
281 B
Bash

#!/bin/sh
TARGETS='apel-setup.el'
for i in ${TARGETS}
do
if [ -f ${WRKDIR}/${i}.in ]; then
cat ${WRKDIR}/${i}.in | /usr/bin/sed \
-e "s;@@PREFIX@@;${PREFIX};g" \
-e "s;@@EMACS_LIBDIR@@;${EMACS_LIBDIR};g" \
-e "s;@@EMACS_VER@@;${EMACS_VER};g" \
> ${WRKDIR}/${i}
fi
done