diff options
Diffstat (limited to 'textproc')
-rw-r--r-- | textproc/py-4suite-xml/files/patch-Ft__Lib__DistExt__InstallText.py | 15 | ||||
-rw-r--r-- | textproc/py-4suite-xml/pkg-plist | 4 |
2 files changed, 17 insertions, 2 deletions
diff --git a/textproc/py-4suite-xml/files/patch-Ft__Lib__DistExt__InstallText.py b/textproc/py-4suite-xml/files/patch-Ft__Lib__DistExt__InstallText.py new file mode 100644 index 000000000000..07780515dfee --- /dev/null +++ b/textproc/py-4suite-xml/files/patch-Ft__Lib__DistExt__InstallText.py @@ -0,0 +1,15 @@ +--- ./Ft/Lib/DistExt/InstallText.py.orig 2010-12-16 23:05:48.000000000 +0100 ++++ ./Ft/Lib/DistExt/InstallText.py 2010-12-16 23:09:04.000000000 +0100 +@@ -27,9 +27,10 @@ + ('install_docs', 'install_dir'), + ('force', 'force')) + ++ portdocs = not os.environ.has_key('NOPORTDOCS') + self.files = [ f for f in self.distribution.doc_files +- if isinstance(f, Structures.File) ] +- if self.distribution.license_file: ++ if isinstance(f, Structures.File) and portdocs ] ++ if self.distribution.license_file and portdocs: + self.files.append(Structures.File(self.distribution.license_file)) + return + diff --git a/textproc/py-4suite-xml/pkg-plist b/textproc/py-4suite-xml/pkg-plist index 5749eff84fe0..6993d383359f 100644 --- a/textproc/py-4suite-xml/pkg-plist +++ b/textproc/py-4suite-xml/pkg-plist @@ -846,8 +846,8 @@ %%DATADIR%%/Schemata/xhtml1-transitional.dtd %%DATADIR%%/Schemata/xsa.dtd %%DATADIR%%/default.cat -%%DOCSDIR%%/COPYRIGHT -%%DOCSDIR%%/README +%%PORTDOCS%%%%DOCSDIR%%/COPYRIGHT +%%PORTDOCS%%%%DOCSDIR%%/README %%PORTDOCS%%%%DOCSDIR%%/html/COPYRIGHT.html %%PORTDOCS%%%%DOCSDIR%%/html/CoreManual.html %%PORTDOCS%%%%DOCSDIR%%/html/HowTos/4SuiteCVS.html |