From 541ee4d26e586f3258865e9682fce0dcd3119a29 Mon Sep 17 00:00:00 2001 From: Al Hoang <13622+hoanga@users.noreply.github.com> Date: Sun, 17 Apr 2022 11:51:11 -0500 Subject: [PATCH] mdp: new recipe (#6834) --- app-text/mdp/mdp-1.0.15.recipe | 43 ++++++++++++++++++++++++++++++++++ 1 file changed, 43 insertions(+) create mode 100644 app-text/mdp/mdp-1.0.15.recipe diff --git a/app-text/mdp/mdp-1.0.15.recipe b/app-text/mdp/mdp-1.0.15.recipe new file mode 100644 index 000000000..fc286c3c1 --- /dev/null +++ b/app-text/mdp/mdp-1.0.15.recipe @@ -0,0 +1,43 @@ +SUMMARY="A markdown presentation tool" +DESCRIPTION="A command-line based markdown presentation tool" +HOMEPAGE="https://github.com/visit1985/mdp" +COPYRIGHT="2018 Michael Goehler and others" +LICENSE="GNU GPL v3" +REVISION="1" +SOURCE_URI="https://github.com/visit1985/mdp/archive/refs/tags/$portVersion.tar.gz" +CHECKSUM_SHA256="3edc8ea1551fdf290d6bba721105e2e2c23964070ac18c13b4b8d959cdf6116f" + +ARCHITECTURES="all !x86_gcc2" +SECONDARY_ARCHITECTURES="x86" + +PROVIDES=" + mdp$secondaryArchSuffix = $portVersion + cmd:mdp = $portVersion + " +REQUIRES=" + haiku$secondaryArchSuffix + lib:libncursesw$secondaryArchSuffix + " + +BUILD_REQUIRES=" + haiku${secondaryArchSuffix}_devel + devel:libncursesw$secondaryArchSuffix + " +BUILD_PREREQUIRES=" + cmd:gcc$secondaryArchSuffix + cmd:make + " + +BUILD() +{ + make +} + +INSTALL() +{ + mkdir -p $manDir + + make install PREFIX=$prefix + mv $prefix/share/man/* $manDir + rm -rf $prefix/share/ +}