Lines 4-19
Link Here
|
4 |
|
4 |
|
5 |
inherit elisp-common |
5 |
inherit elisp-common |
6 |
|
6 |
|
7 |
IUSE="emacs tk" |
7 |
DESCRIPTION="A tool for generating marked up documents (HTML, SGML, ...) from a plain text file with markup" |
8 |
|
|
|
9 |
DESCRIPTION="Txt2tags is a tool for generating marked up documents (HTML, SGML, ...) from a plain text file with markup." |
10 |
SRC_URI="http://txt2tags.sourceforge.net/src/${P}.tgz" |
11 |
HOMEPAGE="http://txt2tags.sourceforge.net/" |
8 |
HOMEPAGE="http://txt2tags.sourceforge.net/" |
|
|
9 |
SRC_URI="mirror://sourceforge/txt2tags/${P}.tgz" |
12 |
|
10 |
|
13 |
LICENSE="GPL-2" |
11 |
LICENSE="GPL-2" |
14 |
|
|
|
15 |
SLOT="0" |
12 |
SLOT="0" |
16 |
KEYWORDS="~amd64 ~ppc ~ppc-macos ~sparc ~x86" |
13 |
KEYWORDS="~amd64 ~ppc ~ppc-macos ~sparc ~x86" |
|
|
14 |
IUSE="emacs tk" |
15 |
|
17 |
DEPEND="virtual/python |
16 |
DEPEND="virtual/python |
18 |
tk? ( dev-lang/tk ) |
17 |
tk? ( dev-lang/tk ) |
19 |
emacs? ( virtual/emacs )" |
18 |
emacs? ( virtual/emacs )" |
Lines 35-45
Link Here
|
35 |
|
34 |
|
36 |
src_compile() { |
35 |
src_compile() { |
37 |
if use emacs; then |
36 |
if use emacs; then |
38 |
elisp-comp extras/txt2tags-mode.el |
37 |
elisp-compile extras/txt2tags-mode.el || die "elisp-compile failed" |
39 |
fi |
38 |
fi |
40 |
} |
39 |
} |
41 |
|
40 |
|
42 |
SITEFILE="50${PN}-gentoo.el" |
41 |
SITEFILE="51${PN}-gentoo.el" |
43 |
|
42 |
|
44 |
src_install() { |
43 |
src_install() { |
45 |
dobin txt2tags |
44 |
dobin txt2tags |
Lines 63-70
Link Here
|
63 |
|
62 |
|
64 |
# emacs support |
63 |
# emacs support |
65 |
if use emacs; then |
64 |
if use emacs; then |
66 |
elisp-install ${PN} extras/txt2tags-mode.el |
65 |
elisp-install ${PN} extras/txt2tags-mode.{el,elc} |
67 |
elisp-site-file-install ${FILESDIR}/${SITEFILE} |
66 |
elisp-site-file-install "${FILESDIR}/${SITEFILE}" |
68 |
fi |
67 |
fi |
69 |
} |
68 |
} |
70 |
|
69 |
|