1 |
pva 08/09/10 08:15:49 |
2 |
|
3 |
Modified: cannadic.eclass |
4 |
Log: |
5 |
Make eclass-manpages ready, bug #210776, thank mren for report. |
6 |
|
7 |
Revision Changes Path |
8 |
1.15 eclass/cannadic.eclass |
9 |
|
10 |
file : http://sources.gentoo.org/viewcvs.py/gentoo-x86/eclass/cannadic.eclass?rev=1.15&view=markup |
11 |
plain: http://sources.gentoo.org/viewcvs.py/gentoo-x86/eclass/cannadic.eclass?rev=1.15&content-type=text/plain |
12 |
diff : http://sources.gentoo.org/viewcvs.py/gentoo-x86/eclass/cannadic.eclass?r1=1.14&r2=1.15 |
13 |
|
14 |
Index: cannadic.eclass |
15 |
=================================================================== |
16 |
RCS file: /var/cvsroot/gentoo-x86/eclass/cannadic.eclass,v |
17 |
retrieving revision 1.14 |
18 |
retrieving revision 1.15 |
19 |
diff -u -r1.14 -r1.15 |
20 |
--- cannadic.eclass 21 Oct 2006 00:07:58 -0000 1.14 |
21 |
+++ cannadic.eclass 10 Sep 2008 08:15:48 -0000 1.15 |
22 |
@@ -1,12 +1,17 @@ |
23 |
-# Copyright 1999-2004 Gentoo Foundation |
24 |
+# Copyright 1999-2008 Gentoo Foundation |
25 |
# Distributed under the terms of the GNU General Public License v2 |
26 |
-# $Header: /var/cvsroot/gentoo-x86/eclass/cannadic.eclass,v 1.14 2006/10/21 00:07:58 flameeyes Exp $ |
27 |
-# |
28 |
-# Author: Mamoru KOMACHI <usata@g.o> |
29 |
-# |
30 |
+# $Header: /var/cvsroot/gentoo-x86/eclass/cannadic.eclass,v 1.15 2008/09/10 08:15:48 pva Exp $ |
31 |
+ |
32 |
+# @ECLASS: cannadic.eclass |
33 |
+# @MAINTAINER: |
34 |
+# ??? |
35 |
+# |
36 |
+# Original author: Mamoru KOMACHI <usata@g.o> |
37 |
+# @BLURB: Function for Canna compatible dictionaries |
38 |
+# @DESCRIPTION: |
39 |
# The cannadic eclass is used for installation and setup of Canna |
40 |
# compatible dictionaries within the Portage system. |
41 |
-# |
42 |
+ |
43 |
|
44 |
EXPORT_FUNCTIONS src_install pkg_setup pkg_postinst pkg_postrm |
45 |
|
46 |
@@ -30,8 +35,9 @@ |
47 |
cannadir="${ROOT}/var/lib/canna/dic/canna" |
48 |
dicsdir="${ROOT}/var/lib/canna/dic/dics.d" |
49 |
|
50 |
-# |
51 |
-# pkg_setup() : sets up cannadic dir |
52 |
+# @FUNCTION: cannadic_pkg_setup |
53 |
+# @DESCRIPTION: |
54 |
+# Sets up cannadic dir |
55 |
cannadic_pkg_setup() { |
56 |
|
57 |
keepdir $cannadir |
58 |
@@ -39,9 +45,9 @@ |
59 |
fperms 0775 $cannadir |
60 |
} |
61 |
|
62 |
-# |
63 |
-# cannadic-install() : installs dictionaries to cannadir |
64 |
-# |
65 |
+# @FUNCTION: cannadic-install |
66 |
+# @DESCRIPTION: |
67 |
+# Installs dictionaries to cannadir |
68 |
cannadic-install() { |
69 |
|
70 |
insinto $cannadir |
71 |
@@ -49,19 +55,19 @@ |
72 |
doins "$@" |
73 |
} |
74 |
|
75 |
-# |
76 |
-# dicsdir-install() : installs dics.dir from ${FILESDIR} |
77 |
-# |
78 |
+# @FUNCTION: dicsdir-install |
79 |
+# @DESCRIPTION: |
80 |
+# Installs dics.dir from ${DICSDIRFILE} |
81 |
dicsdir-install() { |
82 |
|
83 |
insinto ${dicsdir} |
84 |
doins ${DICSDIRFILE} |
85 |
} |
86 |
|
87 |
-# |
88 |
-# src_install() : installs all dictionaries under ${WORKDIR} |
89 |
-# plus dics.dir and docs |
90 |
-# |
91 |
+# @FUNCTION: cannadic_src_install |
92 |
+# @DESCRIPTION: |
93 |
+# Installs all dictionaries under ${WORKDIR} |
94 |
+# plus dics.dir and docs |
95 |
cannadic_src_install() { |
96 |
|
97 |
for f in *.c[btl]d *.t ; do |
98 |
@@ -73,14 +79,14 @@ |
99 |
dodoc ${DOCS} |
100 |
} |
101 |
|
102 |
-# |
103 |
-# update-cannadic-dir() : updates dics.dir for Canna Server, |
104 |
-# script for this part taken from Debian GNU/Linux |
105 |
-# |
106 |
-# compiles dics.dir files for Canna Server |
107 |
-# Copyright 2001 ISHIKAWA Mutsumi |
108 |
-# Licensed under the GNU General Public License, version 2. See the file |
109 |
-# /usr/portage/license/GPL-2 or <http://www.gnu.org/copyleft/gpl.txt>. |
110 |
+# @FUNCTION: update-cannadic-dir |
111 |
+# @DESCRIPTION: |
112 |
+# Updates dics.dir for Canna Server, script for this part taken from Debian GNU/Linux |
113 |
+# |
114 |
+# compiles dics.dir files for Canna Server |
115 |
+# Copyright 2001 ISHIKAWA Mutsumi |
116 |
+# Licensed under the GNU General Public License, version 2. See the file |
117 |
+# /usr/portage/license/GPL-2 or <http://www.gnu.org/copyleft/gpl.txt>. |
118 |
update-cannadic-dir() { |
119 |
|
120 |
einfo |
121 |
@@ -106,9 +112,9 @@ |
122 |
einfo |
123 |
} |
124 |
|
125 |
-# |
126 |
-# pkg_postinst() : updates dics.dir and print out notice after install |
127 |
-# |
128 |
+# @FUNCTION: cannadic_pkg_postinst |
129 |
+# @DESCRIPTION: |
130 |
+# Updates dics.dir and print out notice after install |
131 |
cannadic_pkg_postinst() { |
132 |
update-cannadic-dir |
133 |
einfo |
134 |
@@ -128,9 +134,9 @@ |
135 |
einfo |
136 |
} |
137 |
|
138 |
-# |
139 |
-# pkg_postrm() : updates dics.dir and print out notice after uninstall |
140 |
-# |
141 |
+# @FUNCTION: cannadic_pkg_postrm |
142 |
+# @DESCRIPTION: |
143 |
+# Updates dics.dir and print out notice after uninstall |
144 |
cannadic_pkg_postrm() { |
145 |
update-cannadic-dir |
146 |
einfo |