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/ +}