freebsd-ports/net-p2p/museekplus/files/patch-pymuseekd_museek_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
493 B
Text

--- pymuseekd/museek/SConscript.orig Sat Aug 12 14:07:46 2006
+++ pymuseekd/museek/SConscript Sat Aug 12 14:08:21 2006
@@ -14,7 +14,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", "museek")
+py_dest = env['DESTDIR'] + os.path.join("%%PYTHONPREFIX_SITELIBDIR%%", "museek")
install = env.Install(py_dest, files)
env.Alias('install_pymuseekd', install)