blob: b1b992a67fcb57076fae02bdb8d450818d050da2 (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
|
# Copyright 1999-2006 Gentoo Foundation
# Distributed under the terms of the GNU General Public License v2
# $Header: /var/cvsroot/gentoo-x86/net-fs/smbfs/smbfs-1.4.5.ebuild,v 1.2 2006/05/23 16:53:39 flameeyes Exp $
inherit bsdmk eutils
DESCRIPTION="Mount SMB/CIFS share on FreeBSD and derived"
HOMEPAGE="https://sourceforge.net/projects/smbfs"
SRC_URI="mirror://sourceforge/${PN}/${P}.tar.gz"
LICENSE="BSD"
SLOT="0"
KEYWORDS="~x86-fbsd"
IUSE=""
DEPEND="dev-libs/libiconv"
pkg_setup() {
mymakeopts="${mymakeopts} COMPLETEBUILD="
}
src_unpack() {
unpack ${A}
cd "${S}"
epatch "${FILESDIR}/${P}-freebsd5.patch"
epatch "${FILESDIR}/${P}-gentoo.patch"
}
src_compile() {
mkmake configure || die "mkmake configure failed"
mkmake || die "mkmake failed"
}
src_install() {
mkinstall DESTDIR="${D}/usr/" PREFIX="" || die "mkinstall failed"
}
|