1SUMMARY="A port of KGhostview for X11/KDE" 2DESCRIPTION="This is technically a port of KGhostview for X11/KDE. However \ 3I had to rewrite most of it, so only the basic architecture and the \ 4ps-parser remain as in the original. Thanks to Tim Theisen and Mark Donohoe \ 5for the original works. I'd also like to thank Jake Hamby, whose port of \ 6Ghostscript and helpful advice made this port possible.." 7HOMEPAGE="https://github.com/HaikuArchives/BGhostView" 8COPYRIGHT="1999 Andreas Raquet 92019-2023 Adrien Destugues" 10LICENSE="GNU GPL v2" 11REVISION="1" 12SOURCE_URI="https://github.com/HaikuArchives/BGhostView/archive/refs/tags/v$portVersion.tar.gz" 13CHECKSUM_SHA256="7464c78d1656e27df7cf8234d14b75c902c7e39c74845993db354b9ff4ae679f" 14SOURCE_FILENAME="bghostview-$portVersion.tar.gz" 15SOURCE_DIR="BGhostView-$portVersion/src" 16 17ARCHITECTURES="all !x86_gcc2" 18SECONDARY_ARCHITECTURES="x86" 19 20PROVIDES=" 21 bghostview$secondaryArchSuffix = $portVersion 22 app:BGhostview = $portVersion 23 " 24REQUIRES=" 25 haiku$secondaryArchSuffix 26 lib:libgs$secondaryArchSuffix >= 10 27 lib:libprefs$secondaryArchSuffix 28 " 29 30BUILD_REQUIRES=" 31 haiku${secondaryArchSuffix}_devel 32 devel:libgs$secondaryArchSuffix >= 10 33 devel:libprefs$secondaryArchSuffix 34 " 35BUILD_PREREQUIRES=" 36 makefile_engine 37 cmd:gcc$secondaryArchSuffix 38 cmd:make 39 cmd:pkg_config$secondaryArchSuffix 40 " 41 42defineDebugInfoPackage bghostview$secondaryArchSuffix \ 43 $appsDir/BGhostview 44 45BUILD() 46{ 47 make $jobArgs OBJ_DIR=objects 48} 49 50INSTALL() 51{ 52 mkdir -p $appsDir 53 cp -a objects/BGhostview $appsDir 54 addAppDeskbarSymlink $appsDir/BGhostview 55} 56