SUMMARY="A tool to find not-installed applications" DESCRIPTION="Command-not-found hooks into the command_not_found_handle \ to inform end users where to find an application if they don't have it. \ It can also check for typos (a feature of zsh)." HOMEPAGE="https://github.com/jrabbit-cnf/" COPYRIGHT="2011 Jrabbit" LICENSE="GNU GPL v2" REVISION="1" SOURCE_URI="git+https://github.com/jrabbit/haiku-cnf.git#87cd5d0c212e377cffa5d3e2a00c143fe751c6fb" PATCHES="command_not_found-0.0.1.patchset" DISABLE_SOURCE_PACKAGE="yes" ARCHITECTURES="?x86 ?x86_gcc2" PROVIDES=" command_not_found = $portVersion cmd:command_not_found = $portVersion " REQUIRES=" haiku cmd:python " BUILD_REQUIRES=" haiku${secondaryArchSuffix}_devel " BUILD_PREREQUIRES=" cmd:python " POST_INSTALL_SCRIPTS=" boot/post-install/install_cnf.py " BUILD() { true } INSTALL() { mkdir -p $binDir install -m 0755 haiku_cnf.py $binDir/command_not_found mkdir -p $postInstallDir mv install_cnf.py $postInstallDir }