From 2aa3c0cd39679dc780199b95c6b5a6e7f39e3660 Mon Sep 17 00:00:00 2001
From: =?utf8?q?Michael=20G=C3=B6hler?= <github@nixhub.de>
Date: Thu, 12 Jan 2017 14:45:57 +0100
Subject: [PATCH] added PREFIX to cygport definition

---
 mdp.cygport | 7 ++++++-
 1 file changed, 6 insertions(+), 1 deletion(-)

diff --git a/mdp.cygport b/mdp.cygport
index edb3b9a..af6da10 100644
--- a/mdp.cygport
+++ b/mdp.cygport
@@ -13,6 +13,11 @@ it easy to create slides using the popular markdown format."
 SRC_URI="https://github.com/visit1985/mdp/archive/${VERSION}.tar.gz"
 DOCS="sample.md"
 
+# Build dependencies only
+DEPEND="gcc-core libncurses-devel make"
+# runtime deps to go in setup.hint
+#REQUIRES="libncursesw10"
+
 # custom src_compile, src_install and src_test
 
 src_compile() {
@@ -22,7 +27,7 @@ src_compile() {
 
 src_install() {
 	cd ${S}
-	cyginstall
+	PREFIX=/usr cyginstall
 }
 
 src_test() { :; }
-- 
2.20.1