1SUMMARY="The Rez resource compiler" 2DESCRIPTION="Rez is a resource compiler similar to rc. Its main use is compiling\ 3the Sum-it spreadsheet. New applications should consider using rc instead, but\ 4Rez may still be useful to compile some old apps from the BeOS days" 5HOMEPAGE="https://github.com/HaikuArchives/Rez/" 6COPYRIGHT="1996-1998, 2000 Hekkelman Programmatuur B.V. All rights reserved. 7 1999-2000 Tim Vernum. All rights reserved." 8LICENSE="BSD (4-clause)" 9REVISION="4" 10srcGitRev="cebd73d236db894c42b65bdb253c99a0a4c3cf71" 11SOURCE_URI="https://github.com/HaikuArchives/Pe/archive/$srcGitRev.tar.gz" 12CHECKSUM_SHA256="1f287ddd702855c60787320c4398c3c7c1b0a196432bfd38c9e2a0f36e6a0b12" 13SOURCE_DIR="Pe-$srcGitRev" 14 15ARCHITECTURES="all" 16 17PROVIDES=" 18 rez = $portVersion 19 cmd:rez = $portVersion 20 " 21REQUIRES=" 22 haiku 23 " 24 25BUILD_REQUIRES=" 26 haiku_devel 27 " 28BUILD_PREREQUIRES=" 29 cmd:bison 30 cmd:g++ 31 cmd:flex 32 cmd:jam 33 " 34 35PATCH() 36{ 37 # rez doesn't need pcre, only Pe 38 sed -i -E 's,(Exit "You need to have pcre installed on your system." ;),# \1,' build/BuildSettings 39} 40 41BUILD() 42{ 43 cd rez 44 jam $jobArgs 45} 46 47INSTALL() 48{ 49 mkdir -pv $binDir 50 cp -afv rez/rez $binDir 51} 52