SUMMARY="Handle Common Gateway Interface requests and responses" DESCRIPTION="CGI.pm is a stable, complete and mature solution for processing and preparing HTTP \ requests and responses. Major features including processing form submissions, file uploads, \ reading and writing cookies, query string generation and manipulation, and processing and \ preparing HTTP headers. CGI.pm performs very well in a vanilla CGI.pm environment and also comes with built-in support \ for mod_perl and mod_perl2 as well as FastCGI. It has the benefit of having developed and refined over 20 years with input from dozens of \ contributors and being deployed on thousands of websites." HOMEPAGE="https://metacpan.org/pod/CGI" COPYRIGHT="1995-2007, Lincoln D. Stein" LICENSE="Artistic v2.0" REVISION="1" SOURCE_URI="https://cpan.metacpan.org/authors/id/L/LE/LEEJO/CGI-$portVersion.tar.gz" CHECKSUM_SHA256="538ad19c40402e3bbbe00e6d374c3ce2966feb391096dac883ac5104c2083bc9" SOURCE_DIR="CGI-$portVersion" ARCHITECTURES="any" PROVIDES=" cgi = $portVersion " REQUIRES=" haiku html_parser vendor_perl uri " BUILD_REQUIRES=" haiku_devel " BUILD_PREREQUIRES=" cmd:make cmd:perl " TEST_REQUIRES=" html_parser test_warn uri " BUILD() { perl Makefile.PL PREFIX=$prefix INSTALLDIRS=vendor make } INSTALL() { make pure_install # remove architecture-specific files cd $prefix rm -r $(perl -V:vendorarch | cut -d\' -f2 | cut -d/ -f5-) # cut extracts the quoted string and strips the prefix (which is perl's and not ours) } TEST() { make test }