SUMMARY="A GUI frontend for SANE" DESCRIPTION="A graphical Haiku scanner application, using SANE. SanityTranslator allows applications to use scanner devices through the \ translation kit." HOMEPAGE="http://philippe.houdoin.free.fr/phil/beos/sanity/index-en.html" COPYRIGHT="2001-2015 Philippe Houdoin" LICENSE="MIT" REVISION="7" srcGitRev="6106ad8caf3d9435b10f6d0fc0edfe4886a22778" SOURCE_URI="https://github.com/diversys/sanity/archive/$srcGitRev.tar.gz" CHECKSUM_SHA256="ce5a6a4cb8ed06423398619353f6781e1b32c6eade1ec93fbaa8ac6e5f7840f6" SOURCE_DIR="sanity-$srcGitRev" ARCHITECTURES="all ?x86_gcc2" SECONDARY_ARCHITECTURES="x86" PROVIDES=" sanity = $portVersion app:Sanity = $portVersion " REQUIRES=" haiku$secondaryArchSuffix lib:libsane$secondaryArchSuffix " BUILD_REQUIRES=" haiku${secondaryArchSuffix}_devel devel:libsane$secondaryArchSuffix " BUILD_PREREQUIRES=" makefile_engine cmd:gcc$secondaryArchSuffix cmd:make " BUILD() { make $jobArgs OBJ_DIR=objects } INSTALL() { mkdir -p $appsDir cp -a objects/Sanity $appsDir addAppDeskbarSymlink $appsDir/Sanity mkdir -p $addOnsDir/Translators ln -s $appsDir/Sanity $addOnsDir/Translators/SanityTranslator }