Merged haikuports/haikuports into puckipedia/master

This commit is contained in:
puckipedia
2013-12-30 10:52:57 +00:00
27 changed files with 1484 additions and 147 deletions

View File

@@ -5,7 +5,7 @@ LICENSE="bzip2"
COPYRIGHT="1996-2010 Julian R Seward"
SRC_URI="http://www.bzip.org/1.0.6/bzip2-1.0.6.tar.gz"
CHECKSUM_MD5="00b516f4704d4a7cb50a1d97e6e8e15b"
REVISION="4"
REVISION="5"
ARCHITECTURES="x86_gcc2 x86 x86_64"
SECONDARY_ARCHITECTURES="x86 x86_gcc2"
@@ -57,8 +57,15 @@ INSTALL()
make install PREFIX=$prefix
mkdir -p $libDir
#move the static library to the right dir for secondary arch builds
if [ -n "$secondaryArchSuffix" ];then
mv $prefix/lib/libbz2.a $libDir
fi
# also install shared lib
cp -a libbz2.so.1.0.6 libbz2.so.1.0 $libDir
ln -sf libbz2.so.1.0.6 libbz2.so
cp -a libbz2.so.1.0.6 libbz2.so.1.0 libbz2.so $libDir
# move man pages
mkdir -p $manDir
@@ -77,6 +84,12 @@ INSTALL()
# devel package
packageEntries devel \
$developDir
#remove bin commands and man pages when building for secondary arch
if [ -n "$secondaryArchSuffix" ];then
rm -rf $prefix/bin
rm -rf $manDir
fi
}
# ----- devel package -------------------------------------------------------

View File

@@ -0,0 +1,50 @@
SUMMARY="srm - secure file deletion for posix systems"
DESCRIPTION="A command-line compatible rm which destroys file contents before unlinking."
HOMEPAGE="http://srm.sourceforge.net/"
SRC_URI="cvs://:pserver:anonymous@srm.cvs.sourceforge.net:/cvsroot/srm/srm"
REVISION="1"
LICENSE="MIT (no promotion)"
COPYRIGHT="2000 Matthew D. Gauthier"
ARCHITECTURES="x86_gcc2 x86 ?x86_64"
SECONDARY_ARCHITECTURES="x86_gcc2 x86"
PROVIDES="
srm$secondaryArchSuffix = $portVersion
cmd:srm = $portVersion
"
REQUIRES="
haiku$secondaryArchSuffix
"
BUILD_REQUIRES="
haiku${secondaryArchSuffix}_devel >= $haikuVersion
"
BUILD_PREREQUIRES="
cmd:aclocal
cmd:autoconf
cmd:automake
cmd:make
cmd:gcc$secondaryArchSuffix
"
BUILD()
{
#./autogen.sh ...
aclocal
autoheader
automake --add-missing
autoconf
runConfigure ./configure
make
}
INSTALL()
{
make install
}
# Beware, needs at least 5GB of disk space free.
TEST()
{
make test
}

View File

@@ -1,28 +1,61 @@
DESCRIPTION="JamVM"
HOMEPAGE="http://jamvm.sourceforge.net"
SUMMARY="JamVM"
DESCRIPTION="JamVM is a new Java Virtual Machine which conforms to the JVM specification version 2 (blue book).
In comparison to most other VM's (free and commercial) it is extremely small,"
HOMEPAGE="http://jamvm.sourceforge.net/"
SRC_URI="http://sourceforge.net/projects/jamvm/files/jamvm/JamVM%201.5.4/jamvm-1.5.4.tar.gz/download"
REVISION="1"
STATUS_HAIKU="stable"
DEPEND=""
CHECKSUM_MD5="7654e9657691f5f09c4f481ed4686176"
MESSAGE="This port only builds with gcc4. Use 'setgcc gcc4' before building."
LICENSE="GNU GPL v2"
COPYRIGHT="2003-2010 Robert Lougher"
ARCHITECTURES="x86 ?x86_64"
if [ $effectiveTargetArchitecture != x86_gcc2 ]; then
# x86_gcc2 is fine as primary target architecture as long as we're building
# for a different secondary architecture.
ARCHITECTURES="$ARCHITECTURES x86_gcc2"
else
ARCHITECTURES="$ARCHITECTURES !x86_gcc2"
fi
SECONDARY_ARCHITECTURES="x86"
PROVIDES="
jamvm$secondaryArchSuffix = $portVersion
cmd:jamvm$secondaryArchSuffix = $portVersion
lib:libjvm$secondaryArchSuffix
devel:libjvm$secondaryArchSuffix
"
REQUIRES="
haiku$secondaryArchSuffix
lib:libz$secondaryArchSuffix
"
BUILD_REQUIRES="
haiku${secondaryArchSuffix}_devel >= $haikuVersion
devel:libz$secondaryArchSuffix >= 1.2.8
"
BUILD_PREREQUIRES="
cmd:autoconf
cmd:aclocal
cmd:libtool
cmd:make
cmd:gcc$secondaryArchSuffix
"
PATCHES="jamvm-1.5.4.patch"
BUILD()
{
cd jamvm-1.5.4
libtoolize --force --copy --install
aclocal
autoconf
./configure --prefix=`finddir B_COMMON_DIRECTORY` \
--with-classpath-install-dir=`finddir B_COMMON_DIRECTORY`
runConfigure ./configure \
--with-classpath-install-dir=
make
}
INSTALL()
{
cd jamvm-1.5.4
make install
prepareInstalledDevelLib libjvm
}
LICENSE="GNU GPL v2"
COPYRIGHT="2003-2010 Robert Lougher"

View File

@@ -9,42 +9,33 @@ be otherwise accessed."
HOMEPAGE="http://www.hpl.hp.com/personal/Hans_Boehm/gc/"
SRC_URI="http://www.hpl.hp.com/personal/Hans_Boehm/gc/gc_source/gc-7.2d.tar.gz"
REVISION="1"
ARCHITECTURES="x86 x86_gcc2"
REVISION="2"
ARCHITECTURES="x86 x86_gcc2 x86_64"
SECONDARY_ARCHITECTURES="x86 x86_gcc2"
CHECKSUM_MD5="91340b28c61753a789eb6077675d87d2"
SOURCE_DIR="gc-7.2"
PATCHES="boehm_gc-7.2d.patch"
PROVIDES="
boehm_gc = $portVersion compat >= 7
lib:libgc = $portVersion compat >= 7
lib:libcord = $portVersion compat >= 7
boehm_gc$secondaryArchSuffix = $portVersion compat >= 7
lib:libgc$secondaryArchSuffix = $portVersion compat >= 7
lib:libcord$secondaryArchSuffix = $portVersion compat >= 7
"
REQUIRES="
haiku >= $haikuVersion
haiku$secondaryArchSuffix >= $haikuVersion
"
BUILD_REQUIRES=""
BUILD_PREREQUIRES="
haiku_devel >= $haikuVersion
haiku${secondaryArchSuffix}_devel >= $haikuVersion
cmd:libtoolize
cmd:autoconf
cmd:make
cmd:gcc
cmd:ld
"
PROVIDES_devel="
boehm_gc_devel = $portVersion compat >= 7
devel:libgc = $portVersion compat >= 7
devel:libcord = $portVersion compat >= 7
"
REQUIRES_devel="
boehm_gc == $portVersion
cmd:gcc$secondaryArchSuffix
cmd:ld$secondaryArchSuffix
"
BUILD()
@@ -52,7 +43,7 @@ BUILD()
libtoolize --force --copy --install
autoconf -f
runConfigure ./configure --enable-threads=posix \
--enable-thread-local-alloc --enable-parallel-mark
--enable-thread-local-alloc --enable-parallel-mark
make
}
@@ -69,6 +60,16 @@ TEST()
make check
}
PROVIDES_devel="
boehm_gc${secondaryArchSuffix}_devel = $portVersion compat >= 7
devel:libgc${secondaryArchSuffix} = $portVersion compat >= 7
devel:libcord${secondaryArchSuffix} = $portVersion compat >= 7
"
REQUIRES_devel="
boehm_gc${secondaryArchSuffix} == $portVersion base
"
LICENSE="BOEHM"
COPYRIGHT="1988, 1989 Hans-J. Boehm, Alan J. Demers
1991-1996 by Xerox Corporation. All rights reserved.

View File

