/[gentoo-alt]/trunk/sys-apps/eject-bsd/eject-bsd-1.5.ebuild
Gentoo

Contents of /trunk/sys-apps/eject-bsd/eject-bsd-1.5.ebuild

Parent Directory Parent Directory | Revision Log Revision Log


Revision 392 - (show annotations) (download)
Mon May 23 16:11:49 2005 UTC (13 years, 2 months ago) by flameeyes
File size: 904 byte(s)
Block eject.

1 # Copyright 1999-2005 Gentoo Foundation
2 # Distributed under the terms of the GNU General Public License v2
3 # $Header$
4
5 inherit eutils
6
7 MY_P="eject-${PV}"
8
9 DESCRIPTION="eject command for FreeBSD systems"
10 HOMEPAGE="http://www.freshports.org/sysutils/eject/"
11 SRC_URI="ftp://ports.jp.FreeBSD.org/pub/FreeBSD-jp/OD/${MY_P}.tar.gz
12 ftp://ftp4.jp.FreeBSD.org/pub/FreeBSD-jp/OD/${MY_P}.tar.gz
13 ftp://ftp.ics.es.osaka-u.ac.jp/pub/mirrors/FreeBSD-jp/OD/${MY_P}.tar.gz
14 ftp://ftp.FreeBSD.org/pub/FreeBSD/ports/distfiles/${MY_P}.tar.gz"
15
16 LICENSE="BSD"
17 SLOT="0"
18 KEYWORDS="~x86-fbsd"
19 IUSE=""
20
21 DEPEND=""
22 RDEPEND="!sys-apps/eject"
23
24 S="${WORKDIR}/${MY_P}"
25
26 src_unpack() {
27 unpack ${A}
28 cd ${S}
29
30 epatch ${FILESDIR}/${P}-manpage.patch
31 epatch ${FILESDIR}/${P}-devname.patch
32 }
33
34 src_compile() {
35 unalias make
36
37 /usr/bin/make PREFIX="/usr" eject
38 }
39
40 src_install() {
41 dobin ${S}/eject
42 doman ${S}/eject.1
43 dodoc ${S}/README
44 }
45

Properties

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

  ViewVC Help
Powered by ViewVC 1.1.20