1 |
aballier 10/01/07 13:06:40 |
2 |
|
3 |
Modified: ChangeLog |
4 |
Added: freebsd-share-7.2-r1.ebuild |
5 |
Log: |
6 |
Remove miscfiles colliding with app-misc/miscfiles and RDEPEND on it |
7 |
(Portage version: 2.2_rc61/cvs/Linux x86_64) |
8 |
|
9 |
Revision Changes Path |
10 |
1.34 sys-freebsd/freebsd-share/ChangeLog |
11 |
|
12 |
file : http://sources.gentoo.org/viewcvs.py/gentoo-x86/sys-freebsd/freebsd-share/ChangeLog?rev=1.34&view=markup |
13 |
plain: http://sources.gentoo.org/viewcvs.py/gentoo-x86/sys-freebsd/freebsd-share/ChangeLog?rev=1.34&content-type=text/plain |
14 |
diff : http://sources.gentoo.org/viewcvs.py/gentoo-x86/sys-freebsd/freebsd-share/ChangeLog?r1=1.33&r2=1.34 |
15 |
|
16 |
Index: ChangeLog |
17 |
=================================================================== |
18 |
RCS file: /var/cvsroot/gentoo-x86/sys-freebsd/freebsd-share/ChangeLog,v |
19 |
retrieving revision 1.33 |
20 |
retrieving revision 1.34 |
21 |
diff -u -r1.33 -r1.34 |
22 |
--- ChangeLog 22 May 2009 16:42:16 -0000 1.33 |
23 |
+++ ChangeLog 7 Jan 2010 13:06:40 -0000 1.34 |
24 |
@@ -1,6 +1,12 @@ |
25 |
# ChangeLog for sys-freebsd/freebsd-share |
26 |
-# Copyright 1999-2009 Gentoo Foundation; Distributed under the GPL v2 |
27 |
-# $Header: /var/cvsroot/gentoo-x86/sys-freebsd/freebsd-share/ChangeLog,v 1.33 2009/05/22 16:42:16 aballier Exp $ |
28 |
+# Copyright 1999-2010 Gentoo Foundation; Distributed under the GPL v2 |
29 |
+# $Header: /var/cvsroot/gentoo-x86/sys-freebsd/freebsd-share/ChangeLog,v 1.34 2010/01/07 13:06:40 aballier Exp $ |
30 |
+ |
31 |
+*freebsd-share-7.2-r1 (07 Jan 2010) |
32 |
+ |
33 |
+ 07 Jan 2010; Alexis Ballier <aballier@g.o> |
34 |
+ +freebsd-share-7.2-r1.ebuild, +files/freebsd-share-gnu-miscfiles.patch: |
35 |
+ Remove miscfiles colliding with app-misc/miscfiles and RDEPEND on it |
36 |
|
37 |
22 May 2009; Alexis Ballier <aballier@g.o> |
38 |
freebsd-share-7.2.ebuild: |
39 |
|
40 |
|
41 |
|
42 |
1.1 sys-freebsd/freebsd-share/freebsd-share-7.2-r1.ebuild |
43 |
|
44 |
file : http://sources.gentoo.org/viewcvs.py/gentoo-x86/sys-freebsd/freebsd-share/freebsd-share-7.2-r1.ebuild?rev=1.1&view=markup |
45 |
plain: http://sources.gentoo.org/viewcvs.py/gentoo-x86/sys-freebsd/freebsd-share/freebsd-share-7.2-r1.ebuild?rev=1.1&content-type=text/plain |
46 |
|
47 |
Index: freebsd-share-7.2-r1.ebuild |
48 |
=================================================================== |
49 |
# Copyright 1999-2010 Gentoo Foundation |
50 |
# Distributed under the terms of the GNU General Public License v2 |
51 |
# $Header: /var/cvsroot/gentoo-x86/sys-freebsd/freebsd-share/freebsd-share-7.2-r1.ebuild,v 1.1 2010/01/07 13:06:40 aballier Exp $ |
52 |
|
53 |
inherit bsdmk freebsd |
54 |
|
55 |
DESCRIPTION="FreeBSD shared tools/files" |
56 |
SLOT="0" |
57 |
KEYWORDS="~sparc-fbsd ~x86-fbsd" |
58 |
|
59 |
IUSE="doc isdn" |
60 |
|
61 |
SRC_URI="mirror://gentoo/${SHARE}.tar.bz2 |
62 |
mirror://gentoo/${CONTRIB}.tar.bz2 |
63 |
mirror://gentoo/${GNU}.tar.bz2 |
64 |
mirror://gentoo/${UBIN}.tar.bz2 |
65 |
mirror://gentoo/${USBIN}.tar.bz2 |
66 |
mirror://gentoo/${SBIN}.tar.bz2 |
67 |
mirror://gentoo/${BIN}.tar.bz2 |
68 |
mirror://gentoo/${LIB}.tar.bz2 |
69 |
mirror://gentoo/${ETC}.tar.bz2" |
70 |
|
71 |
DEPEND="=sys-freebsd/freebsd-mk-defs-${RV}*" |
72 |
RDEPEND="sys-apps/miscfiles" |
73 |
|
74 |
RESTRICT="strip" |
75 |
|
76 |
S="${WORKDIR}/share" |
77 |
|
78 |
pkg_setup() { |
79 |
use isdn || mymakeopts="${mymakeopts} NO_I4B= " |
80 |
use doc || mymakeopts="${mymakeopts} NO_SHAREDOCS= " |
81 |
|
82 |
mymakeopts="${mymakeopts} NO_SENDMAIL= NO_MANCOMPRESS= NO_INFOCOMPRESS= " |
83 |
} |
84 |
|
85 |
REMOVE_SUBDIRS="mk termcap zoneinfo tabset" |
86 |
|
87 |
PATCHES=( "${FILESDIR}/${PN}-5.3-doc-locations.patch" |
88 |
"${FILESDIR}/${PN}-5.4-gentoo-skel.patch" |
89 |
"${FILESDIR}/${PN}-gnu-miscfiles.patch" ) |
90 |
|
91 |
src_unpack() { |
92 |
freebsd_src_unpack |
93 |
|
94 |
# Remove make.conf manpage as it describes bsdmk's make.conf. |
95 |
sed -i -e 's:make.conf.5::' "${S}/man/man5/Makefile" |
96 |
# Remove mailer.conf manpage |
97 |
sed -i -e 's:mailer.conf.5::' "${S}/man/man5/Makefile" |
98 |
# Remove pbm and moduli(ssh) manpages |
99 |
sed -i -e 's:pbm.5::' -e 's:moduli.5::' "${S}/man/man5/Makefile" |
100 |
# Remove builtins manpage |
101 |
sed -i -e '/builtins\.1/d' "${S}/man/man1/Makefile" |
102 |
# Remove rc manpages |
103 |
sed -i -e '/rc.8/d' "${S}/man/man8/Makefile" |
104 |
|
105 |
# Don't install the arch-specific directories in subdirectories |
106 |
sed -i -e '/MANSUBDIR/d' "${S}"/man/man4/man4.{i386,sparc64}/Makefile |
107 |
|
108 |
# Remove them so that they can't be included by error |
109 |
rm -rf "${S}"/mk/*.mk |
110 |
|
111 |
# Make proper symlinks by defining the full target. |
112 |
local sdir |
113 |
for sdir in colldef mklocale monetdef msgdef numericdef timedef |
114 |
do |
115 |
sed -e 's:\${enc2}$:\${enc2}/\${FILESNAME}:g' -i \ |
116 |
"${S}/${sdir}/Makefile" || \ |
117 |
die "Error fixing ${sdir}/Makefile" |
118 |
done |
119 |
} |
120 |
|
121 |
src_compile() { |
122 |
export ESED="/usr/bin/sed" |
123 |
|
124 |
# This is a groff problem and not a -shared problem. |
125 |
export GROFF_TMAC_PATH="/usr/share/tmac/:/usr/share/groff/1.19.1/tmac/" |
126 |
mkmake || die "emake failed" |
127 |
} |
128 |
|
129 |
src_install() { |
130 |
mkmake -j1 DESTDIR="${D}" DOCDIR=/usr/share/doc/${PF} install || die "Install failed" |
131 |
} |