summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorDiego Elio Pettenò <flameeyes@gentoo.org>2006-05-22 23:35:18 +0000
committerDiego Elio Pettenò <flameeyes@gentoo.org>2006-05-22 23:35:18 +0000
commita41311b0c6d4a43f4edaaa8681a303f625574230 (patch)
tree7376665332815f683730354edb1bf25128a87f5b /sys-block/eject-bsd/eject-bsd-1.5.ebuild
parentFix duplication of dnstouch, and move binaries to bin, as they are suitable f... (diff)
downloadgentoo-2-a41311b0c6d4a43f4edaaa8681a303f625574230.tar.gz
gentoo-2-a41311b0c6d4a43f4edaaa8681a303f625574230.tar.bz2
gentoo-2-a41311b0c6d4a43f4edaaa8681a303f625574230.zip
Initial import from gentoo-alt overlay.
(Portage version: 2.1_rc2)
Diffstat (limited to 'sys-block/eject-bsd/eject-bsd-1.5.ebuild')
-rw-r--r--sys-block/eject-bsd/eject-bsd-1.5.ebuild44
1 files changed, 44 insertions, 0 deletions
diff --git a/sys-block/eject-bsd/eject-bsd-1.5.ebuild b/sys-block/eject-bsd/eject-bsd-1.5.ebuild
new file mode 100644
index 000000000000..d5c7811c0289
--- /dev/null
+++ b/sys-block/eject-bsd/eject-bsd-1.5.ebuild
@@ -0,0 +1,44 @@
+# Copyright 1999-2006 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+# $Header: /var/cvsroot/gentoo-x86/sys-block/eject-bsd/eject-bsd-1.5.ebuild,v 1.1 2006/05/22 23:35:18 flameeyes Exp $
+
+inherit eutils portability toolchain-funcs
+
+MY_P="eject-${PV}"
+
+DESCRIPTION="eject command for FreeBSD systems"
+HOMEPAGE="http://www.freshports.org/sysutils/eject/"
+SRC_URI="ftp://ports.jp.FreeBSD.org/pub/FreeBSD-jp/OD/${MY_P}.tar.gz
+ ftp://ftp4.jp.FreeBSD.org/pub/FreeBSD-jp/OD/${MY_P}.tar.gz
+ ftp://ftp.ics.es.osaka-u.ac.jp/pub/mirrors/FreeBSD-jp/OD/${MY_P}.tar.gz
+ ftp://ftp.FreeBSD.org/pub/FreeBSD/ports/distfiles/${MY_P}.tar.gz"
+
+LICENSE="BSD"
+SLOT="0"
+KEYWORDS="~x86-fbsd"
+IUSE=""
+
+DEPEND=""
+RDEPEND="!sys-apps/eject"
+PROVIDE="virtual/eject"
+
+S="${WORKDIR}/${MY_P}"
+
+src_unpack() {
+ unpack ${A}
+ cd ${S}
+
+ epatch "${FILESDIR}/${P}-manpage.patch"
+ epatch "${FILESDIR}/${P}-devname.patch"
+}
+
+src_compile() {
+ $(get_bmake) CC="$(tc-getCC)" PREFIX="/usr" eject || die "$(get_bmake) failed"
+}
+
+src_install() {
+ dobin ${S}/eject
+ doman ${S}/eject.1
+ dodoc ${S}/README
+}
+