mirror of
https://github.com/yann64/haikuports.git
synced 2026-04-09 05:10:05 +02:00
@@ -8,7 +8,7 @@ the days of the good old BASIC."
|
||||
HOMEPAGE="https://chiselapp.com/user/bacon/repository/bacon/home"
|
||||
COPYRIGHT="2009-2025 Peter van Eerten"
|
||||
LICENSE="MIT"
|
||||
REVISION="1"
|
||||
REVISION="2"
|
||||
SOURCE_URI="https://www.basic-converter.org/stable/bacon-$portVersion.tar.gz"
|
||||
CHECKSUM_SHA256="7f0a6dd3a3d465dd414f165a319838f0691d44157bd034845694fa32649ab97b"
|
||||
ADDITIONAL_FILES="bacon.rdef.in"
|
||||
@@ -52,7 +52,7 @@ BUILD()
|
||||
{
|
||||
runConfigure --omit-dirs binDir ./configure \
|
||||
--bindir=$commandBinDir
|
||||
make
|
||||
echo 'n' | make
|
||||
}
|
||||
|
||||
INSTALL()
|
||||
|
||||
91
dev-lang/bacon/bacon_gtk4-5.0.1.recipe
Normal file
91
dev-lang/bacon/bacon_gtk4-5.0.1.recipe
Normal file
@@ -0,0 +1,91 @@
|
||||
SUMMARY="Basic to C converter"
|
||||
DESCRIPTION="The name 'BaCon' is an acronym for 'Basic Converter'. \
|
||||
It is a free BASIC to C translator for Unix-based systems, which \
|
||||
runs on most Unix/Linux/BSD platforms, including MacOSX. It intends \
|
||||
to be a programming aid in creating tools which can be compiled on \
|
||||
different platforms (both 32bit and 64bit), while trying to revive \
|
||||
the days of the good old BASIC."
|
||||
HOMEPAGE="https://chiselapp.com/user/bacon/repository/bacon/home"
|
||||
COPYRIGHT="2009-2025 Peter van Eerten"
|
||||
LICENSE="MIT"
|
||||
REVISION="1"
|
||||
SOURCE_URI="https://www.basic-converter.org/stable/bacon-$portVersion.tar.gz"
|
||||
CHECKSUM_SHA256="7f0a6dd3a3d465dd414f165a319838f0691d44157bd034845694fa32649ab97b"
|
||||
ADDITIONAL_FILES="bacon.rdef.in"
|
||||
|
||||
ARCHITECTURES="?all !x86_gcc2"
|
||||
SECONDARY_ARCHITECTURES="?x86"
|
||||
|
||||
commandBinDir=$binDir
|
||||
commandSuffix=$secondaryArchSuffix
|
||||
if [ "$targetArchitecture" = x86_gcc2 ]; then
|
||||
commandSuffix=
|
||||
commandBinDir=$prefix/bin
|
||||
fi
|
||||
|
||||
PROVIDES="
|
||||
bacon_gtk4$secondaryArchSuffix = $portVersion
|
||||
cmd:bacon$commandSuffix = $portVersion
|
||||
cmd:bacon.sh$commandSuffix = $portVersion
|
||||
cmd:bacongui_gtk4$commandSuffix = $portVersion
|
||||
"
|
||||
REQUIRES="
|
||||
haiku$secondaryArchSuffix
|
||||
lib:libcairo$secondaryArchSuffix
|
||||
lib:libcairo_gobject$secondaryArchSuffix
|
||||
lib:libgio_2.0$secondaryArchSuffix
|
||||
lib:libglib_2.0$secondaryArchSuffix
|
||||
lib:libgobject_2.0$secondaryArchSuffix
|
||||
lib:libgdk_pixbuf_2.0$secondaryArchSuffix
|
||||
lib:libgraphene_1.0$secondaryArchSuffix
|
||||
lib:libgtk_4$secondaryArchSuffix
|
||||
lib:libgtksourceview_5$secondaryArchSuffix
|
||||
lib:libharfbuzz$secondaryArchSuffix
|
||||
lib:libintl$secondaryArchSuffix
|
||||
lib:libpango_1.0$secondaryArchSuffix
|
||||
lib:libpangocairo_1.0$secondaryArchSuffix
|
||||
"
|
||||
|
||||
BUILD_REQUIRES="
|
||||
haiku${secondaryArchSuffix}_devel
|
||||
devel:libgtk_4$secondaryArchSuffix
|
||||
devel:libgtksourceview_5$secondaryArchSuffix
|
||||
"
|
||||
BUILD_PREREQUIRES="
|
||||
cmd:awk
|
||||
cmd:flex
|
||||
cmd:gcc$secondaryArchSuffix
|
||||
cmd:indent
|
||||
cmd:make
|
||||
cmd:pkg_config$secondaryArchSuffix
|
||||
"
|
||||
|
||||
BUILD()
|
||||
{
|
||||
runConfigure --omit-dirs binDir ./configure \
|
||||
--bindir=$commandBinDir
|
||||
make
|
||||
}
|
||||
|
||||
INSTALL()
|
||||
{
|
||||
make install
|
||||
|
||||
local MAJOR="`echo "$portVersion" | cut -d. -f1`"
|
||||
local MIDDLE="`echo "$portVersion" | cut -d. -f2`"
|
||||
local MINOR="0"
|
||||
local APP_NAME="BaConGUI FLTK"
|
||||
local LONG_INFO="$SUMMARY"
|
||||
local APP_SIGNATURE="application/x-vnd.bacon"
|
||||
sed \
|
||||
-e "s|@MAJOR@|$MAJOR|" \
|
||||
-e "s|@MIDDLE@|$MIDDLE|" \
|
||||
-e "s|@MINOR@|$MINOR|" \
|
||||
-e "s|@LONG_INFO@|$LONG_INFO|" \
|
||||
-e "s|@APP_NAME@|$APP_NAME|" \
|
||||
-e "s|@APP_SIGNATURE@|$APP_SIGNATURE|" \
|
||||
$portDir/additional-files/bacon.rdef.in > bacon.rdef
|
||||
|
||||
addResourcesToBinaries bacon.rdef $commandBinDir/bacongui-gtk4
|
||||
addAppDeskbarSymlink $commandBinDir/bacongui-gtk4 "BaConGUI GTK4"
|
||||
}
|
||||
Reference in New Issue
Block a user