Gentoo Archives: gentoo-commits

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