1
0
mirror of https://git.FreeBSD.org/ports.git synced 2025-01-29 10:18:30 +00:00
freebsd-ports/x11/xpra/files/patch-setup.py
Steve Wills 588006ad9e - Improve DEPENDS [1]
- Correct USE_XORG [1]
- Install config files [1]
- Patch server to use glib [1]
- Use space, not tab for xpra [1]
- Add license
- Support staging

PR:		ports/181482 [1]
Submitted by:	Andrew Childs <lorne@cons.org.nz> [1]
2013-12-22 03:31:32 +00:00

25 lines
1.2 KiB
Python

--- ./setup.py.orig 2013-12-19 09:14:12.000000000 +0000
+++ ./setup.py 2013-12-21 21:13:18.689932655 +0000
@@ -862,7 +862,7 @@
scripts = ["scripts/xpra", "scripts/xpra_launcher"]
man_pages = ["man/xpra.1", "man/xpra_launcher.1"]
data_files += [
- ("share/man/man1", man_pages),
+ ("man/man1", man_pages),
("share/xpra", ["README", "COPYING"]),
("share/xpra/icons", glob.glob("icons/*")),
("share/applications", ["xdg/xpra_launcher.desktop", "xdg/xpra.desktop"]),
@@ -910,7 +910,11 @@
if not use_Xdummy_wrapper and "scripts/xpra_Xdummy" in scripts:
#if we're not using the wrapper, don't install it
scripts.remove("scripts/xpra_Xdummy")
- etc_files.append(xorg_conf)
+ ## FreeBSD ports: we want to install this as xpra.conf.sample
+ ## Prevent it here, handle in post-install target
+ #etc_files.append(xorg_conf)
+ ## FreeBSD ports: override etc_prefix
+ etc_prefix='etc/xpra'
data_files.append((etc_prefix, etc_files))
setup_options["scripts"] = scripts