pkgsrc-Changes-HG archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]

[pkgsrc/trunk]: pkgsrc/inputmethod/skkserv Drop use of INSTALL_SRC and DEINST...



details:   https://anonhg.NetBSD.org/pkgsrc/rev/229b8cae4abf
branches:  trunk
changeset: 515630:229b8cae4abf
user:      jlam <jlam%pkgsrc.org@localhost>
date:      Wed Jul 05 07:09:58 2006 +0000

description:
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:

 inputmethod/skkserv/INSTALL  |  12 ------------
 inputmethod/skkserv/MESSAGE  |   9 +++++++++
 inputmethod/skkserv/Makefile |   4 ++--
 3 files changed, 11 insertions(+), 14 deletions(-)

diffs (43 lines):

diff -r 6b1612ce4943 -r 229b8cae4abf inputmethod/skkserv/INSTALL
--- a/inputmethod/skkserv/INSTALL       Wed Jul 05 07:09:33 2006 +0000
+++ /dev/null   Thu Jan 01 00:00:00 1970 +0000
@@ -1,12 +0,0 @@
-# $NetBSD: INSTALL,v 1.2 2003/08/30 20:22:55 jlam Exp $
-
-case "$2" in
-POST-INSTALL)
-       if egrep '^skkserv[     ]' /etc/services >/dev/null; then
-               :
-       else
-               echo '
-skkserv                1178/tcp                # SKK server' >>/etc/services
-       fi
-       ;;
-esac
diff -r 6b1612ce4943 -r 229b8cae4abf inputmethod/skkserv/MESSAGE
--- /dev/null   Thu Jan 01 00:00:00 1970 +0000
+++ b/inputmethod/skkserv/MESSAGE       Wed Jul 05 07:09:58 2006 +0000
@@ -0,0 +1,9 @@
+===========================================================================
+$NetBSD: MESSAGE,v 1.4 2006/07/05 07:09:58 jlam Exp $
+
+The default port number for the SKK service should be added to the
+/etc/services database:
+
+    skkserv    1178/tcp
+
+===========================================================================
diff -r 6b1612ce4943 -r 229b8cae4abf inputmethod/skkserv/Makefile
--- a/inputmethod/skkserv/Makefile      Wed Jul 05 07:09:33 2006 +0000
+++ b/inputmethod/skkserv/Makefile      Wed Jul 05 07:09:58 2006 +0000
@@ -1,8 +1,8 @@
-# $NetBSD: Makefile,v 1.16 2006/03/14 01:14:29 jlam Exp $
+# $NetBSD: Makefile,v 1.17 2006/07/05 07:09:58 jlam Exp $
 
 DISTNAME=      skk9.6
 PKGNAME=       skkserv-3.9.4
-PKGREVISION=   4
+PKGREVISION=   5
 CATEGORIES=    japanese inputmethod
 MASTER_SITES=  ftp://skk.kuis.kyoto-u.ac.jp/skk/9.6/
 



Home | Main Index | Thread Index | Old Index