mirror of
https://github.com/yann64/haikuports.git
synced 2026-04-16 08:40:06 +02:00
51 lines
1.2 KiB
Bash
51 lines
1.2 KiB
Bash
SUMMARY="Inheritable, overridable class data"
|
|
DESCRIPTION="Class::Data::Inheritable is for creating accessor/mutators to class data. That is, \
|
|
if you want to store something about your class as a whole (instead of about a single object). \
|
|
This data is then inherited by your subclasses and can be overridden."
|
|
HOMEPAGE="https://metacpan.org/pod/Class::Data::Inheritable"
|
|
COPYRIGHT="2000-2005, Damian Conway and Michael G Schwern"
|
|
LICENSE="Artistic"
|
|
REVISION="2"
|
|
SOURCE_URI="https://cpan.metacpan.org/authors/id/R/RS/RSHERER/Class-Data-Inheritable-$portVersion.tar.gz"
|
|
CHECKSUM_SHA256="44088d6e90712e187b8a5b050ca5b1c70efe2baa32ae123e9bd8f59f29f06e4d"
|
|
SOURCE_DIR="Class-Data-Inheritable-$portVersion"
|
|
|
|
ARCHITECTURES="any"
|
|
|
|
PROVIDES="
|
|
class_data_inheritable = $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
|
|
}
|