freebsd-ports/net-p2p/museekplus/files/patch-mucous_pymucous_SConscript
Stefan Walter 88ef6ef2ce - Make port respect PREFIX for all installed files and fix plist. [1]
- Remove custom do-build and do-install targets that are superfluous with
  USE_SCONS.
- Bump PORTREVISION.

Reported by:	kris [1]
Patch by:	stefan
Approved by:	arved (mentor)
2006-08-13 20:40:58 +00:00

11 lines
490 B
Text

--- mucous/pymucous/SConscript.orig Sat Aug 12 14:06:25 2006
+++ mucous/pymucous/SConscript Sat Aug 12 14:07:11 2006
@@ -8,7 +8,7 @@
import sys, os
py_ver = str(sys.version_info[0]) + "." + str(sys.version_info[1])
-py_dest = env['DESTDIR'] + os.path.join(sys.prefix, "lib", "python" + py_ver, "site-packages", "pymucous")
+py_dest = env['DESTDIR'] + os.path.join("%%PYTHONPREFIX_SITELIBDIR%%", "pymucous")
install = env.Install(py_dest, files)
env.Alias('install_mucous', install)