diff options
author | Vanilla I. Shu <vanilla@FreeBSD.org> | 1998-09-18 22:03:07 +0000 |
---|---|---|
committer | Vanilla I. Shu <vanilla@FreeBSD.org> | 1998-09-18 22:03:07 +0000 |
commit | 8012ca6372e5dcfa46c29d17bc9e75bfd4c21c0e (patch) | |
tree | c00227fa0ad7eb9b564d464a4e82c16b326b0163 /editors/leim20/scripts/configure | |
parent | Activate ethereal. (diff) |
This is a port for LEIM (Libraries of Emacs Input Method)
LEIM enables you to input Multilingual Characters on Emacs20.
The package making from this port includes emacs lisp files
for LEIM.
PR: ports/7891
Submitted by: Shigeyuki FUKUSHIMA <shige@kuis.kyoto-u.ac.jp>
Notes
Notes:
svn path=/head/; revision=13217
Diffstat (limited to '')
-rw-r--r-- | editors/leim20/scripts/configure | 28 |
1 files changed, 28 insertions, 0 deletions
diff --git a/editors/leim20/scripts/configure b/editors/leim20/scripts/configure new file mode 100644 index 000000000000..7fe05a1f69fa --- /dev/null +++ b/editors/leim20/scripts/configure @@ -0,0 +1,28 @@ +#!/bin/sh + +cd ${WRKSRC} + +EMACS=${PREFIX}/bin/emacs-${EMACS_VER} +EMACS_CMD='${prefix}'"/bin/emacs-${EMACS_VER}" + +version=${EMACS_VER} +prefix=${PREFIX} +# normal setting +#datadir='${prefix}/share' +# paranoiac setting ;-) +datadir='${prefix}'`strings ${EMACS} | grep -e "${EMACS_VER}.*leim" \ + | awk 'BEGIN {FS=":"} + { for(i=1;i<=NF;i++) { if(match($i,"leim")) print $i; } }' \ + | sed -e "s;/emacs/${EMACS_VER}/leim$;;" \ + | sed -e "s;${PREFIX};;"` +srcdir=${WRKSRC} +buildlisppath='${datadir}/emacs/${version}/lisp' + +rm -f Makefile +cat Makefile.in | sed -e "s;@version@;${version};" \ + -e "s;@prefix@;${prefix};" \ + -e "s;@datadir@;${datadir};" \ + -e "s;@srcdir@;${srcdir};" \ + -e "s;^BUILT-EMACS.*$;BUILT-EMACS=${EMACS_CMD};" \ + -e "s;^buildlisppath.*$;buildlisppath=${buildlisppath};" \ +> Makefile |