summaryrefslogtreecommitdiff
blob: 69540e66a95529581e24e3905591c9ad5261fc07 (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
39
40
41
42
43
44
45
# Copyright 1999-2004 Gentoo Foundation
# Distributed under the terms of the GNU General Public License v2
# $Header: /var/cvsroot/gentoo-x86/dev-util/dmake/dmake-4.1-r1.ebuild,v 1.12 2004/07/14 23:19:57 agriffis Exp $

DESCRIPTION="Improved make"
SRC_URI="http://plg.uwaterloo.ca/~ftp/dmake/dmake-v4.1-src-export.all-unknown-all.tar.gz"
HOMEPAGE="http://www.scri.fsu.edu/~dwyer/dmake.html"

SLOT="0"
LICENSE="GPL-1"
KEYWORDS="x86 sparc "
IUSE=""

DEPEND="sys-apps/groff"

src_unpack() {

	cd ${WORKDIR}
	unpack dmake-v4.1-src-export.all-unknown-all.tar.gz

	mv dmake ${P}

	cd ${S}

	patch -p1 < ${FILESDIR}/${PF}.diff || die
}

src_compile() {

	sh unix/linux/gnu/make.sh
	cp man/dmake.tf man/dmake.1

}

src_install () {

	into /usr

	doman man/dmake.1
	dobin dmake

	insinto /usr/share/dmake/startup
	doins startup/{startup.mk,config.mk} startup/unix

}