openbsd-ports/graphics/sk1/patches/patch-setup-sk1_py
rsadowski ca3637911d Import sk1-2.0rc3
From Elias M. Mariani <marianielias A gmail D com> (new maintainer) and
tweaks, hints, input from sthen@, kirby@ and bcallah@.

Comment:
multiplatform vector graphics editor

Description:
sK1 is an open source vector graphics editor. Being primarily aimed at
the prepress industry, it works with the CMYK colorspace and produces
CMYK-based PDF and postscript output.

WWW: https://sk1project.net/

Final ok sthen@, last tweaks from me
2018-07-16 19:50:36 +00:00

30 lines
1.1 KiB
Plaintext

$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', ]