$OpenBSD: patch-setup-sk1_py,v 1.1.1.1 2018/07/16 19:50:36 rsadowski Exp $

Index: setup-sk1.py
--- setup-sk1.py.orig
+++ setup-sk1.py
@@ -104,18 +104,16 @@ LONG_DEB_DESCRIPTION = ''' .
 ############################################################
 # Build data
 ############################################################
-install_path = '/usr/lib/%s-wx-%s' % (NAME, VERSION)
-os.environ["APP_INSTALL_PATH"] = "%s" % (install_path,)
+install_path = '${PREFIX}/lib/%s-wx-%s' % (NAME, VERSION)
 src_path = 'src'
-include_path = '/usr/include'
+include_path = '${PREFIX}/include'
 modules = []
 scripts = ['src/script/sk1', ]
 deb_scripts = []
 data_files = [
-    ('/usr/share/applications', ['src/sk1.desktop', ]),
-    ('/usr/share/pixmaps', ['src/sk1.png', 'src/sk1.xpm', ]),
-    ('/usr/share/icons/hicolor/scalable/apps', ['src/sk1.svg', ]),
-    (install_path, ['GPLv3.txt', 'LICENSE', ]),
+    ('${PREFIX}/share/applications', ['src/sk1.desktop', ]),
+    ('${PREFIX}/share/pixmaps', ['src/sk1.png', 'src/sk1.xpm', ]),
+    ('${PREFIX}/share/icons/hicolor/scalable/apps', ['src/sk1.svg', ]),
 ]
 
 EXCLUDES = ['sword', ]
