freebsd-ports/editors/wemi-emacs/scripts/configure
Shigeyuki Fukushima 2edd36597f Add EMACS_LIBDIR_WITH_VER valiable.
wemi-setupel.el file is installed
into ${PREFIX}/${EMACS_LIBDIR_WITH_VER}/site-lisp.
1999-08-06 17:07:22 +00:00

14 lines
320 B
Bash

#!/bin/sh
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" \
-e "s;@@EMACS_LIBDIR_WITH_VER@@;${EMACS_LIBDIR_WITH_VER};g" \
> ${WRKDIR}/${i}
fi
done