Files
haikuports/dev-util/guideml/guideml-3.16.1.recipe
2022-12-30 09:26:39 +01:00

67 lines
2.2 KiB
Bash

SUMMARY="AmigaGuide to HTML converter"
DESCRIPTION="AmigaGuide to HTML file converter, with lots of features including:
* 100% C, no compiled ARexx stuff or anything like that.
* Source code is included, under GNU General Public Licence.
* Converts any AmigaGuide compliant documentation into a multi or single-file \
HTML 4.01 Transitional document (UNIX and MS-DOS compliant)
* Can link correctly to external AmigaGuides
* Supports Amigaguide @macros
* Fully supports @next, @prev, @toc, @help and @index command (e.g. for \
TexInfo based guide files)
* Supports font style (@{B},...) and colour (@{FG ...}) commands, with CSS \
style sheet support and configurable colours
* Detects Internet (http, https, ftp, mailto, ...) links
* Detects E-Mail addresses
* Navigation bar with CONTENTS, INDEX, HELP, RETRACE, NEXT, PREV and HOME \
buttons (also as footer if you like)
* Navigation titles freely changeable. You can also insert images! (A free \
set of images will automatically be generated.)
* Navigation bar can be switched off, and/or you can have a Site Navigation \
Bar (supported by Mozila)
* The tag is changeable, and you can add header/footer text to every page
* @WORDWRAP and @SMARTWRAP guides convert correctly
* MS-DOS file suffix is generated optionally (.htm)
* Lots more!"
HOMEPAGE="https://www.unsatisfactorysoftware.co.uk/index.php?pg=guideml"
COPYRIGHT="1997 Richard Koerber, 2001-2021 Chris Young, \
2013-2022 Adrien Destugues"
LICENSE="GNU GPL v2"
REVISION="1"
SOURCE_URI="https://github.com/pulkomandy/guideml/archive/$portVersion.tar.gz"
CHECKSUM_SHA256="f329bcec55072cc04d14efdc3883637087629f37bd18e16a36dd020640b3fad6"
SOURCE_DIR="guideml-3.16.1"
ARCHITECTURES="all !x86_gcc2"
SECONDARY_ARCHITECTURES="x86"
PROVIDES="
guideml$secondaryArchSuffix = $portVersion
cmd:guideml$secondaryArchSuffix = $portVersion
"
REQUIRES="
haiku$secondaryArchSuffix
"
BUILD_REQUIRES="
haiku${secondaryArchSuffix}_devel
"
BUILD_PREREQUIRES="
cmd:gcc$secondaryArchSuffix
cmd:make
"
BUILD()
{
make $jobArgs -f Makefile.Haiku
./guideml FILE=GuideML.guide SF
}
INSTALL()
{
mkdir -p $binDir
mkdir -p $documentationDir
cp guideml $binDir
cp GuideML.guide.html $documentationDir/GuideML.html
}