From cf75188655c05eefeb461a3c5703e6ed411a3416 Mon Sep 17 00:00:00 2001 From: Vale Tolpegin Date: Tue, 9 Dec 2014 23:01:08 +0000 Subject: [PATCH] Added needed Python commands in INSTALL() --- dev-cpp/hugen/hugen-1.recipe | 3 +++ 1 file changed, 3 insertions(+) diff --git a/dev-cpp/hugen/hugen-1.recipe b/dev-cpp/hugen/hugen-1.recipe index 887b33bb7..5338b558c 100644 --- a/dev-cpp/hugen/hugen-1.recipe +++ b/dev-cpp/hugen/hugen-1.recipe @@ -37,6 +37,9 @@ BUILD() INSTALL() { + python=$portPackageLinksDir/cmd~python/bin/python + pythonVersion=$($python --version 2>&1 | sed 's/Python //' | head -c3) + installLocation=lib/python$version/vendor-packages mkdir -p $installLocation/hugen_app cp -R hugen.py configs/ templates/ $installLocation/hugen_app