ffb8c4d939
Apply new master/slave scheme. Update master port (editors/bitmap) for emacs21. Update slave ports (editors/bitmap-mule and editors/bitmap-emacs20) to stub ports. Install el/elc files to version specific site-lisp directory. Change some style.
15 lines
452 B
Bash
15 lines
452 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" \
|
|
-e "s;@@EMACS_SITE_LISPDIR@@;${EMACS_SITE_LISPDIR};g" \
|
|
-e "s;@@EMACS_VERSION_SITE_LISPDIR@@;${EMACS_VERSION_SITE_LISPDIR};g" \
|
|
> ${WRKDIR}/${i}
|
|
fi
|
|
done
|