1
0
mirror of https://git.FreeBSD.org/ports.git synced 2024-11-01 22:05:08 +00:00
freebsd-ports/editors/apel/scripts/configure
Shigeyuki Fukushima 0cbd5f0e73 Fix:
1) Change PREFIX -> LOCALBASE
 2) Use PKGNAMESUFFIX
 3) Rearrange EMACS_PORT_NAME check and its related variables.
2000-07-12 15:26:12 +00:00

14 lines
326 B
Bash

#!/bin/sh
for i in ${TARGETS}
do
if [ -f ${WRKDIR}/${i}.in ]; then
cat ${WRKDIR}/${i}.in | /usr/bin/sed \
-e "s;@@LOCALBASE@@;${LOCALBASE};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