Gentoo Archives: gentoo-commits

From: "Alexis Ballier (aballier)" <aballier@g.o>
To: gentoo-commits@l.g.o
Subject: [gentoo-commits] gentoo-x86 commit in sys-freebsd/freebsd-share: freebsd-share-9.2.ebuild ChangeLog
Date: Sat, 09 Nov 2013 09:18:02
Message-Id: 20131109091759.3EE2D2004B@flycatcher.gentoo.org
1 aballier 13/11/09 09:17:59
2
3 Modified: ChangeLog
4 Added: freebsd-share-9.2.ebuild
5 Log:
6 bump to 9.2
7
8 (Portage version: 2.2.7/cvs/Linux x86_64, signed Manifest commit with key 160F534A)
9
10 Revision Changes Path
11 1.58 sys-freebsd/freebsd-share/ChangeLog
12
13 file : http://sources.gentoo.org/viewvc.cgi/gentoo-x86/sys-freebsd/freebsd-share/ChangeLog?rev=1.58&view=markup
14 plain: http://sources.gentoo.org/viewvc.cgi/gentoo-x86/sys-freebsd/freebsd-share/ChangeLog?rev=1.58&content-type=text/plain
15 diff : http://sources.gentoo.org/viewvc.cgi/gentoo-x86/sys-freebsd/freebsd-share/ChangeLog?r1=1.57&r2=1.58
16
17 Index: ChangeLog
18 ===================================================================
19 RCS file: /var/cvsroot/gentoo-x86/sys-freebsd/freebsd-share/ChangeLog,v
20 retrieving revision 1.57
21 retrieving revision 1.58
22 diff -u -r1.57 -r1.58
23 --- ChangeLog 26 Aug 2013 20:45:11 -0000 1.57
24 +++ ChangeLog 9 Nov 2013 09:17:59 -0000 1.58
25 @@ -1,6 +1,11 @@
26 # ChangeLog for sys-freebsd/freebsd-share
27 # Copyright 1999-2013 Gentoo Foundation; Distributed under the GPL v2
28 -# $Header: /var/cvsroot/gentoo-x86/sys-freebsd/freebsd-share/ChangeLog,v 1.57 2013/08/26 20:45:11 aballier Exp $
29 +# $Header: /var/cvsroot/gentoo-x86/sys-freebsd/freebsd-share/ChangeLog,v 1.58 2013/11/09 09:17:59 aballier Exp $
30 +
31 +*freebsd-share-9.2 (09 Nov 2013)
32 +
33 + 09 Nov 2013; Alexis Ballier <aballier@g.o> +freebsd-share-9.2.ebuild:
34 + bump to 9.2
35
36 *freebsd-share-9.2_rc3 (26 Aug 2013)
37
38
39
40
41 1.1 sys-freebsd/freebsd-share/freebsd-share-9.2.ebuild
42
43 file : http://sources.gentoo.org/viewvc.cgi/gentoo-x86/sys-freebsd/freebsd-share/freebsd-share-9.2.ebuild?rev=1.1&view=markup
44 plain: http://sources.gentoo.org/viewvc.cgi/gentoo-x86/sys-freebsd/freebsd-share/freebsd-share-9.2.ebuild?rev=1.1&content-type=text/plain
45
46 Index: freebsd-share-9.2.ebuild
47 ===================================================================
48 # Copyright 1999-2013 Gentoo Foundation
49 # Distributed under the terms of the GNU General Public License v2
50 # $Header: /var/cvsroot/gentoo-x86/sys-freebsd/freebsd-share/freebsd-share-9.2.ebuild,v 1.1 2013/11/09 09:17:59 aballier Exp $
51
52 inherit bsdmk freebsd
53
54 DESCRIPTION="FreeBSD shared tools/files"
55 SLOT="0"
56
57 IUSE="doc zfs"
58
59 if [[ ${PV} != *9999* ]]; then
60 KEYWORDS="~amd64-fbsd ~sparc-fbsd ~x86-fbsd"
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 zfs? ( mirror://gentoo/${CDDL}.tar.bz2 )"
71 fi
72
73 DEPEND="=sys-freebsd/freebsd-mk-defs-${RV}*
74 =sys-freebsd/freebsd-sources-${RV}*"
75 RDEPEND="sys-apps/miscfiles"
76
77 RESTRICT="strip"
78
79 S="${WORKDIR}/share"
80
81 pkg_setup() {
82 use doc || mymakeopts="${mymakeopts} NO_SHAREDOCS= "
83 use zfs || mymakeopts="${mymakeopts} WITHOUT_CDDL= "
84
85 mymakeopts="${mymakeopts} NO_SENDMAIL= NO_MANCOMPRESS= NO_INFOCOMPRESS= "
86 }
87
88 REMOVE_SUBDIRS="mk termcap zoneinfo tabset"
89
90 PATCHES=( "${FILESDIR}/${PN}-5.3-doc-locations.patch"
91 "${FILESDIR}/${PN}-5.4-gentoo-skel.patch"
92 "${FILESDIR}/${PN}-9.2-gnu-miscfiles.patch" )
93
94 src_unpack() {
95 freebsd_src_unpack
96
97 # Remove make.conf manpage as it describes bsdmk's make.conf.
98 sed -i -e 's:make.conf.5::' "${S}/man/man5/Makefile"
99 # Remove rc.conf manpage as it describes bsd's rc.conf.
100 sed -i -e 's:\brc.conf.5::' "${S}/man/man5/Makefile"
101 sed -i -e 's:\brc.conf.local.5::' "${S}/man/man5/Makefile"
102 # Remove mailer.conf manpage
103 sed -i -e 's:mailer.conf.5::' "${S}/man/man5/Makefile"
104 # Remove pbm and moduli(ssh) manpages
105 sed -i -e 's:pbm.5::' -e 's:moduli.5::' "${S}/man/man5/Makefile"
106 # Remove builtins manpage
107 sed -i -e '/builtins\.1/d' "${S}/man/man1/Makefile"
108 # Remove rc manpages
109 sed -i -e '/rc.8/d' "${S}/man/man8/Makefile"
110
111 # Don't install the arch-specific directories in subdirectories
112 sed -i -e '/MANSUBDIR/d' "${S}"/man/man4/man4.{i386,sparc64}/Makefile
113
114 # Remove them so that they can't be included by error
115 rm -rf "${S}"/mk/*.mk
116
117 # Make proper symlinks by defining the full target.
118 local sdir
119 for sdir in colldef mklocale monetdef msgdef numericdef timedef
120 do
121 sed -e 's:\${enc2}$:\${enc2}/\${FILESNAME}:g' -i \
122 "${S}/${sdir}/Makefile" || \
123 die "Error fixing ${sdir}/Makefile"
124 done
125 ln -s "/usr/src/sys" "${WORKDIR}/sys" || die "failed to set sys symlink"
126 }
127
128 src_compile() {
129 export ESED="/usr/bin/sed"
130
131 # This is a groff problem and not a -shared problem.
132 export GROFF_TMAC_PATH="/usr/share/tmac/:/usr/share/groff/1.19.1/tmac/"
133 freebsd_src_compile || die "emake failed"
134 }
135
136 src_install() {
137 mkmake -j1 DESTDIR="${D}" DOCDIR=/usr/share/doc/${PF} install || die "Install failed"
138 }