summaryrefslogtreecommitdiff
path: root/news/sabnzbdplus/files/patch-setup.py
blob: 62ada1a54c8ef6a4be2fcb88d5a0ce4d252d3972 (plain) (blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
--- setup.py.orig	Wed Jul 12 09:55:04 2006
+++ setup.py	Wed Jul 12 20:44:42 2006
@@ -13,10 +13,11 @@
       packages = ['sabnzbd', 'sabnzbd.utils', 'sabnzbd.utils.multiauth'],
       platforms = ['posix'],
       license = 'GNU General Public License 2 (GPL2)',
-      data_files = [('share/doc/SABnzbd-' + sabnzbd.__version__,
-                     ['SABnzbd.ini.sample', 'README.txt', 'LICENSE.txt',
-                      'TODO.txt', 'CHANGELOG.txt', 'UPGRADE.txt']),
-                    ('share/SABnzbd-' + sabnzbd.__version__ + '/templates',
+      data_files = [('share/doc/%%PORTNAME%%',
+                             ['README.txt', 'LICENSE.txt',
+                              'TODO.txt', 'CHANGELOG.txt', 'UPGRADE.txt']),
+                    ('share/%%PORTNAME%%',['SABnzbd.ini.sample']),
+                    ('share/%%PORTNAME%%' + '/templates',
                              ['templates/default.css', 'templates/history.tmpl',
                               'templates/main.tmpl',
 			      'templates/connection_info.tmpl',
@@ -30,5 +31,5 @@
                               'templates/config_scheduling.tmpl',
                               'templates/config_rss.tmpl',
                               'templates/static/placeholder.txt']),
-                    ('share/SABnzbd-' + sabnzbd.__version__ + '/templates/static',
+                    ('share/%%PORTNAME%%/templates/static',
                               ['templates/static/placeholder.txt'])])