the Fink project is an effort to port
popular Unix programs to Mac OS X
# DISCLAIMER: Max Horn is the sole maintainer of this package.
# Please DO NOT MAKE MODIFICATIONS without informing the maintainer.
# Preferably, send a patch to me instead of making changes yourself!
# If that is not possible due to extra urgency, at least send me a mail.
#
# Explanation: I am sick and tired of getting back to my packages and
# discovering that people have messed with it. I am then forced to
# retrace their steps, find out who, when and why did make a certain
# change etc. -- i.e. it makes my life as maintainer harder.
# Furthermore, as maintainer I am responsible for problems caused by my
# packages. But I am not willing to take responsibility for something I
# did not do. In particular, for changes that other people introduced
# behind my back, no matter how good and noble their intentions were. As
# such, I may see myself forced to drop responsibility for (and hence,
# maintainership of) the affected package.
Package: doclifter
Version: 2.1
Revision: 2
Source: http://www.catb.org/~esr/doclifter/%n-%v.tar.gz
Source-MD5: 1695f456ede9b926966f08f6828757cd
Patch: %n.patch
CompileScript: echo ""
InstallScript: <<
/usr/bin/install -d -m 755 %i/bin
/usr/bin/install -d -m 755 %i/share/man/man1
/usr/bin/install -c -p -m 755 doclifter manlifter %i/bin
/usr/bin/install -c -p -m 644 doclifter.1 manlifter.1 %i/share/man/man1
<<
DocFiles: README COPYING BUGS TODO
#
Description: Convert man pages to DocBook format
DescDetail: <<
The doclifter program translates documents written in troff macros to DocBook.
Lifting documents from presentation level to semantic level is hard, and
a really good job requires human polishing. This tool aims to do everything
that can be mechanized, and to preserve in XML comments any troff-level
information that might have structural implications. Also includes manlifter,
a driver script that can be used to convert entire manual-page hierarchies.
<<
DescPackaging: <<
Remove import of the sre module, which has been deprecated in recent
Python versions. Also replaced 'with' in one spot, as this will be a
reserved keyword in future Python versions.
<<
License: GPL
Maintainer: Max Horn
Homepage: http://www.catb.org/~esr/doclifter/
diff -ru doclifter-2.1/doclifter doclifter-2.1-patched/doclifter
--- doclifter-2.1/doclifter 2005-01-14 18:50:42.000000000 +0100
+++ doclifter-2.1-patched/doclifter 2007-02-28 14:15:56.000000000 +0100
@@ -125,7 +125,7 @@
$Id: doclifter,v 1.1294 2005/01/14 06:35:12 esr Exp $
"""
# Requires Python 2.2a
-import sys, os, glob, re, sre, string, exceptions, copy, tempfile, time, pprint
+import sys, os, glob, re, string, exceptions, copy, tempfile, time, pprint
# This is a speed hack recommended by Armin Rigo. It cuts runtime by about 33%
# and makes it possible for psyco 1.2 to reduce runtime another 33%.
@@ -6301,8 +6301,8 @@
return result
def styleargs(self, args, tag, attribute="", prefix=""):
return self.process_punct(args, lambda x: self.stylehook(x, tag, attribute, prefix), 1)
- def replacemacro(self, args, with):
- return self.process_punct(args, lambda x: [with] + x, 1)
+ def replacemacro(self, args, replacement):
+ return self.process_punct(args, lambda x: [replacement] + x, 1)
def eval(self, args):
"Evaluate a macro, returning a list."
if args[0][0] == '.':
# DISCLAIMER: Max Horn is the sole maintainer of this package.
# Please DO NOT MAKE MODIFICATIONS without informing the maintainer.
# Preferably, send a patch to me instead of making changes yourself!
# If that is not possible due to extra urgency, at least send me a mail.
#
# Explanation: I am sick and tired of getting back to my packages and
# discovering that people have messed with it. I am then forced to
# retrace their steps, find out who, when and why did make a certain
# change etc. -- i.e. it makes my life as maintainer harder.
# Furthermore, as maintainer I am responsible for problems caused by my
# packages. But I am not willing to take responsibility for something I
# did not do. In particular, for changes that other people introduced
# behind my back, no matter how good and noble their intentions were. As
# such, I may see myself forced to drop responsibility for (and hence,
# maintainership of) the affected package.
Package: doclifter
Version: 2.1
Revision: 2
Source: http://www.catb.org/~esr/doclifter/%n-%v.tar.gz
Source-MD5: 1695f456ede9b926966f08f6828757cd
Patch: %n.patch
CompileScript: echo ""
InstallScript: <<
/usr/bin/install -d -m 755 %i/bin
/usr/bin/install -d -m 755 %i/share/man/man1
/usr/bin/install -c -p -m 755 doclifter manlifter %i/bin
/usr/bin/install -c -p -m 644 doclifter.1 manlifter.1 %i/share/man/man1
<<
DocFiles: README COPYING BUGS TODO
#
Description: Convert man pages to DocBook format
DescDetail: <<
The doclifter program translates documents written in troff macros to DocBook.
Lifting documents from presentation level to semantic level is hard, and
a really good job requires human polishing. This tool aims to do everything
that can be mechanized, and to preserve in XML comments any troff-level
information that might have structural implications. Also includes manlifter,
a driver script that can be used to convert entire manual-page hierarchies.
<<
DescPackaging: <<
Remove import of the sre module, which has been deprecated in recent
Python versions. Also replaced 'with' in one spot, as this will be a
reserved keyword in future Python versions.
<<
License: GPL
Maintainer: Max Horn
Homepage: http://www.catb.org/~esr/doclifter/
diff -ru doclifter-2.1/doclifter doclifter-2.1-patched/doclifter
--- doclifter-2.1/doclifter 2005-01-14 18:50:42.000000000 +0100
+++ doclifter-2.1-patched/doclifter 2007-02-28 14:15:56.000000000 +0100
@@ -125,7 +125,7 @@
$Id: doclifter,v 1.1294 2005/01/14 06:35:12 esr Exp $
"""
# Requires Python 2.2a
-import sys, os, glob, re, sre, string, exceptions, copy, tempfile, time, pprint
+import sys, os, glob, re, string, exceptions, copy, tempfile, time, pprint
# This is a speed hack recommended by Armin Rigo. It cuts runtime by about 33%
# and makes it possible for psyco 1.2 to reduce runtime another 33%.
@@ -6301,8 +6301,8 @@
return result
def styleargs(self, args, tag, attribute="", prefix=""):
return self.process_punct(args, lambda x: self.stylehook(x, tag, attribute, prefix), 1)
- def replacemacro(self, args, with):
- return self.process_punct(args, lambda x: [with] + x, 1)
+ def replacemacro(self, args, replacement):
+ return self.process_punct(args, lambda x: [replacement] + x, 1)
def eval(self, args):
"Evaluate a macro, returning a list."
if args[0][0] == '.':