aboutsummaryrefslogtreecommitdiff
path: root/textproc/py-4suite-xml
diff options
context:
space:
mode:
authorNicola Vitale <nivit@FreeBSD.org>2010-12-16 22:33:34 +0000
committerNicola Vitale <nivit@FreeBSD.org>2010-12-16 22:33:34 +0000
commit0cd4b81edb6290e06bed9fb71b73ff0ad6c2d192 (patch)
tree6ddabb3a3f52c35668bc7089197d36c792c6ac5f /textproc/py-4suite-xml
parente4baa23d7ccee7f31a011e9fef5db235b3b1241f (diff)
downloadports-0cd4b81edb6290e06bed9fb71b73ff0ad6c2d192.tar.gz
ports-0cd4b81edb6290e06bed9fb71b73ff0ad6c2d192.zip
Notes
Diffstat (limited to 'textproc/py-4suite-xml')
-rw-r--r--textproc/py-4suite-xml/files/patch-Ft__Lib__DistExt__InstallText.py15
-rw-r--r--textproc/py-4suite-xml/pkg-plist4
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