diff options
author | jlam <jlam> | 2006-07-05 06:53:12 +0000 |
---|---|---|
committer | jlam <jlam> | 2006-07-05 06:53:12 +0000 |
commit | 40f0c69a767a1ef81f593d9a9294789cb6ca10f3 (patch) | |
tree | c1cac8d3ff0a7fb5ff1a16e24073b5e91efd1aa7 /inputmethod/ja-freewnn-lib/Makefile.common | |
parent | 263a3d5bbb48d966e92ca21d167767c6dac49f60 (diff) | |
download | pkgsrc-40f0c69a767a1ef81f593d9a9294789cb6ca10f3.tar.gz |
Drop use of INSTALL_SRC and DEINSTALL_SRC and instead set the proper
variables so that the default INSTALL/DEINSTALL scripts from the
pkginstall framework do the right thing. Where possible, move some
post-install directions for package setup into MESSAGE files so that
they may be re-inspected by querying the installed package using
"pkg_info -D ...".
Diffstat (limited to 'inputmethod/ja-freewnn-lib/Makefile.common')
-rw-r--r-- | inputmethod/ja-freewnn-lib/Makefile.common | 7 |
1 files changed, 2 insertions, 5 deletions
diff --git a/inputmethod/ja-freewnn-lib/Makefile.common b/inputmethod/ja-freewnn-lib/Makefile.common index 63988ea4d14..89aebcbdcdd 100644 --- a/inputmethod/ja-freewnn-lib/Makefile.common +++ b/inputmethod/ja-freewnn-lib/Makefile.common @@ -1,4 +1,4 @@ -# $NetBSD: Makefile.common,v 1.11 2006/03/10 22:29:08 jlam Exp $ +# $NetBSD: Makefile.common,v 1.12 2006/07/05 06:53:13 jlam Exp $ # DISTNAME= FreeWnn-1.10 @@ -17,7 +17,7 @@ WRKSRC= ${WRKDIR}/Xsi INSTALL_TARGET= install install.man .include "../../mk/bsd.prefs.mk" -WNNOWNER?= wnn +WNNOWNER?= ${FREEWNN_USER} SEDSCRIPT+= -e 's|\(WNNOWNER = \).*|\1${WNNOWNER}|' SEDSCRIPT+= -e 's|\([JCKT]\)\(WNNDICDIR = \).*|\1\2${IMDICTDIR}/wnn/$$(\1WNNLANG)|' @@ -27,9 +27,6 @@ SEDSCRIPT+= -e 's|$$([CK]*WNNJLIBSRC)/lib\([ck]*wnn\).a|-l\1|' SEDSCRIPT+= -e 's|\(:.*\)$$(WNNJLIB)|\1|' .elif defined(WNN_TARGET) && (${WNN_TARGET} == "DICT") MAKE_ENV+= "WNN_TARGET=DICT" -DEINSTALL_SRC= # empty -INSTALL_SRC= ${FILESDIR}/INSTALL -FILES_SUBST+= WNNOWNER=${WNNOWNER} .else MAKE_ENV+= "WNN_TARGET=LIBRARY" .endif |