SUMMARY="Print images onto your terminal" DESCRIPTION="imgcat prints images to your terminal screen. Yes, indeed it does. \ By default, the image is printed at the full width and colour depth \ detected for your terminal. These can be overridden using -w to adjust \ the maximum width or -R to prevent resizing, even if the image is too \ big to fit in the terminal; and -d to explicitly the set color depth. \ If the output stream is not a terminal (that is, output is redirected to \ a file, or piped into another program), then the image is not resized to \ the size of the terminal. It does, however, uses the color depth of terminal \ set in the TERM environment variable. Overriding both width and color \ depth still work. " HOMEPAGE="https://github.com/eddieantonio/imgcat" COPYRIGHT="2014, 2016 Eddie Antonio Santos" LICENSE="ISC" REVISION="2" SOURCE_URI="https://github.com/eddieantonio/imgcat/archive/v$portVersion.zip" CHECKSUM_SHA256="217d301cb3132747c2c820990bf4fc9abf1624c6fdd92d9cb4f9101b7f6eba1d" ARCHITECTURES="all ?x86_gcc2" PROVIDES=" imgcat = $portVersion cmd:imgcat = $portVersion " REQUIRES=" haiku " BUILD_REQUIRES=" haiku_devel " BUILD_PREREQUIRES=" cmd:gcc cmd:ld cmd:make " BUILD() { make production=true $jobArgs } INSTALL() { mkdir -p $binDir mkdir -p $manDir/man1 cp src/imgcat $binDir cp doc/imgcat.1 $manDir/man1 } TEST() { make test }