@@ -9,12 +9,14 @@ SUMMARY="Boost is a set of libraries for the C++ programming language."
HOMEPAGE="http://www.boost.org/"
SRC_URI="http://sourceforge.net/projects/boost/files/boost/1.55.0/boost_1_55_0.tar.bz2"
CHECKSUM_MD5="d6eef4b4cacb2183f2bf265a5a03a354"
REVISION="1"
REVISION="2"
LICENSE="Boost v1.0"
COPYRIGHT="1998-2013 Beman Dawes, David Abrahams, Rene Rivera, et al."
ARCHITECTURES="x86 ?x86_64"
if [ $effectiveTargetArchitecture != x86_gcc2 ]; then
ARCHITECTURES="$ARCHITECTURES x86_gcc2"
else
ARCHITECTURES="$ARCHITECTURES !x86_gcc2"
fi
SECONDARY_ARCHITECTURES="x86 ?x86_64"
@@ -23,106 +25,189 @@ SOURCE_DIR="boost_1_55_0"
PATCHES="boost-1.55.0.patchset"
PROVIDES="
lib:boost = 1.55.0
boost$secondaryArchSuffix = $portVersion
"
REQUIRES="
haiku$secondaryArchSuffix >= $haikuVersion
lib:libiconv$secondaryArchSuffix
lib:libbz2$secondaryArchSuffix
lib:libz$secondaryArchSuffix
boost_atomic$secondaryArchSuffix == $portVersion
boost_chrono$secondaryArchSuffix == $portVersion
boost_context$secondaryArchSuffix == $portVersion
boost_coroutine$secondaryArchSuffix == $portVersion
boost_date_time$secondaryArchSuffix == $portVersion
boost_filesystem$secondaryArchSuffix == $portVersion
boost_graph$secondaryArchSuffix == $portVersion
boost_iostreams$secondaryArchSuffix == $portVersion
boost_locale$secondaryArchSuffix == $portVersion
boost_log$secondaryArchSuffix == $portVersion
boost_math$secondaryArchSuffix == $portVersion
boost_program_options$secondaryArchSuffix == $portVersion
boost_random$secondaryArchSuffix == $portVersion
boost_regex$secondaryArchSuffix == $portVersion
boost_serialization$secondaryArchSuffix == $portVersion
boost_signals$secondaryArchSuffix == $portVersion
boost_system$secondaryArchSuffix == $portVersion
boost_test$secondaryArchSuffix == $portVersion
boost_thread$secondaryArchSuffix == $portVersion
boost_timer$secondaryArchSuffix == $portVersion
boost_unit_test_framework$secondaryArchSuffix == $portVersion
boost_wave$secondaryArchSuffix == $portVersion
"
BUILD_REQUIRES="
haiku${secondaryArchSuffix}_devel >= $haikuVersion
devel:libiconv$secondaryArchSuffix
devel:libbz2$secondaryArchSuffix
devel:libz$secondaryArchSuffix
devel:libicuuc$secondaryArchSuffix
devel:libicui18n$secondaryArchSuffix
devel:libicudata$secondaryArchSuffix
"
BUILD_PREREQUIRES="
boehm_gc
cmd:gcc$secondaryArchSuffix
cmd:ld$secondaryArchSuffix
cmd:jam
cmd:iconv
cmd:make
binutils
"
BUILD()
{
./bootstrap.sh \
--without-icu \
--prefix=$prefix \
--exec-prefix=$binDir \
--libdir=$libDir \
--includedir=$includeDir
./bjam \
-sICU_PATH=$prefix \
-sICONV_PATH=$prefix \
-d2 \
./b2 $jobArgs \
--without-mpi \
--prefix=$prefix \
--exec-prefix=$binDir \
--libdir=$libDir \
--includedir=$includeDir \
--enable-threads=posix \
--enable-thread-local-alloc \
--enable-parallel-mark \
inlining=on \
linkflags=-L$libDir \
threading=multi \
variant=release \
link=shared \
link=static,shared \
runtime-link=shared \
--without-python \
--disable-icu
--without-python
}
INSTALL()
{
mkdir -p $includeDir
mkdir -p $libDir
cp -rf boost $includeDir
cp stage/lib/* $libDir
packageEntries devel $includeDir
packageEntries atomic $libDir/*atomic*
packageEntries chrono $libDir/*chrono*
packageEntries context $libDir/*context*
packageEntries coroutine $libDir/*coroutine*
packageEntries date_time $libDir/*date_time*
packageEntries exception $libDir/*exception*
packageEntries filesystem $libDir/*filesystem*
packageEntries graph $libDir/*graph*
packageEntries iostreams $libDir/*iostreams*
packageEntries locale $libDir/*locale*
packageEntries log $libDir/*log*
packageEntries math $libDir/*math*
packageEntries program_options $libDir/*program_options*
packageEntries random $libDir/*random*
packageEntries regex $libDir/*regex*
packageEntries serialization $libDir/*serialization*
packageEntries signals $libDir/*signals*
packageEntries system $libDir/*system*
packageEntries test $libDir/*test*
packageEntries thread $libDir/*thread*
packageEntries timer $libDir/*timer*
packageEntries wave $libDir/*wave*
./b2 $jobArgs \
--without-mpi \
--enable-threads=posix \
--enable-thread-local-alloc \
--enable-parallel-mark \
inlining=on \
threading=multi \
variant=release \
link=static,shared \
runtime-link=shared \
--without-python \
install
prepareInstalledDevelLibs libboost_atomic \
libboost_chrono libboost_context libboost_coroutine \
libboost_date_time libboost_filesystem libboost_iostreams \
libboost_locale libboost_log libboost_log_setup \
libboost_math_c99 libboost_math_c99f libboost_math_c99l \
libboost_math_tr1 libboost_math_tr1f libboost_math_tr1l \
libboost_program_options libboost_random libboost_regex \
libboost_serialization libboost_signals libboost_system \
libboost_thread libboost_timer libboost_unit_test_framework \
libboost_wave libboost_wserialization libboost_prg_exec_monitor \
libboost_exception libboost_graph libboost_test_exec_monitor
packageEntries devel $developDir
packageEntries atomic $libDir/libboost_atomic*
packageEntries chrono $libDir/libboost_chrono*
packageEntries context $libDir/libboost_context*
packageEntries coroutine $libDir/libboost_coroutine*
packageEntries date_time $libDir/libboost_date_time*
# packageEntries exception $libDir/libboost_exception*
packageEntries filesystem $libDir/libboost_filesystem*
packageEntries graph $libDir/libboost_graph*
packageEntries iostreams $libDir/libboost_iostreams*
packageEntries locale $libDir/libboost_locale*
packageEntries log $libDir/libboost_log*
packageEntries math $libDir/libboost_math*
packageEntries program_options $libDir/libboost_program_options*
packageEntries random $libDir/libboost_random*
packageEntries regex $libDir/libboost_regex*
packageEntries serialization $libDir/libboost_serialization* $libDir/libboost_wserialization*
packageEntries signals $libDir/libboost_signals*
packageEntries system $libDir/libboost_system*
packageEntries test $libDir/libboost_prg_exec_monitor*
packageEntries thread $libDir/libboost_thread*
packageEntries timer $libDir/libboost_timer*
packageEntries unit_test_framework $libDir/libboost_unit_test_framework*
packageEntries wave $libDir/libboost_wave*
}
PROVIDES_devel="
boost_devel$secondaryArchSuffix = $portVersion
devel:libboost_atomic$secondaryArchSuffix = $portVersion
devel:libboost_chrono$secondaryArchSuffix = $portVersion
devel:libboost_context$secondaryArchSuffix = $portVersion
devel:libboost_coroutine$secondaryArchSuffix = $portVersion
devel:libboost_date_time$secondaryArchSuffix = $portVersion
devel:libboost_exception$secondaryArchSuffix = $portVersion
devel:libboost_filesystem$secondaryArchSuffix = $portVersion
devel:libboost_graph$secondaryArchSuffix = $portVersion
devel:libboost_iostreams$secondaryArchSuffix = $portVersion
devel:libboost_locale$secondaryArchSuffix = $portVersion
devel:libboost_log$secondaryArchSuffix = $portVersion
devel:libboost_log_setup$secondaryArchSuffix = $portVersion
devel:libboost_math_c99$secondaryArchSuffix = $portVersion
devel:libboost_math_c99f$secondaryArchSuffix = $portVersion
devel:libboost_math_c99l$secondaryArchSuffix = $portVersion
devel:libboost_math_tr1$secondaryArchSuffix = $portVersion
devel:libboost_math_tr1f$secondaryArchSuffix = $portVersion
devel:libboost_math_tr1l$secondaryArchSuffix = $portVersion
devel:libboost_prg_exec_monitor$secondaryArchSuffix = $portVersion
devel:libboost_program_options$secondaryArchSuffix = $portVersion
devel:libboost_random$secondaryArchSuffix = $portVersion
devel:libboost_regex$secondaryArchSuffix = $portVersion
devel:libboost_serialization$secondaryArchSuffix = $portVersion
devel:libboost_signals$secondaryArchSuffix = $portVersion
devel:libboost_system$secondaryArchSuffix = $portVersion
devel:libboost_test_exec_monitor$secondaryArchSuffix = $portVersion
devel:libboost_thread$secondaryArchSuffix = $portVersion
devel:libboost_timer$secondaryArchSuffix = $portVersion
devel:libboost_unit_test_framework$secondaryArchSuffix = $portVersion
devel:libboost_wave$secondaryArchSuffix = $portVersion
devel:libboost_wserialization$secondaryArchSuffix = $portVersion
"
REQUIRES_devel="
haiku$secondaryArchSuffix >= $haikuVersion
boost$secondaryArchSuffix == $portVersion
boost_atomic$secondaryArchSuffix == $portVersion
boost_chrono$secondaryArchSuffix == $portVersion
boost_context$secondaryArchSuffix == $portVersion
boost_coroutine$secondaryArchSuffix == $portVersion
boost_date_time$secondaryArchSuffix == $portVersion
# boost_exception$secondaryArchSuffix == $portVersion
boost_filesystem$secondaryArchSuffix == $portVersion
boost_graph$secondaryArchSuffix == $portVersion
boost_iostreams$secondaryArchSuffix == $portVersion
boost_locale$secondaryArchSuffix == $portVersion
boost_log$secondaryArchSuffix == $portVersion
boost_math$secondaryArchSuffix == $portVersion
boost_program_options$secondaryArchSuffix == $portVersion
boost_random$secondaryArchSuffix == $portVersion
boost_regex$secondaryArchSuffix == $portVersion
boost_serialization$secondaryArchSuffix == $portVersion
boost_signals$secondaryArchSuffix == $portVersion
boost_system$secondaryArchSuffix == $portVersion
boost_test$secondaryArchSuffix == $portVersion
boost_thread$secondaryArchSuffix == $portVersion
boost_timer$secondaryArchSuffix == $portVersion
boost_unit_test_framework$secondaryArchSuffix == $portVersion
boost_wave$secondaryArchSuffix == $portVersion
"
PROVIDES_atomic="
boost_atomic$secondaryArchSuffix = $portVersion
lib:libboost_atomic$secondaryArchSuffix = $portVersion
"
REQUIRES_atomic="
@@ -131,15 +216,17 @@ REQUIRES_atomic="
PROVIDES_chrono="
boost_chrono$secondaryArchSuffix = $portVersion
lib:libboost_chrono$secondaryArchSuffix = $portVersion
"
REQUIRES_chrono="
haiku$secondaryArchSuffix >= $haikuVersion
boost_system$secondaryArchSuffix == $portVersion
lib:libboost_system$secondaryArchSuffix == $portVersion
"
PROVIDES_context="
boost_context$secondaryArchSuffix = $portVersion
lib:libboost_context$secondaryArchSuffix = $portVersion
"
REQUIRES_context="
@@ -148,81 +235,107 @@ REQUIRES_context="
PROVIDES_coroutine="
boost_coroutine$secondaryArchSuffix = $portVersion
lib:libboost_coroutine$secondaryArchSuffix = $portVersion
"
REQUIRES_coroutine="
boost_context$secondaryArchSuffix == $portVersion
haiku$secondaryArchSuffix >= $haikuVersion
lib:libboost_context$secondaryArchSuffix == $portVersion
lib:libboost_system$secondaryArchSuffix == $portVersion
"
PROVIDES_date_time="
boost_date_time$secondaryArchSuffix = $portVersion
lib:libboost_date_time$secondaryArchSuffix = $portVersion
"
REQUIRES_date_time="
haiku$secondaryArchSuffix >= $haikuVersion
"
PROVIDES_exception="
boost_exception$secondaryArchSuffix = $portVersion
"
#PROVIDES_exception="
# boost_exception$secondaryArchSuffix = $portVersion
# lib:libboost_exception$secondaryArchSuffix = $portVersion
# "
REQUIRES_exception="
haiku$secondaryArchSuffix >= $haikuVersion
"
#REQUIRES_exception="
# haiku$secondaryArchSuffix >= $haikuVersion
# "
PROVIDES_filesystem="
boost_filesystem$secondaryArchSuffix = $portVersion
lib:libboost_filesystem$secondaryArchSuffix = $portVersion
"
REQUIRES_filesystem="
haiku$secondaryArchSuffix >= $haikuVersion
boost_system$secondaryArchSuffix == $portVersion
lib:libboost_system$secondaryArchSuffix == $portVersion
lib:libz$secondaryArchSuffix
lib:libbz2$secondaryArchSuffix
"
PROVIDES_graph="
boost_graph$secondaryArchSuffix = $portVersion
lib:libboost_graph$secondaryArchSuffix = $portVersion
"
REQUIRES_graph="
haiku$secondaryArchSuffix >= $haikuVersion
boost_regex$secondaryArchSuffix == $portVersion
lib:libboost_regex$secondaryArchSuffix == $portVersion
lib:libicuuc$secondaryArchSuffix
lib:libicui18n$secondaryArchSuffix
lib:libicudata$secondaryArchSuffix
"
PROVIDES_iostreams="
boost_iostreams$secondaryArchSuffix = $portVersion
lib:libboost_iostreams$secondaryArchSuffix = $portVersion
"
REQUIRES_iostreams="
haiku$secondaryArchSuffix >= $haikuVersion
lib:libz$secondaryArchSuffix
lib:libbz2$secondaryArchSuffix
"
PROVIDES_locale="
boost_locale$secondaryArchSuffix = $portVersion
lib:libboost_locale$secondaryArchSuffix = $portVersion
"
REQUIRES_locale="
haiku$secondaryArchSuffix >= $haikuVersion
boost_chrono$secondaryArchSuffix == $portVersion
boost_system$secondaryArchSuffix == $portVersion
boost_thread$secondaryArchSuffix == $portVersion
lib:libboost_chrono$secondaryArchSuffix == $portVersion
lib:libboost_system$secondaryArchSuffix == $portVersion
lib:libboost_thread$secondaryArchSuffix == $portVersion
lib:libicuuc$secondaryArchSuffix
lib:libicui18n$secondaryArchSuffix
lib:libicudata$secondaryArchSuffix
"
PROVIDES_log="
boost_log$secondaryArchSuffix = $portVersion
lib:libboost_log$secondaryArchSuffix = $portVersion
lib:libboost_log_setup$secondaryArchSuffix = $portVersion
"
REQUIRES_log="
haiku$secondaryArchSuffix >= $haikuVersion
boost_chrono$secondaryArchSuffix == $portVersion
boost_system$secondaryArchSuffix == $portVersion
boost_date_time$secondaryArchSuffix == $portVersion
boost_thread$secondaryArchSuffix == $portVersion
lib:libboost_chrono$secondaryArchSuffix == $portVersion
lib:libboost_filesystem$secondaryArchSuffix == $portVersion
lib:libboost_system$secondaryArchSuffix == $portVersion
lib:libboost_date_time$secondaryArchSuffix == $portVersion
lib:libboost_thread$secondaryArchSuffix == $portVersion
"
PROVIDES_math="
boost_math$secondaryArchSuffix = $portVersion
lib:libboost_math_c99$secondaryArchSuffix = $portVersion
lib:libboost_math_c99f$secondaryArchSuffix = $portVersion
lib:libboost_math_c99l$secondaryArchSuffix = $portVersion
lib:libboost_math_tr1$secondaryArchSuffix = $portVersion
lib:libboost_math_tr1f$secondaryArchSuffix = $portVersion
lib:libboost_math_tr1l$secondaryArchSuffix = $portVersion
"
REQUIRES_math="
@@ -231,6 +344,7 @@ REQUIRES_math="
PROVIDES_program_options="
boost_program_options$secondaryArchSuffix = $portVersion
lib:libboost_program_options$secondaryArchSuffix = $portVersion
"
REQUIRES_program_options="
@@ -239,6 +353,7 @@ REQUIRES_program_options="
PROVIDES_random="
boost_random$secondaryArchSuffix = $portVersion
lib:libboost_random$secondaryArchSuffix = $portVersion
"
REQUIRES_random="
@@ -247,14 +362,20 @@ REQUIRES_random="
PROVIDES_regex="
boost_regex$secondaryArchSuffix = $portVersion
lib:libboost_regex$secondaryArchSuffix = $portVersion
"
REQUIRES_regex="
haiku$secondaryArchSuffix >= $haikuVersion
lib:libicuuc$secondaryArchSuffix
lib:libicui18n$secondaryArchSuffix
lib:libicudata$secondaryArchSuffix
"
PROVIDES_serialization="
boost_serialization$secondaryArchSuffix = $portVersion
lib:libboost_serialization$secondaryArchSuffix = $portVersion
lib:libboost_wserialization$secondaryArchSuffix = $portVersion
"
REQUIRES_serialization="
@@ -263,6 +384,7 @@ REQUIRES_serialization="
PROVIDES_signals="
boost_signals$secondaryArchSuffix = $portVersion
lib:libboost_signals$secondaryArchSuffix = $portVersion
"
REQUIRES_signals="
@@ -271,6 +393,7 @@ REQUIRES_signals="
PROVIDES_system="
boost_system$secondaryArchSuffix = $portVersion
lib:libboost_system$secondaryArchSuffix = $portVersion
"
REQUIRES_system="
@@ -279,6 +402,8 @@ REQUIRES_system="
PROVIDES_test="
boost_test$secondaryArchSuffix = $portVersion
lib:libboost_prg_exec_monitor$secondaryArchSuffix = $portVersion
# lib:libboost_test_exec_monitor$secondaryArchSuffix = $portVersion
"
REQUIRES_test="
@@ -287,33 +412,44 @@ REQUIRES_test="
PROVIDES_thread="
boost_thread$secondaryArchSuffix = $portVersion
lib:libboost_thread$secondaryArchSuffix = $portVersion
"
REQUIRES_thread="
haiku$secondaryArchSuffix >= $haikuVersion
boost_system$secondaryArchSuffix == $portVersion
boost_chrono$secondaryArchSuffix == $portVersion
lib:libboost_system$secondaryArchSuffix == $portVersion
"
PROVIDES_timer="
boost_timer$secondaryArchSuffix = $portVersion
lib:libboost_timer$secondaryArchSuffix = $portVersion
"
REQUIRES_timer="
haiku$secondaryArchSuffix >= $haikuVersion
boost_chrono$secondaryArchSuffix == $portVersion
boost_system$secondaryArchSuffix == $portVersion
lib:libboost_chrono$secondaryArchSuffix == $portVersion
lib:libboost_system$secondaryArchSuffix == $portVersion
"
PROVIDES_unit_test_framework="
boost_unit_test_framework$secondaryArchSuffix = $portVersion
lib:libboost_unit_test_framework$secondaryArchSuffix = $portVersion
"
REQUIRES_unit_test_framework="
haiku$secondaryArchSuffix >= $haikuVersion
"
PROVIDES_wave="
boost_wave$secondaryArchSuffix = $portVersion
lib:libboost_wave$secondaryArchSuffix = $portVersion
"
REQUIRES_wave="
haiku$secondaryArchSuffix >= $haikuVersion
boost_chrono$secondaryArchSuffix == $portVersion
boost_date_time$secondaryArchSuffix == $portVersion
boost_filesystem$secondaryArchSuffix == $portVersion
boost_system$secondaryArchSuffix == $portVersion
boost_thread$secondaryArchSuffix == $portVersion
lib:libboost_chrono$secondaryArchSuffix == $portVersion
lib:libboost_date_time$secondaryArchSuffix == $portVersion
lib:libboost_filesystem$secondaryArchSuffix == $portVersion
lib:libboost_system$secondaryArchSuffix == $portVersion
lib:libboost_thread$secondaryArchSuffix == $portVersion
"

View File

@@ -7,14 +7,14 @@ CHECKSUM_MD5="b2405cc9ebf264aa47ff615d9de527a2"
LICENSE="BSD (3-clause)"
COPYRIGHT="2000-2007 Niels Provos, 2005 Nick Mathewson, and other contributors."
REVISION="3"
REVISION="4"
ARCHITECTURES="x86_gcc2 x86"
SECONDARY_ARCHITECTURES="x86_gcc2 x86"
PROVIDES="
libevent${secondaryArchSuffix} = ${portVersion}
cmd:event_rpcgen.py
cmd:event_rpcgen.py$secondaryArchSuffix
lib:libevent$secondaryArchSuffix = 5.1.9 compat >= 5
lib:libevent_2.0$secondaryArchSuffix = 5.1.9 compat >= 5
lib:libevent_core_2.0$secondaryArchSuffix = 5.1.9 compat >= 5
@@ -30,6 +30,7 @@ REQUIRES="
haiku$secondaryArchSuffix >= $haikuVersion
lib:libssl$secondaryArchSuffix
lib:libcrypto$secondaryArchSuffix
cmd:python
"
# haiku${secondaryArchSuffix} doesn't define included libraries yet
# lib:libnetwork$secondaryArchSuffix >= $haikuVersion
@@ -48,6 +49,7 @@ BUILD_PREREQUIRES="
cmd:ld$secondaryArchSuffix
cmd:libtoolize
cmd:make
cmd:python
"
SOURCE_DIR="libevent-${portVersion}-stable"
@@ -76,10 +78,11 @@ INSTALL()
libevent_pthreads \
libevent_openssl
mv .libs/libevent_core.* \
.libs/libevent_extra.* \
.libs/libevent_pthreads.* \
.libs/libevent_openssl.* \
cp .libs/libevent-*.so* \
.libs/libevent_core-*.so* \
.libs/libevent_extra-*.so* \
.libs/libevent_pthreads-*.so* \
.libs/libevent_openssl-*.so* \
$developLibDir
fixPkgconfig
@@ -99,6 +102,7 @@ PROVIDES_devel="
lib:libevent_pthreads_2.0$secondaryArchSuffix = 5.1.9 compat >= 5
lib:libevent_openssl_2.0$secondaryArchSuffix = 5.1.9 compat >= 5
devel:libevent$secondaryArchSuffix = 5.1.9 compat >= 5
devel:libevent_2.0$secondaryArchSuffix = 5.1.9 compat >= 5
devel:libevent_core_2.0$secondaryArchSuffix = 5.1.9 compat >= 5
devel:libevent_extra_2.0$secondaryArchSuffix = 5.1.9 compat >= 5
devel:libevent_pthreads_2.0$secondaryArchSuffix = 5.1.9 compat >= 5

View File

@@ -1,25 +1,66 @@
DESCRIPTION="intltool"
HOMEPAGE="http://www.gnome.org/"
SUMMARY="intltool is a set of tools to centralize translation of file formats."
DESCRIPTION="intltool is a set of tools to centralize translation of many different file formats using GNU gettext-compatible PO files.
The intltool collection can be used to do these things:
* Extract translatable strings from various source files (.xml.in,
glade, .desktop.in, .server.in, .oaf.in).
* Collect the extracted strings together with messages from traditional
source files (.c, .h) in po/PACKAGE.pot.
* Merge back the translations from .po files into .xml, .desktop and
oaf files. This merge step will happen at build resp. installation time."
HOMEPAGE="http://freedesktop.org/wiki/Software/intltool"
SRC_URI="ftp://ftp.gnome.org/pub/gnome/sources/intltool/0.40/intltool-0.40.6.tar.gz"
CHECKSUM_MD5="8e40f9d1c7308eddbfd24b22cd540631"
REVISION="2"
STATUS_HAIKU="stable"
MESSAGE="Requires XML::Parser perl module installed"
DEPEND=""
LICENSE="GNU GPL v2"
COPYRIGHT="1994-1996, 1999-2002, 2004, 2005 Free Software Foundation, Inc."
REVISION="3"
ARCHITECTURES="x86_gcc2 x86 ?x86_64"
SECONDARY_ARCHITECTURES="x86_gcc2 x86"
PROVIDES="
intltool = $portVersion
cmd:intltool_extract$secondaryArchSuffix = $portVersion
cmd:intltool_merge$secondaryArchSuffix = $portVersion
cmd:intltool_prepare$secondaryArchSuffix = $portVersion
cmd:intltool_update$secondaryArchSuffix = $portVersion
cmd:intltoolize$secondaryArchSuffix = $portVersion
"
REQUIRES="
haiku$secondaryArchSuffix >= $haikuVersion
cmd:perl
xml_parser
"
BUILD_REQUIRES="
haiku${secondaryArchSuffix}_devel >= $haikuVersion
xml_parser
"
BUILD_PREREQUIRES="
cmd:gcc$secondaryArchSuffix
cmd:ld$secondaryArchSuffix
cmd:make
cmd:perl
cmd:autoconf
"
BUILD()
{
cd intltool-0.40.6
./configure --prefix="$(finddir B_COMMON_DIRECTORY)" \
--datarootdir="$(finddir B_COMMON_DATA_DIRECTORY)" \
--mandir="$(finddir B_COMMON_DOCUMENTATION_DIRECTORY)/man" \
runConfigure ./configure
make
}
INSTALL()
{
cd intltool-0.40.6
make install
}
TEST ()
{
make check
}
LICENSE="GNU GPL v2"
COPYRIGHT="1994-1996, 1999-2002, 2004, 2005 Free Software Foundation, Inc."

View File

@@ -0,0 +1,72 @@
DESCRIPTION="
Neverball is part puzzle game, part action game, and entirely a test
of skill. Tilt the floor to roll a ball through an obstacle course
before time runs out.
"
SUMMARY="Tilt the floor to roll a ball through an course before time runs out."
HOMEPAGE="http://neverball.org"
COPYRIGHT="2002-2010 The Neverball Team"
LICENSE="GNU GPL v2"
SRC_URI="http://neverball.org/neverball-1.5.4.tar.gz"
CHECKSUM_MD5="c523b0f72c2035831310e821162f7bd7"
REVISION="1"
ARCHITECTURES="x86 ?x86_64"
if [ $effectiveTargetArchitecture != x86_gcc2 ]; then
# x86_gcc2 is fine as primary target architecture as long as we're building
# for a different secondary architecture.
ARCHITECTURES="$ARCHITECTURES x86_gcc2"
else
ARCHITECTURES="$ARCHITECTURES !x86_gcc2"
fi
SECONDARY_ARCHITECTURES="x86"
PATCHES="neverball-1.5.4.patch"
PROVIDES="
neverball$secondaryArchSuffix = $portVersion
app:neverball$secondaryArchSuffix = $portVersion
"
REQUIRES="
haiku$secondaryArchSuffix >= $haikuVersion
lib:libphysfs$secondaryArchSuffix
lib:libsdl$secondaryArchSuffix
lib:libsdl_mixer$secondaryArchSuffix
lib:libsdl_ttf$secondaryArchSuffix
lib:libvorbis$secondaryArchSuffix
lib:libintl$secondaryArchSuffix
lib:libpng$secondaryArchSuffix
lib:libjpeg$secondaryArchSuffix
lib:libogg$secondaryArchSuffix
"
BUILD_REQUIRES="
haiku${secondaryArchSuffix}_devel >= $haikuVersion
devel:libphysfs$secondaryArchSuffix
devel:libsdl$secondaryArchSuffix
devel:libsdl_mixer$secondaryArchSuffix
devel:libsdl_ttf$secondaryArchSuffix
devel:libvorbis$secondaryArchSuffix
devel:libpng$secondaryArchSuffix
devel:libjpeg$secondaryArchSuffix
devel:libogg$secondaryArchSuffix
"
BUILD_PREREQUIRES="
gettext$secondaryArchSuffix # it's needed
cmd:gcc$secondaryArchSuffix
cmd:ld$secondaryArchSuffix
cmd:make
cmd:libpng_config$secondaryArchSuffix
"
BUILD()
{
make
}
INSTALL()
{
mkdir -p $appsDir/neverball
cp -rf neverball neverputt mapc README COPYING CHANGES data $appsDir/neverball
addAppDeskbarSymlink $appsDir/neverball/neverball
}

View File

@@ -0,0 +1,13 @@
diff --git a/Makefile b/Makefile
index a22fed1..e095a3a 100644
--- a/Makefile
+++ b/Makefile
@@ -111,7 +111,7 @@ ifeq ($(ENABLE_WII),1)
TILT_LIBS := -lcwiimote -lbluetooth
endif
-OGL_LIBS := -lGL -lm
+OGL_LIBS := -lGL -lintl
ifdef MINGW
ifneq ($(ENABLE_NLS),0)

View File

@@ -0,0 +1,63 @@
SUMMARY="The one blog app to rule them all!"
DESCRIPTION="
Want to blog, but WebPositive isn't quick enough?
Now you can use the new blog app: BlogPositive!
It can connect to Wordpress, LiveJournal and OnSugar blogs.
"
HOMEPAGE="http://blogpositive.puckipedia.com"
SRC_URI="git://github.com/puckipedia/BlogPositive.git#tags/v0.3"
REVISION="1"
LICENSE="MIT"
COPYRIGHT="2013 :Puck Meerburg"
ARCHITECTURES="x86 x86_gcc2 x86_64"
PROVIDES="
blogpositive = $portVersion
app:blogpositive = $portVersion
"
REQUIRES="
lib:libcurl
lib:libz
haiku >= $haikuVersion
"
BUILD_PREREQUIRES="
makefile_engine
cmd:g++
cmd:xres
cmd:mkdepend
"
BUILD_REQUIRES="
devel:libcurl
devel:libz
haiku_devel >= $haikuVersion
"
USER_SETTINGS_FILES="
settings/BlogPositive directory
"
BUILD()
{
make
for i in BlogPositivePlugins/*; do
if [ -f $i/makefile ]; then
make -C $i
fi
done
make bindcatalogs
}
INSTALL()
{
make install INSTALL_DIR=$appsDir
addAppDeskbarSymlink $appsDir/BlogPositive
for i in BlogPositivePlugins/*; do
if [ -f $i/makefile ]; then
make -C $i install INSTALL_DIR=$addOnsDir/BlogPositive
fi
done
}

View File

@@ -0,0 +1,45 @@
SUMMARY="Cmake GUI with Haiku Native Widgets"
DESCRIPTION="cmake_haiku is a native GUI frontend for Cmake with features like configuring a project and generating files for other build systems like Makefiles, Ninja etc."
HOMEPAGE="https://github.com/AdrianArroyoCalle/cmake-haiku"
SRC_URI="git+https://github.com/AdrianArroyoCalle/cmake-haiku.git#a42d55b"
LICENSE="BSD (3-clause)"
COPYRIGHT="2012-2013 Adrián Arroyo Calle <adrian.arroyocalle@gmail.com>"
REVISION="1"
ARCHITECTURES="x86_gcc2 ?x86 ?x86_64"
SECONDARY_ARCHITECTURES="x86_gcc2 ?x86"
PROVIDES="
cmake_haiku = $portVersion
app:cmake_haiku = $portVersion
"
REQUIRES="
haiku$secondaryArchSuffix >= $haikuVersion
cmd:cmake
"
BUILD_REQUIRES="
haiku${secondaryArchSuffix}_devel >= $haikuVersion
"
BUILD_PREREQUIRES="
cmd:gcc$secondaryArchSuffix
cmd:ld$secondaryArchSuffix
cmd:cmake
cmd:make
"
BUILD()
{
cmake .
make
}
INSTALL()
{
mkdir -p $appsDir
cp cmake-gui $appsDir/CmakeHaiku
addAppDeskbarSymlink $appsDir/CmakeHaiku
}

View File

@@ -0,0 +1,50 @@
SUMMARY="Save optimized PNG files"
DESCRIPTION="
The OptiPNGTranslator for Haiku allows you to save images as
PNG files which have been optimized by OptiPNG.
"
HOMEPAGE="https://github.com/noryb009/OptiPNGTranslator/"
SRC_URI="git://github.com/noryb009/OptiPNGTranslator.git#8e3996a92d840f3c097cf954e001d4f371265161"
LICENSE="MIT"
COPYRIGHT="2013 Luke (noryb009)"
REVISION="1"
ARCHITECTURES="x86_gcc2 x86 x86_64"
if [ $buildArchitecture = x86_gcc2 ] && \
[ $targetArchitecture = x86_gcc2 ]; then
optipngSuffix="_x86"
fi
PROVIDES="
optipngtranslator = $portVersion
app:optipngtranslator = $portVersion
"
REQUIRES="
haiku >= $haikuVersion
cmd:optipng$optipngSuffix
"
BUILD_REQUIRES="
haiku_devel >= $haikuVersion
"
BUILD_PREREQUIRES="
cmd:as
cmd:gcc
makefile_engine
cmd:make
cmd:mkdepend
"
BUILD()
{
make \
BUILDHOME=`finddir B_SYSTEM_DEVELOP_DIRECTORY` \
TARGET_DIR=.
}
INSTALL()
{
mkdir -p $addOnsDir/Translators
cp OptiPNGTranslator $addOnsDir/Translators
}

View File

@@ -0,0 +1,22 @@
#!/bin/sh
settingsDir="$(finddir B_USER_SETTINGS_DIRECTORY)"
recibeSysDataDir="$(finddir B_SYSTEM_DATA_DIRECTORY)"
recibeUserDataDir="$(finddir B_USER_DATA_DIRECTORY)"
recibesFileBase="recibe/recipes.db.zip"
if [ -f "$settingsDir/recipes.db" ]; then
exit 0 # already have a recipes database
fi
if [ -f "$recibeSysDataDir/$recibesFileBase" ]; then
recipesZipFile="$recibeSysDataDir/$recibesFileBase"
elif [ -f "$recibeUserDataDir/$recibesFileBase" ]; then
recipesZipFile="$recibeUserDataDir/$recibesFileBase"
else
exit 1 # couldn't find recipes.db
fi
cd "$settingsDir"
unzip "$recipesZipFile"

View File

@@ -0,0 +1,69 @@
SUMMARY="A cooking recipe manager"
DESCRIPTION="
Recibe, written by DarkWyrm, is a cooking recipe manager. The
included database contains around 52,000 different recipes for
you to try.
"
HOMEPAGE="https://github.com/HaikuArchives/Recibe"
SRC_URI="git://github.com/HaikuArchives/Recibe.git#c1d5a57264d8964a2592bc9b43588b3430bd48ad"
SRC_URI_2="http://ports-space.haiku-files.org/recibe/recipes.db.zip#noarchive"
CHECKSUM_MD5_2="1dda608c90b426521b69ab51311f0f15"
LICENSE="MIT"
COPYRIGHT="2007 DarkWyrm"
REVISION="1"
ARCHITECTURES="x86_gcc2 ?x86 ?x86_64"
ADDITIONAL_FILES="
install_recipes_database.sh
"
PROVIDES="
recibe = $portVersion
app:recibe = $portVersion
"
REQUIRES="
haiku >= $haikuVersion
lib:libsqlite3
"
BUILD_REQUIRES="
haiku_devel >= $haikuVersion
devel:libsqlite3
"
BUILD_PREREQUIRES="
cmd:gcc
makefile_engine
cmd:make
cmd:mkdepend
cmd:xres
"
USER_SETTINGS_FILES="
settings/recipes.db
settings/Recibe_favorites
"
POST_INSTALL_SCRIPTS="
$relativePostInstallDir/install_recipes_database.sh
"
BUILD()
{
cd sources
make OBJ_DIR=objects \
BUILDHOME=`finddir B_SYSTEM_DEVELOP_DIRECTORY`
}
INSTALL()
{
mkdir -p $appsDir
cp sources/objects/Recibe $appsDir
addAppDeskbarSymlink $appsDir/Recibe
mkdir -p $dataDir/recibe
cp $sourceDir2/recipes.db.zip $dataDir/recibe
mkdir -p $postInstallDir
cp $portDir/additional-files/install_recipes_database.sh $postInstallDir
}

View File

@@ -0,0 +1,2 @@
There isn't a specific license set, but on BeBits and HaikuWare it says the license is Freeware. HaikuWare and BeBits also have the source when
you download it. The official website (http://thomas.thiriez.free.fr/beos/RemoteControl/index.html) also just says "freeware"

View File

@@ -0,0 +1,55 @@
SUMMARY="Remote control your Haiku machines with ease!"
DESCRIPTION="
With the Remote Control app, you can control another Haiku computer also
running the Remote Control app, no matter where it is.
The app is able to just view what's on the screen, or also control the computer.
This package contains the RCClient client and RCServer server.
Both are to be run in the terminal.
"
HOMEPAGE="http://thomas.thiriez.free.fr/beos/RemoteControl/index.html"
SRC_URI="git://github.com/HaikuArchives/RemoteControl#c59e89e3643e4693a75e5b5456596533d068cc29"
REVISION="1"
LICENSE="RemoteControl Unknown"
COPYRIGHT="2001 Thomas Thiriez"
ARCHITECTURES="x86 x86_gcc2"
PROVIDES="
remotecontrol = $portVersion
cmd:rcserver = $portVersion
cmd:rcclient = $portVersion
addon:rcinputfilter = $portVersion
addon:rcinputdevice = $portVersion
"
REQUIRES="
haiku >= $haikuVersion
"
BUILD_PREREQUIRES="
makefile_engine
cmd:g++
cmd:xres
cmd:make
cmd:mkdepend
"
BUILD_REQUIRES="
haiku_devel >= $haikuVersion
"
BUILD()
{
cd sources
make -C RCClient
make -C RCInputDevice
make -C RCInputFilter
make -C RCServer
}
INSTALL()
{
cd sources
make -C RCClient install INSTALL_DIR=$binDir
make -C RCServer install INSTALL_DIR=$binDir
make -C RCInputDevice install INSTALL_DIR=$addOnsDir/input_server/devices
make -C RCInputFilter install INSTALL_DIR=$addOnsDir/input_server/filters
}

View File

@@ -2,7 +2,7 @@ SUMMARY="A maddeningly-addictive puzzle game."
DESCRIPTION="A maddeningly-addictive puzzle game.
The concept is simple: put the tiles in the grid on the left such that the numbers match wherever 2 tiles touch."
HOMEPAGE="https://github.com/HaikuArchives/BeVexed"
SRC_URI="git+https://github.com/HaikuArchives/BeVexed"
SRC_URI="git+https://github.com/HaikuArchives/BeVexed#3a45d8f364"
REVISION="1"
LICENSE="MIT"
@@ -30,6 +30,10 @@ BUILD_PREREQUIRES="
cmd:mkdepend
"
USER_SETTINGS_FILES="
settings/BeVexed
"
BUILD()
{
cd source

View File

@@ -11,7 +11,7 @@ CHECKSUM_MD5="8853d89aaf859065e95dcdf98b6bed73"
LICENSE="Zlib"
COPYRIGHT="2001-2012 Cosmin Truta"
REVISION="2"
ARCHITECTURES="x86_gcc2 x86 ?x86_64"
ARCHITECTURES="x86_gcc2 x86 x86_64"
PROVIDES="
optipng$secondaryArchSuffix = $portVersion

View File

@@ -7,41 +7,49 @@ LICENSE="GNU LGPL v2"
COPYRIGHT="2012 Andrew Hawkins"
REVISION="1"
ARCHITECTURES="!x86_gcc2 ?x86 ?x86_64"
ARCHITECTURES="?x86_gcc2 ?x86 ?x86_64"
SECONDARY_ARCHITECTURES="?x86 ?x86_64"
PROVIDES="
lib:libcoverart
libcoverart = $portVersion
lib:libcoverart$secondaryArchSuffix = $portVersion
"
REQUIRES="
haiku
lib:libjansson
lib:libneon
haiku$secondaryArchSuffix >= $haikuVersion
lib:libjansson$secondaryArchSuffix
lib:libneon$secondaryArchSuffix
"
BUILD_REQUIRES="
devel:libjansson
devel:libneon
devel:libjansson$secondaryArchSuffix
devel:libneon$secondaryArchSuffix
"
BUILD_PREREQUIRES="
haiku_devel
haiku${secondaryArchSuffix}_devel >= $haikuVersion
cmd:cmake
cmd:gcc
cmd:gcc$secondaryArchSuffix
cmd:make
cmd:pkg_config$secondaryArchSuffix
"
SOURCE_DIR="libcoverart-{PROJECT_VERSION}"
BUILD()
{
cmake .
cmake .
make
}
INSTALL()
{
make install
prepareInstalledDevelLibs libcoverart
fixPkgconfig
packageEntries devel \
$developDir
}
TEST()
@@ -50,3 +58,12 @@ TEST()
cd tests
./test
}
PROVIDES_devel="
libcoverart${secondaryArchSuffix}_devel = $portVersion
devel:libcoverart$secondaryArchSuffix = $portVersion
"
REQUIRES_devel="
libcoverart$secondaryArchSuffix == $portVersion base
"

View File

@@ -15,7 +15,7 @@ PROVIDES="
lib:libmp3lame = $portVersion compat >= 0.0.0
"
REQUIRES="
haiku
haiku >= $haikuVersion
lib:libiconv
"
BUILD_REQUIRES="
@@ -85,6 +85,4 @@ PROVIDES_devel="
"
REQUIRES_devel="
lame == $portVersion base
lib:libiconv >= 2
lib:libroot
"

141
net-misc/tor/licenses/Tor Normal file
View File

@@ -0,0 +1,141 @@
This file contains the license for Tor,
a free software project to provide anonymity on the Internet.
It also lists the licenses for other components used by Tor.
For more information about Tor, see https://www.torproject.org/.
If you got this file as a part of a larger bundle,
there may be other license terms that you should be aware of.
===============================================================================
Tor is distributed under this license:
Copyright (c) 2001-2004, Roger Dingledine
Copyright (c) 2004-2006, Roger Dingledine, Nick Mathewson
Copyright (c) 2007-2013, The Tor Project, Inc.
Redistribution and use in source and binary forms, with or without
modification, are permitted provided that the following conditions are
met:
* Redistributions of source code must retain the above copyright
notice, this list of conditions and the following disclaimer.
* Redistributions in binary form must reproduce the above
copyright notice, this list of conditions and the following disclaimer
in the documentation and/or other materials provided with the
distribution.
* Neither the names of the copyright owners nor the names of its
contributors may be used to endorse or promote products derived from
this software without specific prior written permission.
THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS
"AS IS" AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT
LIMITED TO, THE IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR
A PARTICULAR PURPOSE ARE DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT
OWNER OR CONTRIBUTORS BE LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL,
SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT
LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE,
DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY
THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT
(INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE
OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
===============================================================================
src/ext/strlcat.c and src/ext/strlcpy.c by Todd C. Miller are licensed
under the following license:
* Copyright (c) 1998 Todd C. Miller <Todd.Miller@courtesan.com>
* All rights reserved.
*
* Redistribution and use in source and binary forms, with or without
* modification, are permitted provided that the following conditions
* are met:
* 1. Redistributions of source code must retain the above copyright
* notice, this list of conditions and the following disclaimer.
* 2. Redistributions in binary form must reproduce the above copyright
* notice, this list of conditions and the following disclaimer in the
* documentation and/or other materials provided with the distribution.
* 3. The name of the author may not be used to endorse or promote products
* derived from this software without specific prior written permission.
*
* THIS SOFTWARE IS PROVIDED ``AS IS'' AND ANY EXPRESS OR IMPLIED WARRANTIES,
* INCLUDING, BUT NOT LIMITED TO, THE IMPLIED WARRANTIES OF MERCHANTABILITY
* AND FITNESS FOR A PARTICULAR PURPOSE ARE DISCLAIMED. IN NO EVENT SHALL
* THE AUTHOR BE LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL,
* EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT LIMITED TO,
* PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, DATA, OR PROFITS;
* OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY,
* WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR
* OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF
* ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
===============================================================================
src/ext/tor_queue.h is licensed under the following license:
* Copyright (c) 1991, 1993
* The Regents of the University of California. All rights reserved.
*
* Redistribution and use in source and binary forms, with or without
* modification, are permitted provided that the following conditions
* are met:
* 1. Redistributions of source code must retain the above copyright
* notice, this list of conditions and the following disclaimer.
* 2. Redistributions in binary form must reproduce the above copyright
* notice, this list of conditions and the following disclaimer in the
* documentation and/or other materials provided with the distribution.
* 3. Neither the name of the University nor the names of its contributors
* may be used to endorse or promote products derived from this software
* without specific prior written permission.
*
* THIS SOFTWARE IS PROVIDED BY THE REGENTS AND CONTRIBUTORS ``AS IS'' AND
* ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE
* IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE
* ARE DISCLAIMED. IN NO EVENT SHALL THE REGENTS OR CONTRIBUTORS BE LIABLE
* FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL
* DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS
* OR SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION)
* HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT
* LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY
* OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF
* SUCH DAMAGE.
===============================================================================
src/config/geoip is licensed under the following license:
OPEN DATA LICENSE (GeoLite Country and GeoLite City databases)
Copyright (c) 2008 MaxMind, Inc. All Rights Reserved.
All advertising materials and documentation mentioning features or use of
this database must display the following acknowledgment:
"This product includes GeoLite data created by MaxMind, available from
http://maxmind.com/"
Redistribution and use with or without modification, are permitted provided
that the following conditions are met:
1. Redistributions must retain the above copyright notice, this list of
conditions and the following disclaimer in the documentation and/or other
materials provided with the distribution.
2. All advertising materials and documentation mentioning features or use of
this database must display the following acknowledgement:
"This product includes GeoLite data created by MaxMind, available from
http://maxmind.com/"
3. "MaxMind" may not be used to endorse or promote products derived from this
database without specific prior written permission.
THIS DATABASE IS PROVIDED BY MAXMIND, INC ``AS IS'' AND ANY
EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE IMPLIED
WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE ARE
DISCLAIMED. IN NO EVENT SHALL MAXMIND BE LIABLE FOR ANY
DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES
(INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES;
LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND
ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT
(INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS
DATABASE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
===============================================================================
If you got Tor as a static binary with OpenSSL included, then you should know:
"This product includes software developed by the OpenSSL Project
for use in the OpenSSL Toolkit (http://www.openssl.org/)"
===============================================================================

View File

@@ -0,0 +1,73 @@
SUMMARY="A virtual layer that helps you improve privacy and anonymity"
DESCRIPTION="Tor is a network of virtual tunnels that allows people and groups to improve their privacy and security on the Internet. It also enables software developers to create new communication tools with built-in privacy features. Tor provides the foundation for a range of applications that allow organizations and individuals to share information over public networks without compromising their privacy.
Individuals use Tor to keep websites from tracking them and their family members, or to connect to news sites, instant messaging services, or the like when these are blocked by their local Internet providers. Tor's hidden services let users publish web sites and other services without needing to reveal the location of the site. Individuals also use Tor for socially sensitive communication: chat rooms and web forums for rape and abuse survivors, or people with illnesses.
Journalists use Tor to communicate more safely with whistleblowers and dissidents. Non-governmental organizations (NGOs) use Tor to allow their workers to connect to their home website while they're in a foreign country, without notifying everybody nearby that they're working with that organization.
Groups such as Indymedia recommend Tor for safeguarding their members' online privacy and security. Activist groups like the Electronic Frontier Foundation (EFF) recommend Tor as a mechanism for maintaining civil liberties online. Corporations use Tor as a safe way to conduct competitive analysis, and to protect sensitive procurement patterns from eavesdroppers. They also use it to replace traditional VPNs, which reveal the exact amount and timing of communication. Which locations have employees working late? Which locations have employees consulting job-hunting websites? Which research divisions are communicating with the company's patent lawyers?
A branch of the U.S. Navy uses Tor for open source intelligence gathering, and one of its teams used Tor while deployed in the Middle East recently. Law enforcement uses Tor for visiting or surveilling web sites without leaving government IP addresses in their web logs, and for security during sting operations.
The variety of people who use Tor is actually part of what makes it so secure. Tor hides you among the other users on the network, so the more populous and diverse the user base for Tor is, the more your anonymity will be protected."
HOMEPAGE="https://www.torproject.org"
SRC_URI="https://www.torproject.org/dist/tor-0.2.4.20.tar.gz"
CHECKSUM_MD5="a8cd8e3b3a3f6a7770f2c22d280f19b8"
REVISION="1"
ARCHITECTURES="x86_gcc2 x86 ?x86_64"
SECONDARY_ARCHITECTURES="x86_gcc2 x86"
PROVIDES="
tor = $portVersion
cmd:tor$secondaryArchSuffix
cmd:tor_gencert$secondaryArchSuffix
cmd:tor_resolve$secondaryArchSuffix
cmd:torify$secondaryArchSuffix
"
REQUIRES="
haiku$secondaryArchSuffix >= $haikuVersion
lib:libevent$secondaryArchSuffix
lib:libz$secondaryArchSuffix
lib:libssl$secondaryArchSuffix
lib:libcrypto$secondaryArchSuffix
"
BUILD_REQUIRES="
haiku${secondaryArchSuffix}_devel >= $haikuVersion
devel:libevent$secondaryArchSuffix
devel:libssl$secondaryArchSuffix
devel:libz$secondaryArchSuffix
"
BUILD_PREREQUIRES="
cmd:gcc$secondaryArchSuffix
cmd:ld$secondaryArchSuffix
cmd:make
"
LICENSE="Tor"
COPYRIGHT="
2001-2004, Roger Dingledine
2004-2006, Roger Dingledine, Nick Mathewson
2007-2013, The Tor Project, Inc.
"
USER_SETTINGS_FILES="
settings/tor directory
"
GLOBAL_WRITABLE_FILES="
settings/tor/torrc.sample auto-merge
"
BUILD()
{
runConfigure ./configure
make
}
INSTALL()
{
make install
}

View File

@@ -0,0 +1,108 @@
diff -ur transmission-2.82/libtransmission/platform-quota.c transmission-2.82-haiku/libtransmission/platform-quota.c
--- transmission-2.82/libtransmission/platform-quota.c 2013-08-09 02:45:44.822345728 +0000
+++ transmission-2.82-haiku/libtransmission/platform-quota.c 2013-12-27 10:29:53.872415232 +0000
@@ -16,7 +16,7 @@
#include <unistd.h> /* getuid() */
#include <event2/util.h> /* evutil_ascii_strcasecmp () */
-#ifndef WIN32
+#if !defined(WIN32) && !defined(__HAIKU__)
#include <sys/types.h> /* types needed by quota.h */
#if defined(__FreeBSD__) || defined(__OpenBSD__)
#include <ufs/ufs/quota.h> /* quotactl() */
@@ -67,7 +67,7 @@
****
***/
-#ifndef WIN32
+#if !defined(WIN32) && !defined(__HAIKU__)
static const char *
getdev (const char * path)
{
@@ -300,7 +300,7 @@
{
int64_t ret = -1;
-#ifndef WIN32
+#if !defined(WIN32) && !defined(__HAIKU__)
if (info->fstype && !evutil_ascii_strcasecmp(info->fstype, "xfs"))
{
@@ -347,7 +347,7 @@
info = tr_new0 (struct tr_device_info, 1);
info->path = tr_strdup (path);
-#ifndef WIN32
+#if !defined(WIN32) && !defined(__HAIKU__)
info->device = tr_strdup (getblkdev (path));
info->fstype = tr_strdup (getfstype (path));
#endif
diff -ur transmission-2.82/third-party/miniupnp/connecthostport.c transmission-2.82-haiku/third-party/miniupnp/connecthostport.c
--- transmission-2.82/third-party/miniupnp/connecthostport.c 2013-08-09 02:47:50.398196736 +0000
+++ transmission-2.82-haiku/third-party/miniupnp/connecthostport.c 2013-12-27 10:30:00.589037568 +0000
@@ -24,6 +24,7 @@
#else /* #ifdef _WIN32 */
#include <unistd.h>
#include <sys/param.h>
+#include <sys/select.h>
#include <errno.h>
#define closesocket close
#include <netdb.h>
diff -ur transmission-2.82/third-party/miniupnp/miniupnpc.c transmission-2.82-haiku/third-party/miniupnp/miniupnpc.c
--- transmission-2.82/third-party/miniupnp/miniupnpc.c 2013-08-09 02:47:50.894435328 +0000
+++ transmission-2.82-haiku/third-party/miniupnp/miniupnpc.c 2013-12-27 10:30:00.625737728 +0000
@@ -17,7 +17,7 @@
#endif
#endif
-#if !defined(__OpenBSD__) && !defined(__NetBSD__) && !defined(MACOSX) && !defined(_WIN32) && !defined(__CYGWIN__) && !defined(__sun)
+#if !defined(__OpenBSD__) && !defined(__NetBSD__) && !defined(MACOSX) && !defined(_WIN32) && !defined(__CYGWIN__) && !defined(__sun) && !defined(__HAIKU__)
#define HAS_IP_MREQN
#endif
diff -ur transmission-2.82/third-party/miniupnp/portlistingparse.c transmission-2.82-haiku/third-party/miniupnp/portlistingparse.c
--- transmission-2.82/third-party/miniupnp/portlistingparse.c 2013-08-09 02:47:50.074186752 +0000
+++ transmission-2.82-haiku/third-party/miniupnp/portlistingparse.c 2013-12-27 10:30:00.638582784 +0000
@@ -28,7 +28,7 @@
/* Helper function */
static UNSIGNED_INTEGER
-atoui(const char * p, int l)
+my_atoui(const char * p, int l)
{
UNSIGNED_INTEGER r = 0;
while(l > 0 && *p)
@@ -92,7 +92,7 @@
pm->remoteHost[l] = '\0';
break;
case NewExternalPort:
- pm->externalPort = (unsigned short)atoui(data, l);
+ pm->externalPort = (unsigned short)my_atoui(data, l);
break;
case NewProtocol:
if(l > 3)
@@ -101,21 +101,21 @@
pm->protocol[l] = '\0';
break;
case NewInternalPort:
- pm->internalPort = (unsigned short)atoui(data, l);
+ pm->internalPort = (unsigned short)my_atoui(data, l);
break;
case NewInternalClient:
memcpy(pm->internalClient, data, l);
pm->internalClient[l] = '\0';
break;
case NewEnabled:
- pm->enabled = (unsigned char)atoui(data, l);
+ pm->enabled = (unsigned char)my_atoui(data, l);
break;
case NewDescription:
memcpy(pm->description, data, l);
pm->description[l] = '\0';
break;
case NewLeaseTime:
- pm->leaseTime = atoui(data, l);
+ pm->leaseTime = my_atoui(data, l);
break;
default:
break;

View File

@@ -0,0 +1,104 @@
SUMMARY="Transmission is a cross-platform open source BitTorrent client"
DESCRIPTION="Transmission is a cross-platform BitTorrent client that is:
Open Source.
Transmission is an open source, volunteer-based project. Unlike some BitTorrent clients, Transmission doesn't play games with its users to make money:
Transmission doesn't bundle toolbars, pop-up ads, flash ads, twitter tools, or anything else.
It doesn't hold some feaures back for a payware version.
Its source code is available for anyone to review.
We don't track our users, and our website and forums have no third-party ads or analytics.
Easy.
Transmission is designed for easy, powerful use. We've set the defaults to Just Work and it only takes a few clicks to configure advanced features like watch directories, bad peer blocklists, and the web interface.
Lean.
In separate benchmarks, Linux Format and Lacrocivious both found Transmission to use less CPU than any other GUI client. It even used less CPU than some non-GUI clients.
Transmission also has the lowest memory footprint of any major BitTorrent client.
Imageshack chose Transmission for its BitTorrent farms because the competition requires amounts of memory several times greater than Transmission.
Transmission's small footprint is one reason why many home device manufacturers, such as FON, Belkin, and Networked Media Tank ship with Transmission. When Belkin and Vuze Inc. partnered to write a Torrent Genie to let people who ran Vuze and owned a Belkin router keep sharing files even when Vuze wasn't running, they decided to use Transmission -- not Vuze's own BitTorrent client -- on the router.
Native.
Unlike many cross-platform applications, Transmission integrates seamlessly with your operating system.
Powerful.
Transmission has the features you want from a BitTorrent client: encryption, a web interface, peer exchange, magnet links, DHT, µTP, UPnP and NAT-PMP port forwarding, webseed support, watch directories, tracker editing, global and per-torrent speed limits, and more."
HOMEPAGE="http://www.transmissionbt.com/"
SRC_URI="https://transmission.cachefly.net/transmission-2.82.tar.xz"
CHECKSUM_MD5="a5ef870c0410b12d10449c2d36fa4661"
REVISION="1"
ARCHITECTURES="x86 ?x86_64"
if [ $effectiveTargetArchitecture != x86_gcc2 ]; then
# x86_gcc2 is fine as primary target architecture as long as we're building
# for a different secondary architecture.
ARCHITECTURES="$ARCHITECTURES x86_gcc2"
else
ARCHITECTURES="$ARCHITECTURES !x86_gcc2"
fi
SECONDARY_ARCHITECTURES="!x86_gcc2 x86"
PROVIDES="
transmission = $portVersion
cmd:transmission_cli$secondaryArchSuffix
cmd:transmission_create$secondaryArchSuffix
cmd:transmission_daemon$secondaryArchSuffix
cmd:transmission_edit$secondaryArchSuffix
cmd:transmission_remote$secondaryArchSuffix
cmd:transmission_show$secondaryArchSuffix
"
REQUIRES="
haiku$secondaryArchSuffix >= $haikuVersion
lib:libssl$secondaryArchSuffix
lib:libcrypto$secondaryArchSuffix
lib:libcurl$secondaryArchSuffix
lib:libevent$secondaryArchSuffix
lib:libiconv$secondaryArchSuffix
lib:libintl$secondaryArchSuffix
lib:libz$secondaryArchSuffix
"
BUILD_REQUIRES="
haiku${secondaryArchSuffix}_devel >= $haikuVersion
devel:libssl$secondaryArchSuffix
devel:libcurl$secondaryArchSuffix
devel:libz$secondaryArchSuffix
devel:libevent$secondaryArchSuffix
devel:libiconv$secondaryArchSuffix
devel:libgettextlib$secondaryArchSuffix >= 0.14.1
intltool >= 0.40
"
BUILD_PREREQUIRES="
cmd:gcc$secondaryArchSuffix
cmd:ld$secondaryArchSuffix
cmd:pkg_config$secondaryArchSuffix
cmd:make
"
LICENSE="Transmission
MIT
GNU GPL v2
"
COPYRIGHT="2005-2013. All code is copyrighted by the respective authors."
PATCHES="transmission-2.82.patch"
BUILD()
{
runConfigure ./configure --without-gtk --datadir=$dataDir
make
}
INSTALL()
{
make install
}

View File

@@ -0,0 +1,46 @@
SUMMARY="Prints out values of POSIX configuration variables"
DESCRIPTION="FreeBSD getconf
The getconf command prints values of system configuration variables.
It is a command interface to the values returned by sysconf(3), confstr(3), and pathconf(3)."
HOMEPAGE="http://www.freebsd.org/"
COPYRIGHT="2000 Massachusetts Institute of Technology"
LICENSE="MIT"
SRC_URI="svn+http://svn.freebsd.org/base/head/usr.bin/getconf#260000"
#CHECKSUM_MD5=""
REVISION="1"
ARCHITECTURES="x86_gcc2 x86 x86_64"
PATCHES="getconf-makefile.patch"
PROVIDES="
getconf = $portVersion
cmd:getconf = $portVersion
"
REQUIRES="
haiku >= $haikuVersion
"
BUILD_REQUIRES="
haiku_devel >= $haikuVersion
"
BUILD_PREREQUIRES="
makefile_engine
cmd:mkdepend
cmd:gcc
cmd:make
"
BUILD()
{
export COPYRIGHT
export LICENSE
export PORT_VERSION=$portVersion
make -f makefile.haiku $jobArgs
}
INSTALL()
{
make -f makefile.haiku install INSTALL_DIR=$binDir
mkdir -p $manDir/man1
install -m 644 getconf.1 $manDir/man1/
}

View File

@@ -0,0 +1,177 @@
From 0ad9f5b07a4d3734402efb6519a5778f9fc18b20 Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?Fran=C3=A7ois=20Revol?= <revol@free.fr>
Date: Sat, 28 Dec 2013 09:49:05 +0100
Subject: [PATCH] Add Haiku makefile
MIME-Version: 1.0
Content-Type: text/plain; charset=UTF-8
Content-Transfer-Encoding: 8bit
Signed-off-by: François Revol <revol@free.fr>
---
makefile.haiku | 154 +++++++++++++++++++++++++++++++++++++++++++++++++++++++++
1 file changed, 154 insertions(+)
create mode 100644 makefile.haiku
diff --git a/makefile.haiku b/makefile.haiku
new file mode 100644
index 0000000..ed83568
--- /dev/null
+++ b/makefile.haiku
@@ -0,0 +1,154 @@
+%.c: %.gperf
+ LC_ALL=C awk -f ${CURDIR}/fake-gperf.awk $< >$@
+
+GENSRC=confstr.c limits.c pathconf.c progenv.c sysconf.c
+
+## BeOS Generic Makefile v2.5 ##
+
+## Fill in this file to specify the project being created, and the referenced
+## makefile-engine will do all of the hard work for you. This handles both
+## Intel and PowerPC builds of the BeOS and Haiku.
+
+## Application Specific Settings ---------------------------------------------
+
+# specify the name of the binary
+NAME= getconf
+
+# specify the type of binary
+# APP: Application
+# SHARED: Shared library or add-on
+# STATIC: Static library archive
+# DRIVER: Kernel Driver
+TYPE= APP
+
+# if you plan to use localization features
+# specify the application MIME siganture
+APP_MIME_SIG=
+
+# add support for new Pe and Eddie features
+# to fill in generic makefile
+
+#%{
+# @src->@
+
+# specify the source files to use
+# full paths or paths relative to the makefile can be included
+# all files, regardless of directory, will have their object
+# files created in the common object directory.
+# Note that this means this makefile will not work correctly
+# if two source files with the same name (source.c or source.cpp)
+# are included from different directories. Also note that spaces
+# in folder names do not work well with this makefile.
+SRCS= getconf.c $(GENSRC)
+
+# specify the resource definition files to use
+# full path or a relative path to the resource file can be used.
+RDEFS=
+
+# specify the resource files to use.
+# full path or a relative path to the resource file can be used.
+# both RDEFS and RSRCS can be defined in the same makefile.
+RSRCS=
+
+# @<-src@
+#%}
+
+# end support for Pe and Eddie
+
+# specify additional libraries to link against
+# there are two acceptable forms of library specifications
+# - if your library follows the naming pattern of:
+# libXXX.so or libXXX.a you can simply specify XXX
+# library: libbe.so entry: be
+#
+# - for version-independent linking of standard C++ libraries please add
+# $(STDCPPLIBS) instead of raw "stdc++[.r4] [supc++]" library names
+#
+# - for localization support add following libs:
+# locale localestub
+#
+# - if your library does not follow the standard library
+# naming scheme you need to specify the path to the library
+# and it's name
+# library: my_lib.a entry: my_lib.a or path/my_lib.a
+LIBS= bsd
+
+# specify additional paths to directories following the standard
+# libXXX.so or libXXX.a naming scheme. You can specify full paths
+# or paths relative to the makefile. The paths included may not
+# be recursive, so include all of the paths where libraries can
+# be found. Directories where source files are found are
+# automatically included.
+LIBPATHS=
+
+# additional paths to look for system headers
+# thes use the form: #include <header>
+# source file directories are NOT auto-included here
+SYSTEM_INCLUDE_PATHS =
+
+# additional paths to look for local headers
+# thes use the form: #include "header"
+# source file directories are automatically included
+LOCAL_INCLUDE_PATHS =
+
+# specify the level of optimization that you desire
+# NONE, SOME, FULL
+OPTIMIZE=
+
+# specify here the codes for languages you are going
+# to support in this application. The default "en"
+# one must be provided too. "make catkeys" will recreate only
+# locales/en.catkeys file. Use it as template for creating other
+# languages catkeys. All localization files must be placed
+# in "locales" sub-directory.
+LOCALES=
+
+# specify any preprocessor symbols to be defined. The symbols will not
+# have their values set automatically; you must supply the value (if any)
+# to use. For example, setting DEFINES to "DEBUG=1" will cause the
+# compiler option "-DDEBUG=1" to be used. Setting DEFINES to "DEBUG"
+# would pass "-DDEBUG" on the compiler's command line.
+DEFINES=
+
+# specify special warning levels
+# if unspecified default warnings will be used
+# NONE = supress all warnings
+# ALL = enable all warnings
+WARNINGS =
+
+# specify whether image symbols will be created
+# so that stack crawls in the debugger are meaningful
+# if TRUE symbols will be created
+SYMBOLS =
+
+# specify debug settings
+# if TRUE will allow application to be run from a source-level
+# debugger. Note that this will disable all optimzation.
+DEBUGGER =
+
+# specify additional compiler flags for all files
+COMPILER_FLAGS =
+
+# specify additional linker flags
+LINKER_FLAGS =
+
+# specify the version of this particular item
+# (for example, -app 3 4 0 d 0 -short 340 -long "340 "`echo -n -e '\302\251'`"1999 GNU GPL")
+# This may also be specified in a resource.
+APP_VERSION = -long "$PORT_VERSION "`echo -n -e '\302\251'`"$COPYRIGHT ($LICENSE license)"
+
+# (for TYPE == DRIVER only) Specify desired location of driver in the /dev
+# hierarchy. Used by the driverinstall rule. E.g., DRIVER_PATH = video/usb will
+# instruct the driverinstall rule to place a symlink to your driver's binary in
+# ~/add-ons/kernel/drivers/dev/video/usb, so that your driver will appear at
+# /dev/video/usb when loaded. Default is "misc".
+DRIVER_PATH =
+
+## include the makefile-engine
+DEVEL_DIRECTORY := \
+ $(shell findpaths -r "makefile_engine" B_FIND_PATH_DEVELOP_DIRECTORY)
+include $(DEVEL_DIRECTORY)/etc/makefile-engine
+
+clean :: FORCE
+ rm -r $(GENSRC)
+
--
1.8.3.4

View File

@@ -5,7 +5,7 @@
# define O_TEXT _O_TEXT
#endif
-#if defined __BEOS__ || defined __HAIKU__
+#if defined __BEOS__
+#if defined __BEOS__
/* BeOS 5 and Haiku have O_BINARY and O_TEXT, but they have no effect. */
# undef O_BINARY
# undef O_TEXT