mirror of
https://github.com/yann64/haikuports.git
synced 2026-05-05 14:38:51 +02:00
bmake : bump version (#1811)
This commit is contained in:
58
sys-devel/bmake/bmake-20171118.recipe
Normal file
58
sys-devel/bmake/bmake-20171118.recipe
Normal file
@@ -0,0 +1,58 @@
|
|||||||
|
SUMMARY="Portable version of NetBSD make"
|
||||||
|
DESCRIPTION="Bmake is derived from NetBSD's make(1), its goal is to be a \
|
||||||
|
portable version of same, so new features are added via imports of NetBSD's \
|
||||||
|
make (I'm one of the contributors to NetBSD). Thus bmake is kept in sync with \
|
||||||
|
NetBSD's make.
|
||||||
|
|
||||||
|
This version of Make features several extensions that are not in GNU Make, and \
|
||||||
|
does not has all of GNU Make extensions. Some projects explicitly require one \
|
||||||
|
or the other."
|
||||||
|
HOMEPAGE="http://www.crufty.net/help/sjg/bmake.htm"
|
||||||
|
COPYRIGHT="1990-2017 NetBSD and sjg"
|
||||||
|
LICENSE="BSD (3-clause)"
|
||||||
|
REVISION="1"
|
||||||
|
SOURCE_URI="http://www.crufty.net/ftp/pub/sjg/bmake-$portVersion.tar.gz"
|
||||||
|
CHECKSUM_SHA256="c379ed09ee64277a11296fa93545abf963a059c98630ddfc47dcef9572391a9d"
|
||||||
|
SOURCE_DIR="bmake"
|
||||||
|
|
||||||
|
ARCHITECTURES="x86_gcc2 x86 x86_64"
|
||||||
|
|
||||||
|
PROVIDES="
|
||||||
|
bmake = $portVersion compat >= 20171118
|
||||||
|
cmd:bmake = $portVersion compat >= 20171118
|
||||||
|
"
|
||||||
|
REQUIRES="
|
||||||
|
haiku
|
||||||
|
"
|
||||||
|
|
||||||
|
BUILD_REQUIRES="
|
||||||
|
haiku_devel
|
||||||
|
"
|
||||||
|
BUILD_PREREQUIRES="
|
||||||
|
cmd:awk
|
||||||
|
cmd:gcc
|
||||||
|
cmd:make
|
||||||
|
cmd:diff
|
||||||
|
cmd:sed
|
||||||
|
"
|
||||||
|
|
||||||
|
BUILD()
|
||||||
|
{
|
||||||
|
runConfigure ./configure --with-default-sys-path=$dataDir/mk
|
||||||
|
make MANDIR=$manDir
|
||||||
|
}
|
||||||
|
|
||||||
|
INSTALL()
|
||||||
|
{
|
||||||
|
# The install process needs a root user, and there is no such thing in the
|
||||||
|
# chroot.
|
||||||
|
echo "root:x:0:" > /etc/group
|
||||||
|
useradd root || true # Don't fail if user already exists
|
||||||
|
|
||||||
|
make install MANDIR=$manDir
|
||||||
|
|
||||||
|
# Even when configured to look for files in dataDir, they are installed in
|
||||||
|
# share...
|
||||||
|
rm -rf $dataDir
|
||||||
|
mv $prefix/share $dataDir
|
||||||
|
}
|
||||||
Reference in New Issue
Block a user