mirror of
https://github.com/yann64/haikuports.git
synced 2026-05-06 15:08:57 +02:00
132 lines
3.9 KiB
Bash
132 lines
3.9 KiB
Bash
SUMMARY="A powerful HTML editor for experienced web designers and programmers"
|
|
DESCRIPTION="Bluefish is a powerful editor targeted towards programmers and webdevelopers, with \
|
|
many options to write websites, scripts and programming code. It supports many programming \
|
|
and markup languages. For an extensive overview, see \"Features\" on the website.
|
|
|
|
Bluefish is a multi-platform application that runs on most desktop operating systems, including \
|
|
Linux, FreeBSD, MacOS-X, Windows, OpenBSD, Solaris and Haiku."
|
|
HOMEPAGE="https://bluefish.openoffice.nl/"
|
|
COPYRIGHT="1998-2020 Olivier Sessink and others."
|
|
LICENSE="GNU GPL v3"
|
|
REVISION="2"
|
|
SOURCE_URI="https://www.bennewitz.com/bluefish/stable/source/bluefish-$portVersion.tar.gz"
|
|
CHECKSUM_SHA256="948fc2921f0a67a7ce811220093a3b3dfc8021a6e3005f549373cd3402ee0f26"
|
|
PATCHES="bluefish-$portVersion.patchset"
|
|
|
|
ADDITIONAL_FILES="bluefish.rdef.in"
|
|
|
|
ARCHITECTURES="all !x86_gcc2"
|
|
SECONDARY_ARCHITECTURES="x86"
|
|
|
|
PROVIDES="
|
|
bluefish$secondaryArchSuffix = $portVersion
|
|
app:BlueFish = $portVersion
|
|
"
|
|
REQUIRES="
|
|
haiku$secondaryArchSuffix
|
|
lib:libatk_1.0$secondaryArchSuffix
|
|
lib:libcairo$secondaryArchSuffix
|
|
lib:libcairo_gobject$secondaryArchSuffix
|
|
lib:libenchant_2$secondaryArchSuffix
|
|
lib:libgdk_3$secondaryArchSuffix
|
|
lib:libgdk_pixbuf_2.0$secondaryArchSuffix
|
|
lib:libgtk_3$secondaryArchSuffix
|
|
lib:libglib_2.0$secondaryArchSuffix
|
|
lib:libgio_2.0$secondaryArchSuffix
|
|
lib:libgmodule_2.0$secondaryArchSuffix
|
|
lib:libgobject_2.0$secondaryArchSuffix
|
|
lib:libgthread_2.0$secondaryArchSuffix
|
|
lib:libgucharmap_2_90$secondaryArchSuffix
|
|
lib:libharfbuzz$secondaryArchSuffix
|
|
lib:libintl$secondaryArchSuffix
|
|
lib:libpango_1.0$secondaryArchSuffix
|
|
lib:libpcre2_8$secondaryArchSuffix
|
|
lib:libpangocairo_1.0$secondaryArchSuffix
|
|
lib:libpython3.9$secondaryArchSuffix
|
|
lib:libxml2$secondaryArchSuffix
|
|
"
|
|
|
|
BUILD_REQUIRES="
|
|
haiku${secondaryArchSuffix}_devel
|
|
devel:libatk_1.0$secondaryArchSuffix
|
|
devel:libcairo$secondaryArchSuffix
|
|
devel:libcairo_gobject$secondaryArchSuffix
|
|
devel:libenchant_2$secondaryArchSuffix
|
|
devel:libgdk_3$secondaryArchSuffix
|
|
devel:libgdk_pixbuf_2.0$secondaryArchSuffix
|
|
devel:libgtk_3$secondaryArchSuffix
|
|
devel:libglib_2.0$secondaryArchSuffix
|
|
devel:libgio_2.0$secondaryArchSuffix
|
|
devel:libgmodule_2.0$secondaryArchSuffix
|
|
devel:libgobject_2.0$secondaryArchSuffix
|
|
devel:libgthread_2.0$secondaryArchSuffix
|
|
devel:libgucharmap_2_90$secondaryArchSuffix
|
|
devel:libharfbuzz$secondaryArchSuffix
|
|
devel:libintl$secondaryArchSuffix
|
|
devel:libpango_1.0$secondaryArchSuffix
|
|
devel:libpangocairo_1.0$secondaryArchSuffix
|
|
devel:libpython3.9$secondaryArchSuffix
|
|
devel:libxml2$secondaryArchSuffix
|
|
"
|
|
BUILD_PREREQUIRES="
|
|
cmd:aclocal
|
|
cmd:autoconf
|
|
cmd:automake
|
|
cmd:awk
|
|
cmd:gcc$secondaryArchSuffix
|
|
cmd:gucharmap
|
|
cmd:intltool_update
|
|
cmd:ld$secondaryArchSuffix
|
|
cmd:libtoolize$secondaryArchSuffix
|
|
cmd:make
|
|
cmd:pkg_config$secondaryArchSuffix
|
|
"
|
|
|
|
BUILD()
|
|
{
|
|
autoreconf -f -i
|
|
runConfigure --omit-dirs binDir ./configure \
|
|
--bindir=$appsDir \
|
|
--enable-spell-check \
|
|
--disable-dependency-tracking \
|
|
--disable-static \
|
|
--disable-update-databases \
|
|
--disable-xml-catalog-update
|
|
make $jobArgs
|
|
}
|
|
|
|
INSTALL()
|
|
{
|
|
make install
|
|
|
|
mv $appsDir/bluefish $appsDir/BlueFish
|
|
|
|
rm -rf $libDir/bluefish/*.la
|
|
rm -rf $dataDir/{applications,mime,pixmaps}
|
|
|
|
|
|
local MAJOR="`echo "$portVersion" | cut -d. -f1`"
|
|
local MIDDLE="`echo "$portVersion" | cut -d. -f2`"
|
|
local MINOR="`echo "$portVersion" | cut -d. -f3`"
|
|
local APP_NAME="BueFish"
|
|
local LONG_INFO="$SUMMARY"
|
|
local APP_SIGNATURE="application/x-vnd.bluefish"
|
|
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/bluefish.rdef.in > bluefish.rdef
|
|
|
|
addResourcesToBinaries bluefish.rdef $appsDir/BlueFish
|
|
|
|
addAppDeskbarSymlink $appsDir/BlueFish
|
|
}
|
|
|
|
TEST()
|
|
{
|
|
make check
|
|
}
|