aboutsummaryrefslogtreecommitdiffstats
path: root/mail/py-pymailq/files/patch-setup.py
blob: 8b2fd2f034b5fbc5e89587774e6b92836176423e (plain) (blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
--- setup.py.orig   2018-03-06 17:14:54 UTC
+++ setup.py
@@ -39,11 +39,11 @@ if __name__ == '__main__':
         scripts=['bin/pqshell'],
         packages=['pymailq'],
         package_dir={'pymailq': 'pymailq'},
-        data_files=[('share/doc/pymailq', ['README.rst', 'LICENSE', 'CHANGES']),
-                    ('share/doc/pymailq/examples', [
+        data_files=[('%%DOCSDIR%%', ['README.rst', 'LICENSE', 'CHANGES']),
+                    ('%%EXAMPLESDIR%%', [
                         'share/doc/examples/pymailq.ini'
                     ]),
-                    ('share/man/man1', ['man/pqshell.1'])],
+                    ('%%MANPREFIX%%/man/man1', ['man/pqshell.1'])],
         keywords=['postfix', 'shell', 'mailq', 'python', 'pqshell', 'postqueue'],
         classifiers=[
             'Development Status :: 5 - Production/Stable',