bsdbuild: remove obsolete bep file (#1705)

This commit is contained in:
Schrijvers Luc
2017-10-11 16:08:39 +02:00
committed by diversys
parent a1de2b8e0a
commit 355ad3a5f9
2 changed files with 0 additions and 69 deletions

View File

@@ -1,42 +0,0 @@
DESCRIPTION="a simple, self-contained and portable build system"
HOMEPAGE="http://hypertriton.com/bsdbuild/"
SOURCE_URI="http://stable.hypertriton.com/bsdbuild/bsdbuild-2.9.tar.gz"
REVISION="1"
STATUS_HAIKU="broken"
DEPEND="dev-lang/perl >= 5.10
dev-lang/lua >= 5.1"
CHECKSUM_MD5="fd0d4a754024a39d9cf1f5e42f8075b5"
BUILD()
{
cd bsdbuild-2.9
cp mkconfigure.pl mkconfigure
# cp gen-dotdepend.pl gen-dotdepend-tmp.pl
sed -i 's#/usr/bin/perl#/boot/common/bin/perl#' mkconfigure
sed -i 's#$INSTALLDIR/gen-dotdepend.pl#./gen-dotdepend.pl#' mkconfigure
cat configure.in | mkconfigure > configure
rm mkconfigure
./configure --prefix=/boot/common \
--mandir=`finddir B_COMMON_DOCUMENTATION_DIRECTORY`/man \
--datadir=`finddir B_COMMON_DATA_DIRECTORY` \
--infodir=`finddir B_COMMON_DOCUMENTATION_DIRECTORY`/info \
--localedir=`finddir B_COMMON_DATA_DIRECTORY`/locale \
--sbindir=`finddir B_COMMON_BIN_DIRECTORY` \
--sharedir=`finddir B_COMMON_DATA_DIRECTORY`
make
}
INSTALL()
{
cd bsdbuild-2.9
make install
}
TEST()
{
cd bsdbuild-2.9
# make test
# make check
}
LICENSE="BSD (2-clause)"
COPYRIGHT="2002-2011 Hypertrition, Inc."

View File

@@ -1,27 +0,0 @@
diff -urN bsdbuild-2.9/configure.in bsdbuild-2.9-haiku/configure.in
--- bsdbuild-2.9/configure.in 2011-06-20 12:46:10.031719424 +0000
+++ bsdbuild-2.9-haiku/configure.in 2011-08-11 21:05:19.596377600 +0000
@@ -4,7 +4,7 @@
VERSION("2.9")
RELEASE("Blast of Ancient Atmospheres")
-MDEFINE(SHAREDIR, "$PREFIX/share/bsdbuild")
+MDEFINE(SHAREDIR, "$SHAREDIR/bsdbuild")
echo "*"
echo "* Configuration successful."
diff -urN bsdbuild-2.9/mkconfigure.pl bsdbuild-2.9-haiku/mkconfigure.pl
--- bsdbuild-2.9/mkconfigure.pl 2011-05-17 08:06:19.033554432 +0000
+++ bsdbuild-2.9-haiku/mkconfigure.pl 2011-08-11 22:05:40.015728640 +0000
@@ -865,7 +865,10 @@
datadir=$optarg
;;
--sharedir=*)
- datadir=$optarg
+ sharedir=$optarg
+ ;;
+ --sbindir=*)
+ sbindir=$optarg
;;
--localedir=*)
localedir=$optarg