mirror of
https://github.com/yann64/haikuports.git
synced 2026-03-19 01:46:00 +01:00
68 lines
1.6 KiB
Bash
68 lines
1.6 KiB
Bash
SUMMARY="A BBS Terminal"
|
|
DESCRIPTION="SyncTERM - ANSI-BBS terminal for connecting to BBS."
|
|
HOMEPAGE="http://syncterm.bbsdev.net/"
|
|
COPYRIGHT="2024 SyncTERM developers and contributors"
|
|
LICENSE="GNU GPL v2"
|
|
REVISION="1"
|
|
SOURCE_URI="https://sourceforge.net/projects/syncterm/files/syncterm/syncterm-$portVersion/syncterm-$portVersion-src.tgz"
|
|
CHECKSUM_SHA256="d039644c87c3b29afd3333ec6942d822a85d8d853f67a069132dac1bd691cd8b"
|
|
ADDITIONAL_FILES="syncterm.rdef"
|
|
|
|
ARCHITECTURES="all !x86_gcc2"
|
|
SECONDARY_ARCHITECTURES="x86"
|
|
|
|
PROVIDES="
|
|
syncterm$secondaryArchSuffix = $portVersion
|
|
cmd:syncterm = $portVersion
|
|
"
|
|
REQUIRES="
|
|
haiku$secondaryArchSuffix
|
|
lib:libGL$secondaryArchSuffix
|
|
lib:libncursesw$secondaryArchSuffix
|
|
lib:libSDL2_2.0$secondaryArchSuffix
|
|
"
|
|
|
|
BUILD_REQUIRES="
|
|
haiku${secondaryArchSuffix}_devel
|
|
devel:libncursesw$secondaryArchSuffix
|
|
devel:libSDL2_2.0$secondaryArchSuffix
|
|
devel:libssh$secondaryArchSuffix
|
|
"
|
|
BUILD_PREREQUIRES="
|
|
cmd:cmake
|
|
cmd:dos2unix
|
|
cmd:gcc$secondaryArchSuffix
|
|
cmd:make
|
|
cmd:md5sum
|
|
cmd:patch
|
|
cmd:perl
|
|
cmd:pkg_config$secondaryArchSuffix
|
|
"
|
|
|
|
BUILD()
|
|
{
|
|
cd src/syncterm
|
|
cmake -Bbuild -S. -DCMAKE_BUILD_TYPE=Release \
|
|
$cmakeDirArgs \
|
|
-DCMAKE_INSTALL_BINDIR=$prefix/bin
|
|
make -Cbuild $jobArgs
|
|
}
|
|
|
|
INSTALL()
|
|
{
|
|
cd src/syncterm
|
|
make -Cbuild install
|
|
|
|
# add manpage
|
|
make -f GNUmakefile syncterm.man
|
|
make -f GNUmakefile syncterm.1.gz
|
|
mkdir -p $manDir/man1
|
|
cp syncterm.1.gz $manDir/man1
|
|
|
|
# we are not linux
|
|
rm -r $prefix/share
|
|
|
|
addResourcesToBinaries $portDir/additional-files/syncterm.rdef $prefix/bin/syncterm
|
|
addAppDeskbarSymlink $prefix/bin/syncterm SyncTERM
|
|
}
|