mirror of
https://github.com/yann64/haikuports.git
synced 2026-04-08 21:00:05 +02:00
52 lines
1.2 KiB
Bash
52 lines
1.2 KiB
Bash
SUMMARY="Get information about a class and its structure"
|
|
DESCRIPTION="Class::Inspector allows you to get information about a loaded class. Most or all of \
|
|
this information can be found in other ways, but they aren't always very friendly, and usually \
|
|
involve a relatively high level of Perl wizardry, or strange and unusual looking code. \
|
|
Class::Inspector attempts to provide an easier, more friendly interface to this information."
|
|
HOMEPAGE="https://metacpan.org/pod/Class::Inspector"
|
|
COPYRIGHT="2002-2019 by Adam Kennedy"
|
|
LICENSE="Artistic"
|
|
REVISION="5"
|
|
SOURCE_URI="https://cpan.metacpan.org/authors/id/P/PL/PLICEASE/Class-Inspector-$portVersion.tar.gz"
|
|
CHECKSUM_SHA256="cc295d23a472687c24489d58226ead23b9fdc2588e522f0b5f0747741700694e"
|
|
SOURCE_DIR="Class-Inspector-$portVersion"
|
|
|
|
ARCHITECTURES="any"
|
|
|
|
PROVIDES="
|
|
class_inspector = $portVersion
|
|
"
|
|
REQUIRES="
|
|
haiku
|
|
vendor_perl
|
|
"
|
|
|
|
BUILD_REQUIRES="
|
|
haiku_devel
|
|
"
|
|
BUILD_PREREQUIRES="
|
|
cmd:make
|
|
cmd:perl
|
|
"
|
|
|
|
BUILD()
|
|
{
|
|
perl Makefile.PL PREFIX=$prefix
|
|
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
|
|
}
|