mdp: new recipe (#6834)

This commit is contained in:
Al Hoang
2022-04-17 11:51:11 -05:00
committed by GitHub
parent 6232d36eaa
commit 541ee4d26e

View File

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