blob: 8832eddfa2883cbf6f7289a05b29f85df5694272 (
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
|
# Copyright 1999-2004 Gentoo Foundation
# Distributed under the terms of the GNU General Public License v2
# $Header: /var/cvsroot/gentoo-x86/net-misc/hsc/hsc-0.929.ebuild,v 1.4 2004/07/01 21:08:26 squinky86 Exp $
DESCRIPTION="An HTML preprocessor using ML syntax"
HOMEPAGE="http://www.linguistik.uni-erlangen.de/~msbethke/software.html"
SRC_URI="http://www.linguistik.uni-erlangen.de/~msbethke/binaries/${P}.tar.bz2"
LICENSE="GPL-2"
SLOT="0"
KEYWORDS="x86"
IUSE=""
DEPEND="virtual/libc"
src_unpack() {
unpack ${A}
cd ${S}
gzcat ${FILESDIR}/Makefile.${PF}.patch.gz|patch -p1 Makefile || die "patch failed"
}
src_compile() {
#The patch ensures this line works.
make || die
}
src_install() {
dodir /usr/bin
dodir /usr/lib
dodir /usr/share
#This makefile uses INSTDIR instead of DESTDIR
make INSTDIR=${D}/usr/ install || die
}
pkg_postinst() {
einfo Documentation and examples for HSC are available in
einfo /usr/share/doc/${P}/
}
|