initial ebuild
git-svn-id: https://svn.disconnected-by-peer.at/svn/linamh/trunk/linamh@323 6952d904-891a-0410-993b-d76249ca496b
This commit is contained in:
45
app-emulation/opencbm/files/0.4.2a/80_docs_encoding.dpatch
Normal file
45
app-emulation/opencbm/files/0.4.2a/80_docs_encoding.dpatch
Normal file
@@ -0,0 +1,45 @@
|
||||
#! /bin/sh /usr/share/dpatch/dpatch-run
|
||||
## 80_docs_encoding.dpatch by Frédéric Brière <fbriere@fbriere.net>
|
||||
##
|
||||
## All lines beginning with `## DP:' are a description of the patch.
|
||||
## DP: Specify the input character encoding to all sgml2* tools
|
||||
## DP: Tracker: <http://sourceforge.net/tracker/index.php?func=detail&aid=1842513&group_id=122047&atid=692221>
|
||||
|
||||
@DPATCH@
|
||||
diff -urNad opencbm~/docs/LINUX/Makefile opencbm/docs/LINUX/Makefile
|
||||
--- opencbm~/docs/LINUX/Makefile 2007-11-11 10:01:17.000000000 -0500
|
||||
+++ opencbm/docs/LINUX/Makefile 2007-12-01 21:11:57.000000000 -0500
|
||||
@@ -19,21 +19,21 @@
|
||||
unix2dos $@
|
||||
|
||||
%.txt: %.sgml
|
||||
- sgml2txt $<
|
||||
+ sgml2txt -c latin $<
|
||||
|
||||
%.pdf: %.dvi
|
||||
dvipdf $<
|
||||
|
||||
%.dvi: %.sgml
|
||||
- sgml2latex -o dvi $<
|
||||
+ sgml2latex -c latin -o dvi $<
|
||||
|
||||
%.info: %.sgml
|
||||
- sgml2info $<
|
||||
+ sgml2info -c latin $<
|
||||
perl -p -i -e 'if(m/^ \\input texinfo/){print "INFO-DIR-SECTION Miscellaneous\nSTART-INFO-DIR-ENTRY\n* opencbm: (opencbm). Commodore serial IEC bus support.\nEND-INFO-DIR-ENTRY\n";}' $@
|
||||
|
||||
%.html: opencbm.sgml
|
||||
-[ ! -d html ] && mkdir html/
|
||||
- cd html; sgml2html -s 2 ../$<; cd ..
|
||||
+ cd html; sgml2html -c latin -s 2 ../$<; cd ..
|
||||
|
||||
all: $(TXT) $(DVI) $(INFO) $(HTML) ${PDF}
|
||||
|
||||
diff -urNad opencbm~/docs/opencbm.sgml opencbm/docs/opencbm.sgml
|
||||
--- opencbm~/docs/opencbm.sgml 2007-11-11 12:35:53.000000000 -0500
|
||||
+++ opencbm/docs/opencbm.sgml 2007-12-01 21:11:46.000000000 -0500
|
||||
@@ -2224,3 +2224,4 @@
|
||||
The OpenCBM team.
|
||||
|
||||
</article>
|
||||
+
|
||||
Reference in New Issue
Block a user