blob: 83c5994889432401748bc01d4e099a60678de991 (
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
|
# Copyright 1999-2017 Gentoo Foundation
# Distributed under the terms of the GNU General Public License v2
EAPI=6
DESCRIPTION="Website Pre-processor"
HOMEPAGE="http://www.wsmake.org/"
SRC_URI="http://ftp.wsmake.org/pub/wsmake6/stable/${P}.tar.bz2"
LICENSE="GPL-2 Artistic"
SLOT="0"
KEYWORDS="x86"
IUSE="examples"
PATCHES=(
"${FILESDIR}"/${P}-bv.diff
"${FILESDIR}"/${P}-gcc43.patch # 251745
"${FILESDIR}"/${P}-fix-const-va_list.patch
)
src_unpack() {
default
cd "${S}"/doc || die
tar -cf examples.tar examples || die
}
src_install() {
default
dodoc doc/manual.txt
if use examples; then
rm -r doc/examples/CVS || die
dodoc -r doc/examples
docompress -x /usr/share/doc/${PF}/examples
fi
}
|