Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
View | Details | Raw Unified | Return to bug 440356
Collapse All | Expand All

(-)/usr/portage/dev-util/aap/aap-1.091.ebuild (-22 / +12 lines)
Lines 2-7 Link Here
2
# Distributed under the terms of the GNU General Public License v2
2
# Distributed under the terms of the GNU General Public License v2
3
# $Header: /var/cvsroot/gentoo-x86/dev-util/aap/aap-1.091.ebuild,v 1.1 2009/09/12 01:40:42 patrick Exp $
3
# $Header: /var/cvsroot/gentoo-x86/dev-util/aap/aap-1.091.ebuild,v 1.1 2009/09/12 01:40:42 patrick Exp $
4
4
5
EAPI=4
6
5
IUSE="doc"
7
IUSE="doc"
6
8
7
DESCRIPTION="Bram Moolenaar's super-make program"
9
DESCRIPTION="Bram Moolenaar's super-make program"
Lines 9-44 Link Here
9
SRC_URI="mirror://sourceforge/a-a-p/${P}.zip"
11
SRC_URI="mirror://sourceforge/a-a-p/${P}.zip"
10
LICENSE="GPL-2"
12
LICENSE="GPL-2"
11
SLOT="0"
13
SLOT="0"
12
KEYWORDS="~alpha ~amd64 ~ia64 ~mips ~ppc ~sparc ~x86"
14
KEYWORDS="~alpha ~amd64 ~ia64 ~mips ~ppc ~sparc ~x86 ~amd64-linux ~x86-linux ~ppc-macos"
13
DEPEND="app-arch/unzip"
15
DEPEND="app-arch/unzip"
14
RDEPEND=">=dev-lang/python-1.5"
16
RDEPEND="dev-lang/python"
15
S=${WORKDIR}/${PN}
17
S=${WORKDIR}
16
17
src_unpack() {
18
	mkdir "${S}" && cd "${S}" && unzip -q "${DISTDIR}"/${A} || die
19
}
20
18
21
src_install() {
19
src_install() {
22
	rm doc/*.sgml
20
	rm doc/*.sgml doc/*.pdf || die
23
	rm doc/*.pdf
21
	use doc && dohtml -r doc/*.html doc/images
24
22
	rm -r doc/*.html doc/images || die
25
	if use doc ; then
26
		dodir /usr/share/doc/${PF}/html
27
		cp -R doc/* "${D}"/usr/share/doc/${PF}/html
28
	fi
29
	rm doc/*.html
30
	rm -fr doc/images
31
23
32
	dodoc doc/*
24
	dodoc doc/*
33
	doman aap.1
25
	doman aap.1
34
	rm -rf doc aap.1
26
	rm -r doc aap.1 || die
35
27
36
	# Move the remainder directly into the dest tree
28
	# Move the remainder directly into the dest tree
37
	dodir /usr/share
29
	dodir /usr/share/aap
38
	cd "${WORKDIR}"
30
	cp -R * "${ED}"/usr/share/aap || die
39
	mv aap "${D}"/usr/share
40
31
41
	# Create a symbolic link for the executable
32
	# Create a symbolic link for the executable
42
	dodir /usr/bin
33
	dosym ../share/aap/aap /usr/bin/aap
43
	ln -s ../share/aap/aap "${D}"/usr/bin/aap
44
}
34
}

Return to bug 440356