diff options
author | Vadim Kuznetsov <vadim.kuznetsov@gmail.com> | 2009-01-19 14:27:16 -0500 |
---|---|---|
committer | Vadim Kuznetsov <vadim.kuznetsov@gmail.com> | 2009-01-19 14:27:16 -0500 |
commit | dd6692ae5d5cdd3e6e32787485dd8c7ec1a65d6d (patch) | |
tree | f49a64dc56daebe21ee74c78323c62f7d8a6c1ba /app-text | |
parent | dev-lisp/clisp-9999: small change (diff) | |
download | lisp-dd6692ae5d5cdd3e6e32787485dd8c7ec1a65d6d.tar.gz lisp-dd6692ae5d5cdd3e6e32787485dd8c7ec1a65d6d.tar.bz2 lisp-dd6692ae5d5cdd3e6e32787485dd8c7ec1a65d6d.zip |
Skribilo
new file: app-text/lout/Manifest
new file: app-text/lout/lout-3.38.ebuild
new file: app-text/skribilo/Manifest
new file: app-text/skribilo/skribilo-0.9.1.ebuild
new file: dev-scheme/guile-reader/Manifest
new file: dev-scheme/guile-reader/guile-reader-0.6.ebuild
Diffstat (limited to 'app-text')
-rw-r--r-- | app-text/lout/Manifest | 2 | ||||
-rw-r--r-- | app-text/lout/lout-3.38.ebuild | 77 | ||||
-rw-r--r-- | app-text/skribilo/Manifest | 2 | ||||
-rw-r--r-- | app-text/skribilo/skribilo-0.9.1.ebuild | 41 |
4 files changed, 122 insertions, 0 deletions
diff --git a/app-text/lout/Manifest b/app-text/lout/Manifest new file mode 100644 index 00000000..005a6f7e --- /dev/null +++ b/app-text/lout/Manifest @@ -0,0 +1,2 @@ +DIST lout-3.38.tar.gz 2147395 RMD160 8835b223f67b383bdbb1d4105a28e002745d4dbb SHA1 2c4aec500dc27a00298f8265b9249d74d97e5466 SHA256 6a2adc64a8b4a81ed39893328778da284a6ab0da3e5e20f678425f2d53dad80a +EBUILD lout-3.38.ebuild 1932 RMD160 fbbc29cacea00da75cb46371bc791b2c43fcd170 SHA1 9d6c112b7bf450ba07a4c0669129e5ed467b3836 SHA256 a9904a4a185bc8e4693af362f83df0d224638f8d4c6b8a2729412572feee3431 diff --git a/app-text/lout/lout-3.38.ebuild b/app-text/lout/lout-3.38.ebuild new file mode 100644 index 00000000..ae6522db --- /dev/null +++ b/app-text/lout/lout-3.38.ebuild @@ -0,0 +1,77 @@ +# Copyright 1999-2008 Gentoo Foundation +# Distributed under the terms of the GNU General Public License v2 +# $Header: /var/cvsroot/gentoo-x86/app-text/lout/lout-3.31.ebuild,v 1.2 2008/01/22 21:32:11 grobian Exp $ + +IUSE="zlib doc" + +DESCRIPTION="high-level language for document formatting" +HOMEPAGE="http://lout.sourceforge.net/" +SRC_URI="mirror://sourceforge/lout/${P}.tar.gz" + +LICENSE="GPL-2" +SLOT="0" +KEYWORDS="~amd64 ~ppc ~sparc ~x86" + +DEPEND="zlib? ( >=sys-libs/zlib-1.1.4 )" + +src_compile() { + local myconf + use zlib && myconf="$myconf PDF_COMPRESSION=1 ZLIB=-lz" + emake \ + BINDIR=/usr/bin \ + LOUTLIBDIR=/usr/share/lout \ + LOUTDOCDIR=/usr/share/doc/${P} \ + MANDIR=/usr/share/man/man1 \ + ${myconf} lout prg2lout || die "emake prg2lout lout failed" +} + +compile_doc() { + # + # SYNOPSIS: compile_doc file times + # + + einfo "${1}:" + # yes, it *is* necessary to run this 6 times... + for i in $(seq 1 $(expr $2 - 1)) ; do + einfo " pass $i" + lout all -o ${docdir}/$1 -e /dev/null + done + # in the last one, let errors be reported + einfo " final pass" + lout all -o ${docdir}/$1 || die "final pass failed" +} + +src_install() { + local bindir libdir docdir mandir + bindir=${D}/usr/bin + libdir=${D}/usr/share/lout + docdir=${D}/usr/share/doc/${P} + mandir=${D}/usr/share/man/man1 + export LOUTLIB=${libdir} + export PATH="${bindir}:${PATH}" + + mkdir -p ${bindir} ${docdir} ${mandir} + + make BINDIR=${bindir} \ + LOUTLIBDIR=${libdir} \ + LOUTDOCDIR=${docdir} \ + MANDIR=${mandir} \ + install installdoc installman || die "make install failed" + + lout -x -s ${D}/usr/share/lout/include/init || die "lout init failed" + + mv ${docdir}/README{,.docs} + dodoc README READMEPDF blurb blurb.short whatsnew + + if use doc ; then + einfo "building postscript documentation (may take a while)" + cd doc/user + compile_doc user.ps 6 + cd ../design + compile_doc design.ps 3 + cd ../expert + compile_doc expert.ps 4 + cd ../slides + compile_doc slides.ps 2 + fi +} diff --git a/app-text/skribilo/Manifest b/app-text/skribilo/Manifest new file mode 100644 index 00000000..c3c2caec --- /dev/null +++ b/app-text/skribilo/Manifest @@ -0,0 +1,2 @@ +DIST skribilo-0.9.1.tar.gz 488591 RMD160 c1b2f0330f89ee2d28a295251b2f9ad0fe8185c9 SHA1 fe9fc92273b5fbdab220d50b6309f3d96b4b50f1 SHA256 79731fc63abe0a537d19f4a5a3b7016249fc4cc2c057c288155eb2b95cc59b07 +EBUILD skribilo-0.9.1.ebuild 851 RMD160 9ed7ec576d0444a26d8c9a3a98cc393b8cd52de5 SHA1 ba5931e22e8387353445aa1b9fc9eab1ac178a66 SHA256 3311a7f65c469ae02b4694e92ee747efdce8bbd497b2c65b767c5fb5f928ec79 diff --git a/app-text/skribilo/skribilo-0.9.1.ebuild b/app-text/skribilo/skribilo-0.9.1.ebuild new file mode 100644 index 00000000..15b9459e --- /dev/null +++ b/app-text/skribilo/skribilo-0.9.1.ebuild @@ -0,0 +1,41 @@ +# Copyright 1999-2009 Gentoo Foundation +# Distributed under the terms of the GNU General Public License v2 +# $Header: $ + +inherit autotools eutils git + +DESCRIPTION="Skribilo is a free document production tool." +HOMEPAGE="http://www.nongnu.org/skribilo/" +SRC_URI="http://savannah.inetbridge.net/${PN}/${P}.tar.gz" +#EGIT_REPO_URI="git://git.sv.gnu.org/skribilo.git" +LICENSE="GPL-2" +SLOT="0" +KEYWORDS="~amd64 ~x86" + +IUSE="" + +DEPEND="\ + >=dev-scheme/guile-1.8 + >=dev-scheme/guile-reader-0.3 + >=app-text/lout-3.36 + media-libs/ploticus" + +RDEPEND="${DEPEND}" + +#S="${WORKDIR}/${P}" + +src_unpack() { +# git_src_unpack +# eautoreconf -i + unpack ${A} + cd ${S} +} + +src_compile() { + econf --with-guilemoduledir=/usr/share/guile/site || die "econf failed" + emake -j1 || die "emake failed" +} + +src_install() { + emake DESTDIR="${D}" install || die "emake install failed" +} |