/[gentoo-alt]/trunk/overlay/sys-freebsd/freebsd-share/freebsd-share-5.4-r2.ebuild
Gentoo

Contents of /trunk/overlay/sys-freebsd/freebsd-share/freebsd-share-5.4-r2.ebuild

Parent Directory Parent Directory | Revision Log Revision Log


Revision 888 - (show annotations) (download)
Sun Nov 20 23:28:27 2005 UTC (8 years, 9 months ago) by flameeyes
File size: 1426 byte(s)
Installs default skel content in /etc/skel as usual on Gentoo, also disable some content that's not Gentoo-style and might create problems to users.
1 # Copyright 1999-2005 Gentoo Foundation
2 # Distributed under the terms of the GNU General Public License v2
3 # $Header$
4
5 inherit bsdmk freebsd
6
7 DESCRIPTION="FreeBSD shared tools/files"
8 SLOT="0"
9 KEYWORDS="~x86-fbsd ~amd64-fbsd"
10
11 IUSE="doc isdn"
12
13 SRC_URI="mirror://gentoo/${SHARE}.tar.bz2
14 mirror://gentoo/${CONTRIB}.tar.bz2
15 mirror://gentoo/${GNU}.tar.bz2
16 mirror://gentoo/${UBIN}.tar.bz2
17 mirror://gentoo/${USBIN}.tar.bz2
18 mirror://gentoo/${SBIN}.tar.bz2
19 mirror://gentoo/${BIN}.tar.bz2
20 mirror://gentoo/${LIB}.tar.bz2
21 mirror://gentoo/${ETC}.tar.bz2"
22
23 DEPEND="=sys-freebsd/freebsd-mk-defs-${RV}*"
24 RDEPEND=""
25
26 RESTRICT="nostrip"
27
28 S="${WORKDIR}/share"
29
30 pkg_setup() {
31 use isdn || mymakeopts="${mymakeopts} NO_I4B= "
32 use doc || mymakeopts="${mymakeopts} NO_SHAREDOCS= "
33
34 mymakeopts="${mymakeopts} NO_SENDMAIL= "
35 }
36
37 REMOVE_SUBDIRS="mk termcap"
38
39 PATCHES="${FILESDIR}/${PN}-5.3-colldef-makefile_links.patch
40 ${FILESDIR}/${PN}-5.3-doc-locations.patch
41 ${FILESDIR}/${P}-gentoo-skel.patch"
42
43 src_unpack() {
44 freebsd_src_unpack
45
46 sed -i -e 's:make.conf.5::' ${S}/man/man5/Makefile
47
48 # Remove them so that they can't be included by error
49 rm -rf ${S}/mk/*.mk
50 }
51
52 src_compile() {
53 # This is a groff problem and not a -shared problem.
54 export GROFF_TMAC_PATH="/usr/share/tmac/:/usr/share/groff/1.19.1/tmac/"
55 mkmake || die "emake failed"
56 }
57
58 src_install() {
59 mkmake DESTDIR=${D} DOCDIR=/usr/share/doc/${PF} install || die "Install failed"
60 }

Properties

Name Value
svn:eol-style native
svn:keywords Author Date Id Revision

  ViewVC Help
Powered by ViewVC 1.1.20