Gentoo Archives: gentoo-commits

From: "Peter Volkov (pva)" <pva@g.o>
To: gentoo-commits@l.g.o
Subject: [gentoo-commits] gentoo-x86 commit in app-text/dictd: ChangeLog dictd-1.10.11.ebuild
Date: Mon, 14 Apr 2008 11:11:02
Message-Id: E1JlMaR-0004bz-M6@stork.gentoo.org
1 pva 08/04/14 11:10:59
2
3 Modified: ChangeLog
4 Added: dictd-1.10.11.ebuild
5 Log:
6 Version bump.
7 (Portage version: 2.1.4.4)
8
9 Revision Changes Path
10 1.40 app-text/dictd/ChangeLog
11
12 file : http://sources.gentoo.org/viewcvs.py/gentoo-x86/app-text/dictd/ChangeLog?rev=1.40&view=markup
13 plain: http://sources.gentoo.org/viewcvs.py/gentoo-x86/app-text/dictd/ChangeLog?rev=1.40&content-type=text/plain
14 diff : http://sources.gentoo.org/viewcvs.py/gentoo-x86/app-text/dictd/ChangeLog?r1=1.39&r2=1.40
15
16 Index: ChangeLog
17 ===================================================================
18 RCS file: /var/cvsroot/gentoo-x86/app-text/dictd/ChangeLog,v
19 retrieving revision 1.39
20 retrieving revision 1.40
21 diff -u -r1.39 -r1.40
22 --- ChangeLog 2 Sep 2007 12:16:07 -0000 1.39
23 +++ ChangeLog 14 Apr 2008 11:10:59 -0000 1.40
24 @@ -1,6 +1,11 @@
25 # ChangeLog for app-text/dictd
26 -# Copyright 2002-2007 Gentoo Foundation; Distributed under the GPL v2
27 -# $Header: /var/cvsroot/gentoo-x86/app-text/dictd/ChangeLog,v 1.39 2007/09/02 12:16:07 philantrop Exp $
28 +# Copyright 2002-2008 Gentoo Foundation; Distributed under the GPL v2
29 +# $Header: /var/cvsroot/gentoo-x86/app-text/dictd/ChangeLog,v 1.40 2008/04/14 11:10:59 pva Exp $
30 +
31 +*dictd-1.10.11 (14 Apr 2008)
32 +
33 + 14 Apr 2008; Peter Volkov <pva@g.o> +dictd-1.10.11.ebuild:
34 + Version bump.
35
36 02 Sep 2007; Wulf C. Krueger <philantrop@g.o> files/1.10.9/dictd,
37 files/1.10.9/dictd.confd:
38
39
40
41 1.1 app-text/dictd/dictd-1.10.11.ebuild
42
43 file : http://sources.gentoo.org/viewcvs.py/gentoo-x86/app-text/dictd/dictd-1.10.11.ebuild?rev=1.1&view=markup
44 plain: http://sources.gentoo.org/viewcvs.py/gentoo-x86/app-text/dictd/dictd-1.10.11.ebuild?rev=1.1&content-type=text/plain
45
46 Index: dictd-1.10.11.ebuild
47 ===================================================================
48 # Copyright 1999-2008 Gentoo Foundation
49 # Distributed under the terms of the GNU General Public License v2
50 # $Header: /var/cvsroot/gentoo-x86/app-text/dictd/dictd-1.10.11.ebuild,v 1.1 2008/04/14 11:10:59 pva Exp $
51
52 DESCRIPTION="Dictionary Client/Server for the DICT protocol"
53 HOMEPAGE="http://www.dict.org/"
54 SRC_URI="mirror://sourceforge/dict/${P}.tar.gz"
55
56 SLOT="0"
57 LICENSE="GPL-2"
58 KEYWORDS="~alpha ~amd64 ~hppa ~ia64 ~mips ~ppc ~ppc64 ~sparc ~x86"
59 IUSE=""
60
61 DEPEND=""
62 RDEPEND="${DEPEND}"
63
64 # The dictd tests are broken.
65 #RESTRICT="test"
66
67 src_unpack() {
68 unpack ${A}
69
70 cd "${S}"
71 sed -i -e 's:^CFLAGS=\(.*\):CFLAGS=\1 -fPIC:' libmaa/Makefile.in
72 }
73
74 src_compile() {
75 # with-local-libmaa is needed because libmaa is not in the tree
76 # because nothing in the whole wide world but dictd uses it.
77 # There are no sources apart from those in dictd, no homepage, nothing.
78 # Doesn't really make sense to split it off from dictd into its own package
79 # and add that just for dictd.
80 econf \
81 --with-cflags="${CFLAGS}" \
82 --with-local-libmaa \
83 --without-local-zlib \
84 --without-local-dmalloc \
85 --without-local-regex \
86 --without-checker \
87 --without-efence \
88 --without-insure \
89 --without-purify \
90 --disable-plugin \
91 --sysconfdir=/etc/dict || die "econf failed"
92 emake || die "make failed"
93 }
94
95 src_install() {
96 # Now install it.
97 make DESTDIR="${D}" install || die "install failed"
98
99 # Install docs
100 dodoc README TODO ChangeLog ANNOUNCE || die "installing docs part 1 failed"
101 dodoc doc/dicf.ms doc/rfc.ms doc/rfc.sh doc/rfc2229.txt || die "installing docs part 2 failed"
102 dodoc doc/security.doc doc/toc.ms || die "installing docs part 3 failed"
103
104 # conf files.
105 dodir /etc/dict
106 insinto /etc/dict
107 doins "${FILESDIR}"/1.10.9/dict.conf
108 doins "${FILESDIR}"/1.10.9/dictd.conf
109 doins "${FILESDIR}"/1.10.9/site.info
110
111 # startups for dictd
112 newinitd "${FILESDIR}"/1.10.9/dictd dictd
113 newconfd "${FILESDIR}"/1.10.9/dictd.confd dictd
114
115 # Remove useless cruft, fixes bug 107376
116 rm -f "${D}"/usr/bin/colorit
117 rm -f "${D}"/usr/share/man/man1/colorit.1
118 }
119
120 pkg_postinst() {
121 echo
122 elog "To start and use ${PN} you will have to emerge at least one dictionary from"
123 elog "the app-dicts category with the package name starting with 'dictd-'."
124 elog "To install all available dictionaries, emerge app-dicts/dictd-dicts."
125 elog "${PN} will NOT start without at least one dictionary."
126 echo
127 }
128
129
130
131 --
132 gentoo-commits@l.g.o mailing list