aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorChristoph Junghans <kleiner_otti@gmx.de>2009-11-14 14:27:01 +0100
committerChristoph Junghans <kleiner_otti@gmx.de>2009-11-14 14:27:01 +0100
commitc1efbee6eac7ad524e2b344e629d4203e53e3d85 (patch)
tree99b0f5e0b5666870bcce6d79b82fcfd2a2eed6cf /app-text
parentsci-chemistry/gromacs fix for bug #284431 (diff)
downloadsci-c1efbee6eac7ad524e2b344e629d4203e53e3d85.tar.gz
sci-c1efbee6eac7ad524e2b344e629d4203e53e3d85.tar.bz2
sci-c1efbee6eac7ad524e2b344e629d4203e53e3d85.zip
app-text/txt2tags-2.5 added to fix bug #278317
(Portage version: 2.1.6.13/git/Linux i686) (Signed Manifest commit)
Diffstat (limited to 'app-text')
-rw-r--r--app-text/txt2tags/ChangeLog10
-rw-r--r--app-text/txt2tags/Manifest14
-rw-r--r--app-text/txt2tags/metadata.xml9
-rw-r--r--app-text/txt2tags/txt2tags-2.5.ebuild88
4 files changed, 121 insertions, 0 deletions
diff --git a/app-text/txt2tags/ChangeLog b/app-text/txt2tags/ChangeLog
new file mode 100644
index 000000000..5deecf88c
--- /dev/null
+++ b/app-text/txt2tags/ChangeLog
@@ -0,0 +1,10 @@
+# ChangeLog for app-text/txt2tags
+# Copyright 1999-2009 Gentoo Foundation; Distributed under the GPL v2
+# $Header: $
+
+*txt2tags-2.5 (14 Nov 2009)
+
+ 14 Nov 2009; Christoph Junghans <kleiner_otti@gmx.de>
+ +txt2tags-2.5.ebuild, +Changelog, +metadata.xml:
+ fixed bug #278317
+
diff --git a/app-text/txt2tags/Manifest b/app-text/txt2tags/Manifest
new file mode 100644
index 000000000..94af0d959
--- /dev/null
+++ b/app-text/txt2tags/Manifest
@@ -0,0 +1,14 @@
+-----BEGIN PGP SIGNED MESSAGE-----
+Hash: SHA1
+
+DIST txt2tags-2.5.tgz 549169 RMD160 302541aed5fabc3c6d8a8fc9bba4681e24912328 SHA1 95f472b58b26b591670a931787a25a8ef2a33682 SHA256 af980d228d546cf227def5438c731d688a9e7f92f64abd6dee316962bcc6240e
+EBUILD txt2tags-2.5.ebuild 1960 RMD160 0cab618899939f79ea78180bc6f7b8d1718eae5d SHA1 1205d1be1c441826738a622f14444857ecfb03c3 SHA256 fde53723dc5d8161368a01d14bf824ac4a49d48281cfe919f60c0eb25c4c4857
+MISC ChangeLog 275 RMD160 a673ed4f95240d22aaa44ff2f7f50eb5143084c3 SHA1 98321eb614c2d1dd9f1357402a063bc5073508e0 SHA256 cae13f0b02a3d66fd599e476f3e666669fa1a6953f403c15155b28bc2844c215
+MISC metadata.xml 255 RMD160 6432606362fcf39923ba535c5a1898e6d00e61cb SHA1 3c4d694edaa895cc2dfa143fdbefbbeacca457da SHA256 9ef20d4707fa608d36cea78fe9642bd90ec8b617524555aaf12428483fa4c6c1
+-----BEGIN PGP SIGNATURE-----
+Version: GnuPG v2.0.11 (GNU/Linux)
+
+iEYEARECAAYFAkr+sCUACgkQy0OE/ans1/lycwCfRG1Pp4kh6YPEshxdi1/TB1vR
+kP8AmgMifb8M/uz0/E4mcaOxbNkwFiKV
+=i28h
+-----END PGP SIGNATURE-----
diff --git a/app-text/txt2tags/metadata.xml b/app-text/txt2tags/metadata.xml
new file mode 100644
index 000000000..2df7bd914
--- /dev/null
+++ b/app-text/txt2tags/metadata.xml
@@ -0,0 +1,9 @@
+<?xml version="1.0" encoding="UTF-8"?>
+<!DOCTYPE pkgmetadata SYSTEM "http://www.gentoo.org/dtd/metadata.dtd">
+<pkgmetadata>
+<herd>sgml</herd>
+<maintainer>
+ <email>kleiner_otti@gmx.de</email>
+ <name>Christoph Junghans</name>
+</maintainer>
+</pkgmetadata>
diff --git a/app-text/txt2tags/txt2tags-2.5.ebuild b/app-text/txt2tags/txt2tags-2.5.ebuild
new file mode 100644
index 000000000..137580e66
--- /dev/null
+++ b/app-text/txt2tags/txt2tags-2.5.ebuild
@@ -0,0 +1,88 @@
+# Copyright 1999-2009 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+# $Header: /var/cvsroot/gentoo-x86/app-text/txt2tags/txt2tags-2.5.ebuild,v 1.3 2009/08/15 21:58:22 betelgeuse Exp $
+
+EAPI="2"
+PYTHON_USE_WITH="tk"
+PYTHON_USE_WITH_OPT="tk"
+
+inherit eutils elisp-common python
+
+DESCRIPTION="A tool for generating marked up documents (HTML, SGML, ...) from a plain text file with markup"
+HOMEPAGE="http://txt2tags.sourceforge.net/"
+SRC_URI="mirror://sourceforge/txt2tags/${P}.tgz"
+
+LICENSE="GPL-2"
+SLOT="0"
+KEYWORDS="~amd64 ~ppc ~ppc64 ~sparc ~x86"
+IUSE="emacs tk vim-syntax"
+
+DEPEND="virtual/python
+ tk? ( dev-lang/tk )
+ vim-syntax? (
+ || (
+ app-editors/vim
+ app-editors/gvim
+ )
+ )
+ emacs? ( virtual/emacs )"
+
+RDEPEND="${DEPEND}"
+
+SITEFILE="51${PN}-gentoo.el"
+
+src_compile() {
+ if use emacs; then
+ elisp-compile extras/txt2tags-mode.el || die "elisp-compile failed"
+ fi
+}
+
+src_install() {
+ dobin txt2tags
+
+ dodoc README TODO ChangeLog*
+ insinto /usr/share/doc/${PF}
+ doins doc/*.{pdf,t2t}
+ # samples go into "samples" doc directory
+ docinto samples
+ dodoc samples/sample.*
+ docinto samples/css
+ dodoc samples/css/*
+ docinto samples/img
+ dodoc samples/img/*
+ docinto samples/module
+ dodoc samples/module/*
+ # extras go into "extras" doc directory
+ docinto extras
+ dodoc extras/*
+ newman doc/manpage.man txt2tags.1
+
+ # make .po files
+ for pofile in "${S}"/po/*.po; do
+ msgfmt -o ${pofile%%.po}.mo ${pofile}
+ done
+ domo po/*.mo
+
+ # emacs support
+ if use emacs; then
+ elisp-install ${PN} extras/txt2tags-mode.{el,elc}
+ elisp-site-file-install "${FILESDIR}/${SITEFILE}"
+ fi
+
+ if use vim-syntax; then
+ insinto /usr/share/vim/vimfiles/syntax/
+ doins extras/txt2tags.vim
+
+ echo 'au BufNewFile,BufRead *.t2t set ft=txt2tags' > "${T}/${PN}.vim"
+ insinto /usr/share/vim/vimfiles/ftdetect
+ doins "${T}/${PN}.vim"
+ fi
+}
+
+pkg_postinst() {
+ use emacs && elisp-site-regen
+}
+
+pkg_postrm() {
+ use emacs && elisp-site-regen
+}