summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorTilman Klar <phoenix@gentoo.org>2002-07-11 06:46:28 +0000
committerTilman Klar <phoenix@gentoo.org>2002-07-11 06:46:28 +0000
commitbb71ab41da220d790c894e35509c67c64a9a756b (patch)
tree6732a4038faeb2e87149af48b889ff832a17bf3b /app-text
parentghostscripty (diff)
downloadhistorical-bb71ab41da220d790c894e35509c67c64a9a756b.tar.gz
historical-bb71ab41da220d790c894e35509c67c64a9a756b.tar.bz2
historical-bb71ab41da220d790c894e35509c67c64a9a756b.zip
New package added.
Diffstat (limited to 'app-text')
-rw-r--r--app-text/lout/ChangeLog24
-rw-r--r--app-text/lout/files/digest-lout-3.25-r11
-rw-r--r--app-text/lout/files/lout-3.25-r1-makefile-gentoo.patch238
-rw-r--r--app-text/lout/lout-3.25-r1.ebuild71
4 files changed, 334 insertions, 0 deletions
diff --git a/app-text/lout/ChangeLog b/app-text/lout/ChangeLog
new file mode 100644
index 000000000000..4f19f809645d
--- /dev/null
+++ b/app-text/lout/ChangeLog
@@ -0,0 +1,24 @@
+# ChangeLog for app-text/lout
+# Copyright 2002 Gentoo Technologies, Inc.; Distributed under the GPL v2
+# $Header: /var/cvsroot/gentoo-x86/app-text/lout/ChangeLog,v 1.1 2002/07/11 06:46:28 phoenix Exp $
+
+*lout-3.25-r1 (11 July 2002)
+
+ 11 Jul 2002; phoen][x <phoenix@gentoo.org> ChangeLog, ytin-1.83.5.ebuild,
+ files/digest-lout-3.25-r1, files/lout-3.25-r1-makefile-gentoo.patch :
+
+ Initial cvs commit. Ebuild contributed by Christian V. J. Brüssow <cvjb@epost.de>.
+ Thanks for the contribution.
+
+ Authors comments:
+ Beware: the original lout sources don't have a configure script. So I
+ will patch the original makefile. The result should compile and install
+ at least on any i386 Gentoo Linux. I don't have any experience with (e.g.)
+ Sparc, PowerPC, ..., so YMMV.
+
+ Added initial ChangeLog which should be updated whenever the package is
+ updated in any way. This changelog is targetted to users. This means that the
+ comments should well explained and written in clean English. The details about
+ writing correct changelogs are explained in the skel.ChangeLog file which you
+ can find in the root directory of the portage repository.
+
diff --git a/app-text/lout/files/digest-lout-3.25-r1 b/app-text/lout/files/digest-lout-3.25-r1
new file mode 100644
index 000000000000..84d618aa097b
--- /dev/null
+++ b/app-text/lout/files/digest-lout-3.25-r1
@@ -0,0 +1 @@
+MD5 c5aa6ba32b3bb1cb6cc434ff3954f117 lout-3.25.tar.gz 1844546
diff --git a/app-text/lout/files/lout-3.25-r1-makefile-gentoo.patch b/app-text/lout/files/lout-3.25-r1-makefile-gentoo.patch
new file mode 100644
index 000000000000..c787c7852762
--- /dev/null
+++ b/app-text/lout/files/lout-3.25-r1-makefile-gentoo.patch
@@ -0,0 +1,238 @@
+--- makefile 2002-07-10 16:32:03.000000000 +0200
++++ makefile.new 2002-07-10 16:31:41.000000000 +0200
+@@ -2,6 +2,24 @@
+ # #
+ # Make file for installing Basser Lout Version 3.25 #
+ # #
++###############################################################################
++# #
++# Patched for Gentoo Linux ebuild by Christian V. J. Brüssow <cvjb@epost.de> #
++# #
++# WARNING: DO NOT USE THIS MAKE FILE FOR A NORMAL MAKE, ESPECIALLY A MAKE #
++# INSTALL! IT WILL NOT DO WHAT YOU EXPECT! IT RELIES HEAVILLY ON #
++# GENTOO LINUX' EMERGE/EBUILD SYSTEM TO FUNCTION PROPERLY! #
++# #
++# Don't blame the Lout author for errors or problems you may have, when #
++# using this patched make file! Instead write a mail to the guilty ;-) #
++# that is: cvjb@epost.de #
++# #
++# DISCLAIMER: I (Christian V. J. Brüssow) do not guarantee, that this file #
++# will not damage your system (software, hardware, data in any form). You #
++# will use it at your own risk. #
++# #
++###############################################################################
++# #
+ # Jeffrey H. Kingston #
+ # 24 Secember 2001 #
+ # #
+@@ -270,16 +288,16 @@
+ USESTAT = 1
+ SAFEDFT = 0
+
+-# DEBUGGING = 0
+-# TRACING =
++DEBUGGING = 0
++TRACING =
+
+-DEBUGGING = 1
+-TRACING = -g
++# DEBUGGING = 1
++# TRACING = -g
+
+-BINDIR = /usr/staff/jeff/bin
+-LIBDIR = /usr/staff/jeff/lout.lib
+-DOCDIR = /usr/staff/jeff/lout.doc
+-MANDIR = /usr/staff/jeff/lout.man
++BINDIR = /usr/bin
++LIBDIR = /usr/lib/lout
++DOCDIR = /usr/share/doc/lout-3.25-r1
++MANDIR = /usr/share/man/man1
+
+ LIBFONT = font
+ LIBMAPS = maps
+@@ -297,9 +315,9 @@
+
+ COLLATE = 1
+
+-PDF_COMPRESSION = 0
+-ZLIB =
+-ZLIBPATH =
++PDF_COMPRESSION = 1
++ZLIB = /usr/lib/libz.a
++ZLIBPATH = -I/usr/include/
+
+ CC = gcc
+
+@@ -353,92 +371,98 @@
+
+ install: lout prg2lout
+ @echo ""
+- @echo "(a) Installing lout and prg2lout binaries into BINDIR $(BINDIR)"
+- cp lout $(BINDIR)/lout
+- chmod 755 $(BINDIR)/lout
+- cp prg2lout $(BINDIR)/prg2lout
+- chmod 755 $(BINDIR)/prg2lout
+- @echo ""
+- @echo "(b) Installing library files into LIBDIR $(LIBDIR)"
+- mkdir $(LIBDIR)
+- chmod 755 $(LIBDIR)
+- @echo ""
+- mkdir $(LIBDIR)/$(LIBINCL)
+- chmod 755 $(LIBDIR)/$(LIBINCL)
+- cp include/* $(LIBDIR)/$(LIBINCL)
+- chmod 644 $(LIBDIR)/$(LIBINCL)/*
+- @echo ""
+- mkdir $(LIBDIR)/$(LIBDATA)
+- chmod 755 $(LIBDIR)/$(LIBDATA)
+- cp data/* $(LIBDIR)/$(LIBDATA)
+- chmod 644 $(LIBDIR)/$(LIBDATA)/*
+- @echo ""
+- mkdir $(LIBDIR)/$(LIBHYPH)
+- chmod 755 $(LIBDIR)/$(LIBHYPH)
+- cp hyph/* $(LIBDIR)/$(LIBHYPH)
+- chmod 644 $(LIBDIR)/$(LIBHYPH)/*
+- @echo ""
+- mkdir $(LIBDIR)/$(LIBFONT)
+- chmod 755 $(LIBDIR)/$(LIBFONT)
+- cp font/* $(LIBDIR)/$(LIBFONT)
+- chmod 644 $(LIBDIR)/$(LIBFONT)/*
+- @echo ""
+- mkdir $(LIBDIR)/$(LIBMAPS)
+- chmod 755 $(LIBDIR)/$(LIBMAPS)
+- cp maps/* $(LIBDIR)/$(LIBMAPS)
+- chmod 644 $(LIBDIR)/$(LIBMAPS)/*
+- @echo ""
+- mkdir $(LIBDIR)/$(LIBLOCA)
+- chmod 755 $(LIBDIR)/$(LIBLOCA)
+- @echo ""
+- @echo "(c) Initializing run (should be silent, no errors expected)"
+- $(BINDIR)/lout -x -s $(LIBDIR)/$(LIBINCL)/init
+- @echo ""
+- @echo "(d) Changing mode of files just created by initializing run"
+- chmod 644 $(LIBDIR)/$(LIBDATA)/*
+- chmod 644 $(LIBDIR)/$(LIBHYPH)/*
++ @echo "(a) Installing lout and prg2lout binaries into BINDIR $(DESTDIR)/$(BINDIR)"
++ strip lout
++ strip prg2lout
++ mkdir -p $(DESTDIR)/$(BINDIR)
++ cp lout $(DESTDIR)/$(BINDIR)/lout
++ chmod 755 $(DESTDIR)/$(BINDIR)/lout
++ cp prg2lout $(DESTDIR)/$(BINDIR)/prg2lout
++ chmod 755 $(DESTDIR)/$(BINDIR)/prg2lout
++ @echo ""
++ @echo "(b) Installing library files into LIBDIR $(DESTDIR)/$(LIBDIR)"
++ mkdir -p $(DESTDIR)/$(LIBDIR)
++ chmod 755 $(DESTDIR)/$(LIBDIR)
++ @echo ""
++ mkdir -p $(DESTDIR)/$(LIBDIR)/$(LIBINCL)
++ chmod 755 $(DESTDIR)/$(LIBDIR)/$(LIBINCL)
++ cp include/* $(DESTDIR)/$(LIBDIR)/$(LIBINCL)
++ chmod 644 $(DESTDIR)/$(LIBDIR)/$(LIBINCL)/*
++ @echo ""
++ mkdir -p $(DESTDIR)/$(LIBDIR)/$(LIBDATA)
++ chmod 755 $(DESTDIR)/$(LIBDIR)/$(LIBDATA)
++ cp data/* $(DESTDIR)/$(LIBDIR)/$(LIBDATA)
++ chmod 644 $(DESTDIR)/$(LIBDIR)/$(LIBDATA)/*
++ @echo ""
++ mkdir -p $(DESTDIR)/$(LIBDIR)/$(LIBHYPH)
++ chmod 755 $(DESTDIR)/$(LIBDIR)/$(LIBHYPH)
++ cp hyph/* $(DESTDIR)/$(LIBDIR)/$(LIBHYPH)
++ chmod 644 $(DESTDIR)/$(LIBDIR)/$(LIBHYPH)/*
++ @echo ""
++ mkdir -p $(DESTDIR)/$(LIBDIR)/$(LIBFONT)
++ chmod 755 $(DESTDIR)/$(LIBDIR)/$(LIBFONT)
++ cp font/* $(DESTDIR)/$(LIBDIR)/$(LIBFONT)
++ chmod 644 $(DESTDIR)/$(LIBDIR)/$(LIBFONT)/*
++ @echo ""
++ mkdir -p $(DESTDIR)/$(LIBDIR)/$(LIBMAPS)
++ chmod 755 $(DESTDIR)/$(LIBDIR)/$(LIBMAPS)
++ cp maps/* $(DESTDIR)/$(LIBDIR)/$(LIBMAPS)
++ chmod 644 $(DESTDIR)/$(LIBDIR)/$(LIBMAPS)/*
++ @echo ""
++ mkdir -p $(DESTDIR)/$(LIBDIR)/$(LIBLOCA)
++ chmod 755 $(DESTDIR)/$(LIBDIR)/$(LIBLOCA)
++# @echo ""
++# @echo "(c) Initializing run (should be silent, no errors expected)"
++# $(DESTDIR)/$(BINDIR)/lout -x -s $(DESTDIR)/$(LIBDIR)/$(LIBINCL)/init
++# @echo ""
++# @echo "(d) Changing mode of files just created by initializing run"
++# chmod 644 $(DESTDIR)/$(LIBDIR)/$(LIBDATA)/*
++# chmod 644 $(DESTDIR)/$(LIBDIR)/$(LIBHYPH)/*
+
+ installman:
+ @echo ""
+- @echo "Installing manual entries into MANDIR $(MANDIR)"
+- sed -e "s@<BINDIR>@$(BINDIR)@" -e "s@<LIBDIR>@$(LIBDIR)@" \
+- -e "s@<DOCDIR>@$(DOCDIR)@" -e "s@<MANDIR>@$(MANDIR)@" \
+- man/lout.1 > $(MANDIR)/lout.1
+- chmod 644 $(MANDIR)/lout.1
+- cp man/prg2lout.1 $(MANDIR)/prg2lout.1
+- chmod 644 $(MANDIR)/prg2lout.1
++ @echo "Installing manual entries into MANDIR $(DESTDIR)/$(MANDIR)"
++ mkdir -p $(DESTDIR)/$(MANDIR)
++ sed -e "s@<BINDIR>@$(DESTDIR)/$(BINDIR)@" -e "s@<LIBDIR>@$(DESTDIR)/$(LIBDIR)@" \
++ -e "s@<DOCDIR>@$(DESTDIR)/$(DOCDIR)@" -e "s@<MANDIR>@$(DESTDIR)/$(MANDIR)@" \
++ man/lout.1 > $(DESTDIR)/$(MANDIR)/lout.1
++ chmod 644 $(DESTDIR)/$(MANDIR)/lout.1
++ cp man/prg2lout.1 $(DESTDIR)/$(MANDIR)/prg2lout.1
++ chmod 644 $(DESTDIR)/$(MANDIR)/prg2lout.1
+
+ installdoc:
+ @echo ""
+- @echo "Creating DOCDIR $(DOCDIR) and copying documentation into it"
+- $(RCOPY) doc $(DOCDIR)
+- chmod 755 $(DOCDIR)
+- chmod 755 $(DOCDIR)/*
+- chmod 644 $(DOCDIR)/*/*
++ @echo "Creating DOCDIR $(DESTDIR)/$(DOCDIR) and copying documentation into it"
++ mkdir -p $(DESTDIR)/$(DOCDIR)
++ chmod 755 $(DESTDIR)/$(DOCDIR)
++ $(RCOPY) doc $(DESTDIR)/$(DOCDIR)
++ chmod 755 $(DESTDIR)/$(DOCDIR)/doc
++ chmod 755 $(DESTDIR)/$(DOCDIR)/doc/*
++ chmod 644 $(DESTDIR)/$(DOCDIR)/doc/README
+
+ installfr:
+ @echo ""
+- @echo "Putting French error messages into $(LIBDIR)/$(LIBLOCA)/$(LOC_FR)"
+- mkdir $(LIBDIR)/$(LIBLOCA)/$(LOC_FR)
+- chmod 755 $(LIBDIR)/$(LIBLOCA)/$(LOC_FR)
+- mkdir $(LIBDIR)/$(LIBLOCA)/$(LOC_FR)/LC_MESSAGES
+- chmod 755 $(LIBDIR)/$(LIBLOCA)/$(LOC_FR)/LC_MESSAGES
+- cp locale/msgs.fr $(LIBDIR)/$(LIBLOCA)/$(LOC_FR)/LC_MESSAGES/msgs.$(LOC_FR)
+- gencat $(LIBDIR)/$(LIBLOCA)/$(LOC_FR)/LC_MESSAGES/errors.$(LOC_FR) \
+- $(LIBDIR)/$(LIBLOCA)/$(LOC_FR)/LC_MESSAGES/msgs.$(LOC_FR)
+- chmod 644 $(LIBDIR)/$(LIBLOCA)/$(LOC_FR)/LC_MESSAGES/*
++ @echo "Putting French error messages into $(DESTDIR)/$(LIBDIR)/$(LIBLOCA)/$(LOC_FR)"
++ mkdir -p $(DESTDIR)/$(LIBDIR)/$(LIBLOCA)/$(LOC_FR)
++ chmod 755 $(DESTDIR)/$(LIBDIR)/$(LIBLOCA)/$(LOC_FR)
++ mkdir -p $(DESTDIR)/$(LIBDIR)/$(LIBLOCA)/$(LOC_FR)/LC_MESSAGES
++ chmod 755 $(DESTDIR)/$(LIBDIR)/$(LIBLOCA)/$(LOC_FR)/LC_MESSAGES
++ cp locale/msgs.fr $(DESTDIR)/$(LIBDIR)/$(LIBLOCA)/$(LOC_FR)/LC_MESSAGES/msgs.$(LOC_FR)
++ gencat $(DESTDIR)/$(LIBDIR)/$(LIBLOCA)/$(LOC_FR)/LC_MESSAGES/errors.$(LOC_FR) \
++ $(DESTDIR)/$(LIBDIR)/$(LIBLOCA)/$(LOC_FR)/LC_MESSAGES/msgs.$(LOC_FR)
++ chmod 644 $(DESTDIR)/$(LIBDIR)/$(LIBLOCA)/$(LOC_FR)/LC_MESSAGES/*
+
+ installde:
+ @echo ""
+- @echo "Putting German error messages into $(LIBDIR)/$(LIBLOCA)/$(LOC_DE)"
+- mkdir $(LIBDIR)/$(LIBLOCA)/$(LOC_DE)
+- chmod 755 $(LIBDIR)/$(LIBLOCA)/$(LOC_DE)
+- mkdir $(LIBDIR)/$(LIBLOCA)/$(LOC_DE)/LC_MESSAGES
+- chmod 755 $(LIBDIR)/$(LIBLOCA)/$(LOC_DE)/LC_MESSAGES
+- cp locale/msgs.de $(LIBDIR)/$(LIBLOCA)/$(LOC_DE)/LC_MESSAGES/msgs.$(LOC_DE)
+- gencat $(LIBDIR)/$(LIBLOCA)/$(LOC_DE)/LC_MESSAGES/errors.$(LOC_DE) \
+- $(LIBDIR)/$(LIBLOCA)/$(LOC_DE)/LC_MESSAGES/msgs.$(LOC_DE)
+- chmod 644 $(LIBDIR)/$(LIBLOCA)/$(LOC_DE)/LC_MESSAGES/*
++ @echo "Putting German error messages into $(DESTDIR)/$(LIBDIR)/$(LIBLOCA)/$(LOC_DE)"
++ mkdir -p $(DESTDIR)/$(LIBDIR)/$(LIBLOCA)/$(LOC_DE)
++ chmod 755 $(DESTDIR)/$(LIBDIR)/$(LIBLOCA)/$(LOC_DE)
++ mkdir -p $(DESTDIR)/$(LIBDIR)/$(LIBLOCA)/$(LOC_DE)/LC_MESSAGES
++ chmod 755 $(DESTDIR)/$(LIBDIR)/$(LIBLOCA)/$(LOC_DE)/LC_MESSAGES
++ cp locale/msgs.de $(DESTDIR)/$(LIBDIR)/$(LIBLOCA)/$(LOC_DE)/LC_MESSAGES/msgs.$(LOC_DE)
++ gencat $(DESTDIR)/$(LIBDIR)/$(LIBLOCA)/$(LOC_DE)/LC_MESSAGES/errors.$(LOC_DE) \
++ $(DESTDIR)/$(LIBDIR)/$(LIBLOCA)/$(LOC_DE)/LC_MESSAGES/msgs.$(LOC_DE)
++ chmod 644 $(DESTDIR)/$(LIBDIR)/$(LIBLOCA)/$(LOC_DE)/LC_MESSAGES/*
+
+ uninstall:
+ -rm -f $(BINDIR)/lout $(BINDIR)/prg2lout
diff --git a/app-text/lout/lout-3.25-r1.ebuild b/app-text/lout/lout-3.25-r1.ebuild
new file mode 100644
index 000000000000..470a1f4752ec
--- /dev/null
+++ b/app-text/lout/lout-3.25-r1.ebuild
@@ -0,0 +1,71 @@
+# Copyright 1999-2002 Gentoo Technologies, Inc.
+# Distributed under the terms of the GNU General Public License v2
+# Author: Christian V. J. Brüssow <cvjb@epost.de>
+# $Header: /var/cvsroot/gentoo-x86/app-text/lout/lout-3.25-r1.ebuild,v 1.1 2002/07/11 06:46:28 phoenix Exp $
+
+# Short one-line description of this package.
+DESCRIPTION="Lout is a high-level language for document formatting."
+
+# Valeriy Ushakovs offical Lout Homepage.
+HOMEPAGE="http://snark.ptc.spbu.ru/~uwe/lout/"
+
+# License of the package. This must match the name of file(s) in
+# /usr/portage/licenses/. For complex license combination see the developer
+# docs on gentoo.org for details.
+LICENSE="GPL-2"
+
+# QA issues - added by phoen][x <phoenix@gentoo.org>
+KEYWORDS="x86"
+SLOT="0"
+
+# Build-time dependencies, such as
+# ssl? ( >=openssl-0.9.6b )
+# >=perl-5.6.1-r1
+DEPEND=">=zlib-1.1.4"
+
+# Run-time dependencies, same as DEPEND if RDEPEND isn't defined:
+RDEPEND=""
+
+# Jeff Kingstons original site (veeery slow): ftp://ftp.cs.esyd.edu.au/jeff/.
+SRC_URI="http://www.tex.ac.uk/tex-archive/support/lout/${P}.tar.gz"
+
+src_unpack() {
+ unpack $A
+ cd ${S}
+
+ # Apply the makefile patch, this is the only configuration so far :-(
+ patch -p0 < ${FILESDIR}/${P}-r1-makefile-gentoo.patch
+}
+
+src_compile() {
+ # Lout does not have autoconf/configure support :-(
+ # so everything we can do for now is the patch in src_unpack.
+
+ # emake (previously known as pmake) is a script that calls the
+ # standard GNU make with parallel building options for speedier
+ # builds (especially on SMP systems). Try emake first. It might
+ # not work for some packages, in which case you'll have to resort
+ # to normal "make".
+ emake prg2lout lout || die "emake prg2lout lout failed"
+}
+
+src_install() {
+ # You must *personally verify* that this trick doesn't install
+ # anything outside of DESTDIR; do this by reading and
+ # understanding the install part of the Makefiles.
+ emake DESTDIR=${D} install installdoc installman || die "emake install failed"
+ # Again, verify the Makefiles! We don't want anything falling
+ # outside of ${D}.
+
+ dodoc README READMEPDF blurb blurb.short whatsnew
+}
+
+pkg_postinst() {
+ # Initializing run (should be silent, no errors expected)
+ /usr/bin/lout -x -s /usr/lib/lout/include/init
+ # Changing mod of files just created by initializing run
+ chmod 644 /usr/lib/lout/data/*
+ chmod 644 /usr/lib/lout/hyph/*
+}
+
+# vim:ts=4:sw=4:noexpandtab: