mirror of
https://github.com/yann64/haikuports.git
synced 2026-04-08 21:00:05 +02:00
44 lines
902 B
Bash
44 lines
902 B
Bash
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/
|
|
}
|