From 3ba41e8b0cf81719575381c547a3ec3f4987b846 Mon Sep 17 00:00:00 2001 From: jlam Date: Wed, 5 Jul 2006 06:53:12 +0000 Subject: 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 ...". --- inputmethod/skkinput/INSTALL | 14 -------------- inputmethod/skkinput/Makefile | 8 ++------ inputmethod/skkinput/PLIST | 3 +-- 3 files changed, 3 insertions(+), 22 deletions(-) delete mode 100644 inputmethod/skkinput/INSTALL (limited to 'inputmethod/skkinput') diff --git a/inputmethod/skkinput/INSTALL b/inputmethod/skkinput/INSTALL deleted file mode 100644 index 97719dc7c07..00000000000 --- a/inputmethod/skkinput/INSTALL +++ /dev/null @@ -1,14 +0,0 @@ -#! /bin/sh -# $NetBSD: INSTALL,v 1.2 2003/05/31 13:09:00 uebayasi Exp $ - -case "$2" in -POST-INSTALL) - # install skkserv port number - if grep '^skkserv[ ]' /etc/services >/dev/null; then - : - else - echo ' -skkserv 1178/tcp # SKK server' >>/etc/services - fi - ;; -esac diff --git a/inputmethod/skkinput/Makefile b/inputmethod/skkinput/Makefile index f7152cacdaf..398c7b2853e 100644 --- a/inputmethod/skkinput/Makefile +++ b/inputmethod/skkinput/Makefile @@ -1,7 +1,7 @@ -# $NetBSD: Makefile,v 1.11 2006/03/14 01:14:29 jlam Exp $ +# $NetBSD: Makefile,v 1.12 2006/07/05 06:53:13 jlam Exp $ DISTNAME= skkinput-2.06.3 -PKGREVISION= 1 +PKGREVISION= 2 CATEGORIES= japanese inputmethod MASTER_SITES= ${MASTER_SITE_SOURCEFORGE_JP:=skkinput2/1815/} @@ -13,10 +13,6 @@ BUILD_DEFS+= USE_INET6 USE_IMAKE= YES -PLIST_SUBST+= PKGBASE=${LOCALBASE:Q} -DEINSTALL_SRC= # empty -INSTALL_SRC= ${PKGDIR}/INSTALL - post-install: ${INSTALL_DATA_DIR} ${PREFIX}/share/doc/skkinput ${INSTALL_DATA} ${WRKSRC}/README.jis ${PREFIX}/share/doc/skkinput diff --git a/inputmethod/skkinput/PLIST b/inputmethod/skkinput/PLIST index d4d8f2eca61..09ead281d45 100644 --- a/inputmethod/skkinput/PLIST +++ b/inputmethod/skkinput/PLIST @@ -1,4 +1,4 @@ -@comment $NetBSD: PLIST,v 1.3 2006/01/12 00:29:16 joerg Exp $ +@comment $NetBSD: PLIST,v 1.4 2006/07/05 06:53:13 jlam Exp $ bin/skkinput lib/X11/app-defaults/Skkinput ${IMAKE_MAN_DIR}/skkinput.${IMAKE_MAN_SUFFIX} @@ -7,4 +7,3 @@ share/doc/skkinput/BUGS.jis share/doc/skkinput/FAQ.jis share/doc/skkinput/README.jis @dirrm share/doc/skkinput -@unexec if [ -f ${PKGBASE}/etc/skk.conf ]; then echo 'Remove "${PKGBASE}/etc/skk.conf" if you will not use SKK programs any longer.'; fi -- cgit v1.2.3