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

Contents of /trunk/sys-apps/freebsd-share/freebsd-share-5.4.ebuild

Parent Directory Parent Directory | Revision Log Revision Log


Revision 441 - (show annotations) (download)
Wed Jun 8 16:59:52 2005 UTC (9 years, 1 month ago) by flameeyes
File size: 1352 byte(s)
Updated to use gentoo's mirrors and freebsd-utils eclass.

1 # Copyright 1999-2005 Gentoo Foundation
2 # Distributed under the terms of the GNU General Public License v2
3 # $Header$
4
5 inherit freebsd-utils
6
7 BASE_VER="5.3"
8 MY_PATCH=${PN}-${BASE_VER}
9
10 DESCRIPTION="FreeBSD shared tools/files"
11 SRC_URI="mirror://gentoo/${SHARE}.tar.bz2
12 mirror://gentoo/${CONTRIB}.tar.bz2
13 mirror://gentoo/${GNU}.tar.bz2
14 mirror://gentoo/${UBIN}.tar.bz2
15 mirror://gentoo/${USBIN}.tar.bz2
16 mirror://gentoo/${SBIN}.tar.bz2
17 mirror://gentoo/${BIN}.tar.bz2
18 mirror://gentoo/${LIB}.tar.bz2
19 mirror://gentoo/${ETC}.tar.bz2"
20
21 DEPEND="=sys-devel/freebsd-mk-defs-5.4*"
22
23 S=${WORKDIR}/share
24
25 IUSE="doc isdn"
26
27 pkg_setup() {
28 use isdn || mymakeopts="${mymakeopts} NO_I4B= "
29 use doc || mymakeopts="${mymakeopts} NO_SHAREDOCS= "
30
31 mymakeopts="${mymakeopts} NO_SENDMAIL= "
32 }
33
34 src_unpack() {
35 unpack ${A}
36
37 # Disables mk
38 cd ${S}
39 epatch ${FILESDIR}/${PN}-minimal.patch
40 epatch ${FILESDIR}/${PN}-5.3-doc-locations.patch
41
42 # Adjust colldef makefile
43 cd ${S}/colldef
44 epatch ${FILESDIR}/${PN}-5.3-colldef-makefile.patch
45 epatch ${FILESDIR}/${PN}-5.3-colldef-makefile_links.patch
46 }
47
48 src_compile() {
49 # This is a groff problem and not a -shared problem.
50 export GROFF_TMAC_PATH="/usr/share/tmac/:/usr/share/groff/1.19.1/tmac/"
51 fmake || die "emake failed"
52 }
53
54 src_install() {
55 fmake DESTDIR=${D} DOCDIR=/usr/share/doc/${PF} install || die "Install failed"
56 }

Properties

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

  ViewVC Help
Powered by ViewVC 1.1.20