Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
View | Details | Raw Unified | Return to bug 194604 | Differences between
and this patch

Collapse All | Expand All

(-)mozart-1.3.2.ebuild (-7 / +9 lines)
Lines 2-8 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-lang/mozart/mozart-1.3.2.ebuild,v 1.5 2007/02/17 20:48:41 keri Exp $
3
# $Header: /var/cvsroot/gentoo-x86/dev-lang/mozart/mozart-1.3.2.ebuild,v 1.5 2007/02/17 20:48:41 keri Exp $
4
4
5
inherit eutils
5
inherit elisp-common eutils
6
6
7
MY_P="mozart-${PV}.20060615"
7
MY_P="mozart-${PV}.20060615"
8
8
Lines 21-32 Link Here
21
	sys-devel/bison
21
	sys-devel/bison
22
	sys-devel/flex
22
	sys-devel/flex
23
	sys-libs/zlib
23
	sys-libs/zlib
24
	emacs? ( virtual/emacs )
24
	gdbm? ( sys-libs/gdbm  )
25
	gdbm? ( sys-libs/gdbm  )
25
	tcl? ( tk? (
26
	tcl? ( tk? (
26
			dev-lang/tk
27
			dev-lang/tk
27
			dev-lang/tcl ) )"
28
			dev-lang/tcl ) )"
28
RDEPEND="${DEPEND}"
29
RDEPEND="${DEPEND}"
29
30
31
SITEFILE=50${PN}-gentoo.el
32
30
S="${WORKDIR}"/${MY_P}
33
S="${WORKDIR}"/${MY_P}
31
34
32
src_unpack() {
35
src_unpack() {
Lines 46-57 Link Here
46
			--without-global-oz \
49
			--without-global-oz \
47
			--enable-opt=none"
50
			--enable-opt=none"
48
51
49
	if use emacs ; then
50
		myconf="${myconf} --enable-compile-elisp"
51
	else
52
		myconf="${myconf} --disable-compile-elisp"
53
	fi
54
55
	if use tcl && use tk ; then
52
	if use tcl && use tk ; then
56
		myconf="${myconf} --enable-wish"
53
		myconf="${myconf} --enable-wish"
57
	else
54
	else
Lines 76-81 Link Here
76
		--disable-doc \
73
		--disable-doc \
77
		$(use_enable doc contrib-doc) \
74
		$(use_enable doc contrib-doc) \
78
		$(use_enable gdbm contrib-gdbm) \
75
		$(use_enable gdbm contrib-gdbm) \
76
		$(use_enable emacs compile-elisp) \
79
		$(use_enable static link-static) \
77
		$(use_enable static link-static) \
80
		$(use_enable threads threaded) \
78
		$(use_enable threads threaded) \
81
		|| die "econf failed"
79
		|| die "econf failed"
Lines 87-94 Link Here
87
	emake -j1 \
85
	emake -j1 \
88
		PREFIX="${D}"/usr/lib/mozart \
86
		PREFIX="${D}"/usr/lib/mozart \
89
		BINDIR="${D}"/usr/bin \
87
		BINDIR="${D}"/usr/bin \
88
		ELISPDIR="${D}${SITELISP}/${PN}" \
90
		install || die "emake install failed"
89
		install || die "emake install failed"
91
90
91
	elisp-site-file-install "${FILESDIR}/${SITEFILE}" \
92
		|| die "elisp-site-file-install failed"
93
92
	if use doc ; then
94
	if use doc ; then
93
		dohtml -r "${WORKDIR}"/mozart/doc/*
95
		dohtml -r "${WORKDIR}"/mozart/doc/*
94
	fi
96
	fi

Return to bug 194604