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

Contents of /trunk/sys-apps/freebsd-share/freebsd-share-5.3.20050301.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: 1386 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.3*"
22
23 S=${WORKDIR}/share
24
25 IUSE="doc isdn sendmail"
26
27 pkg_setup() {
28 use isdn || mymakeopts="${mymakeopts} NO_I4B= "
29 use sendmail || mymakeopts="${mymakeopts} NO_SENDMAIL= "
30 use doc || mymakeopts="${mymakeopts} NO_SHAREDOCS= "
31 }
32
33 src_unpack() {
34 unpack ${A}
35
36 # Disables mk
37 cd ${S}
38 epatch ${FILESDIR}/${MY_PATCH}-no_mk.patch
39 epatch ${FILESDIR}/${MY_PATCH}-doc-locations.patch
40
41 # Adjust colldef makefile
42 cd ${S}/colldef
43 epatch ${FILESDIR}/${MY_PATCH}-colldef-makefile.patch
44 epatch ${FILESDIR}/${MY_PATCH}-colldef-makefile_links.patch
45 }
46
47 src_compile() {
48 # This is a groff problem and not a -shared problem.
49 export GROFF_TMAC_PATH="/usr/share/tmac/:/usr/share/groff/1.19.1/tmac/"
50 fmake || die "emake failed"
51 }
52
53 src_install() {
54 fmake DESTDIR=${D} DOCDIR=/usr/share/doc/${PF} install || die "Install failed"
55 }

Properties

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

  ViewVC Help
Powered by ViewVC 1.1.20