1 |
kolmodin 08/09/29 21:11:46 |
2 |
|
3 |
Modified: ChangeLog |
4 |
Added: darcs-2.1.0_pre2.ebuild |
5 |
Log: |
6 |
Add the masked dev-util/darcs-2.1.0_pre2. |
7 |
(Portage version: 2.1.4.4) |
8 |
|
9 |
Revision Changes Path |
10 |
1.90 dev-util/darcs/ChangeLog |
11 |
|
12 |
file : http://sources.gentoo.org/viewcvs.py/gentoo-x86/dev-util/darcs/ChangeLog?rev=1.90&view=markup |
13 |
plain: http://sources.gentoo.org/viewcvs.py/gentoo-x86/dev-util/darcs/ChangeLog?rev=1.90&content-type=text/plain |
14 |
diff : http://sources.gentoo.org/viewcvs.py/gentoo-x86/dev-util/darcs/ChangeLog?r1=1.89&r2=1.90 |
15 |
|
16 |
Index: ChangeLog |
17 |
=================================================================== |
18 |
RCS file: /var/cvsroot/gentoo-x86/dev-util/darcs/ChangeLog,v |
19 |
retrieving revision 1.89 |
20 |
retrieving revision 1.90 |
21 |
diff -u -r1.89 -r1.90 |
22 |
--- ChangeLog 26 Aug 2008 14:45:54 -0000 1.89 |
23 |
+++ ChangeLog 29 Sep 2008 21:11:45 -0000 1.90 |
24 |
@@ -1,6 +1,12 @@ |
25 |
# ChangeLog for dev-util/darcs |
26 |
# Copyright 2000-2008 Gentoo Foundation; Distributed under the GPL v2 |
27 |
-# $Header: /var/cvsroot/gentoo-x86/dev-util/darcs/ChangeLog,v 1.89 2008/08/26 14:45:54 armin76 Exp $ |
28 |
+# $Header: /var/cvsroot/gentoo-x86/dev-util/darcs/ChangeLog,v 1.90 2008/09/29 21:11:45 kolmodin Exp $ |
29 |
+ |
30 |
+*darcs-2.1.0_pre2 (29 Sep 2008) |
31 |
+ |
32 |
+ 29 Sep 2008; Lennart Kolmodin <kolmodin@g.o> |
33 |
+ +darcs-2.1.0_pre2.ebuild: |
34 |
+ Add a pre release of darcs-2.1.0 |
35 |
|
36 |
26 Aug 2008; Raúl Porcel <armin76@g.o> darcs-2.0.2.ebuild: |
37 |
Add ~ia64 wrt #227677 |
38 |
|
39 |
|
40 |
|
41 |
1.1 dev-util/darcs/darcs-2.1.0_pre2.ebuild |
42 |
|
43 |
file : http://sources.gentoo.org/viewcvs.py/gentoo-x86/dev-util/darcs/darcs-2.1.0_pre2.ebuild?rev=1.1&view=markup |
44 |
plain: http://sources.gentoo.org/viewcvs.py/gentoo-x86/dev-util/darcs/darcs-2.1.0_pre2.ebuild?rev=1.1&content-type=text/plain |
45 |
|
46 |
Index: darcs-2.1.0_pre2.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/dev-util/darcs/darcs-2.1.0_pre2.ebuild,v 1.1 2008/09/29 21:11:45 kolmodin Exp $ |
51 |
|
52 |
inherit base autotools eutils |
53 |
|
54 |
DESCRIPTION="David's Advanced Revision Control System is yet another replacement for CVS" |
55 |
HOMEPAGE="http://darcs.net" |
56 |
MY_P0="${P/_rc/rc}" |
57 |
MY_P="${MY_P0/_pre/pre}" |
58 |
SRC_URI="http://darcs.net/${MY_P}.tar.gz" |
59 |
|
60 |
LICENSE="GPL-2" |
61 |
SLOT="0" |
62 |
KEYWORDS="~alpha ~amd64 ~ia64 ~ppc ~ppc64 ~sparc ~x86 ~x86-fbsd" |
63 |
IUSE="doc" |
64 |
|
65 |
DEPEND=">=net-misc/curl-7.10.2 |
66 |
>=dev-lang/ghc-6.2.2 |
67 |
=dev-haskell/quickcheck-1* |
68 |
dev-haskell/mtl |
69 |
dev-haskell/html |
70 |
dev-haskell/http |
71 |
dev-haskell/parsec |
72 |
dev-haskell/regex-compat |
73 |
sys-apps/diffutils |
74 |
dev-haskell/network |
75 |
dev-haskell/filepath |
76 |
sys-libs/zlib |
77 |
doc? ( virtual/latex-base |
78 |
>=dev-tex/latex2html-2002.2.1_pre20041025-r1 )" |
79 |
|
80 |
# add these deps? configure will check for and use these if they are available, |
81 |
# but with older ghc's it'll just work as it won't have the split base |
82 |
# array |
83 |
# directory |
84 |
# old-locale |
85 |
# old-time |
86 |
# process |
87 |
|
88 |
# bytestring will also be used if it's there. XXX: really? |
89 |
|
90 |
RDEPEND=">=net-misc/curl-7.10.2 |
91 |
virtual/mta |
92 |
dev-libs/gmp" |
93 |
|
94 |
S=${WORKDIR}/${MY_P} |
95 |
|
96 |
pkg_setup() { |
97 |
if use doc && ! built_with_use -o dev-tex/latex2html png gif; then |
98 |
eerror "Building darcs with USE=\"doc\" requires that" |
99 |
eerror "dev-tex/latex2html is built with at least one of" |
100 |
eerror "USE=\"png\" and USE=\"gif\"." |
101 |
die "USE=doc requires dev-tex/latex2html with USE=\"png\" or USE=\"gif\"" |
102 |
fi |
103 |
} |
104 |
|
105 |
src_unpack() { |
106 |
base_src_unpack |
107 |
|
108 |
cd "${S}/tools" |
109 |
epatch "${FILESDIR}/${PN}-1.0.9-bashcomp.patch" |
110 |
|
111 |
# On ia64 we need to tone down the level of inlining so we don't break some |
112 |
# of the low level ghc/gcc interaction gubbins. |
113 |
use ia64 && sed -i 's/-funfolding-use-threshold20//' "${S}/GNUmakefile" |
114 |
|
115 |
cd "${S}" |
116 |
# Since we've patched the build system: |
117 |
eautoreconf |
118 |
} |
119 |
|
120 |
src_compile() { |
121 |
# use --enable-bytestring? |
122 |
econf $(use_with doc docs) \ |
123 |
--disable-haskeline \ |
124 |
--disable-haskell-zlib \ |
125 |
|| die "configure failed" |
126 |
emake all || die "make failed" |
127 |
} |
128 |
|
129 |
src_test() { |
130 |
make test |
131 |
} |
132 |
|
133 |
src_install() { |
134 |
make DESTDIR="${D}" installbin || die "installation failed" |
135 |
# The bash completion should be installed in /usr/share/bash-completion/ |
136 |
# rather than /etc/bash_completion.d/ . Fixes bug #148038. |
137 |
insinto "/usr/share/bash-completion" \ |
138 |
&& doins "${D}/etc/bash_completion.d/darcs" \ |
139 |
&& rm "${D}/etc/bash_completion.d/darcs" \ |
140 |
&& rmdir "${D}/etc/bash_completion.d" \ |
141 |
&& rmdir "${D}/etc" \ |
142 |
|| die "fixing location of darcs bash completion failed" |
143 |
if use doc; then |
144 |
dodoc "${S}/doc/manual/darcs.ps" || die "installing darcs.ps failed" |
145 |
dohtml -r "${S}/doc/manual/"* || die "installing darcs manual failed" |
146 |
fi |
147 |
} |
148 |
|
149 |
pkg_postinst() { |
150 |
ewarn "NOTE: in order for the darcs send command to work properly," |
151 |
ewarn "you must properly configure your mail transport agent to relay" |
152 |
ewarn "outgoing mail. For example, if you are using ssmtp, please edit" |
153 |
ewarn "/etc/ssmtp/ssmtp.conf with appropriate values for your site." |
154 |
} |