freebsd-ports/textproc/rubber/files/patch-setup.py
Kirill Ponomarev 858927655e - Update to version 0.99.7
PR:		ports/66399
Submitted by:	Ports Fury
2004-05-09 18:29:05 +00:00

38 lines
1.1 KiB
Python

--- setup.py.orig Fri Feb 20 22:34:09 2004
+++ setup.py Sat May 1 23:05:23 2004
@@ -103,10 +103,8 @@
from distutils.core import setup
try:
mandir = expand_vars(settings.sub, settings.sub["mandir"])
- infodir = expand_vars(settings.sub, settings.sub["infodir"])
except NameError:
mandir = "man"
- infodir = "info"
setup(
name = "rubber",
version = settings.sub["version"],
@@ -132,8 +130,7 @@
[(mandir + "/man1",
["doc/man-en/rubber.1", "doc/man-en/rubber-info.1"]),
(mandir + "/fr/man1",
- ["doc/man-fr/rubber.1", "doc/man-fr/rubber-info.1"]),
- (infodir, ["doc/rubber.info"])]
+ ["doc/man-fr/rubber.1", "doc/man-fr/rubber-info.1"])]
)
@@ -164,13 +161,11 @@
the main script: %s
the modules: %s
the man pages: %s
- the info pages: %s
(unless you specify otherwise when running `make install')""" %
(expand_vars(sub, sub["python"]),
expand_vars(sub, sub["bindir"]),
expand_vars(sub, sub["moddir"]),
- expand_vars(sub, sub["mandir"]),
- expand_vars(sub, sub["infodir"])))
+ expand_vars(sub, sub["mandir"])))
elif cmd == "inst":
sub = settings.sub
sub["prefix"] = sys.argv[2]