From 62e9f95b9024f7a6c4739c9c4d859755da7d4b4b Mon Sep 17 00:00:00 2001 From: krion Date: Tue, 22 Jul 2003 13:02:29 +0000 Subject: New port devel/p5-mixin Mixin inheritance is an alternative to the usual multiple-inheritance and solves the problem of knowing which parent will be called. It also solves a number of tricky problems like diamond inheritence. The idea is to solve the same sets of problems which MI solves without the problems of MI. PR: 54746 Submitted by: Mathieu Arnold Approved by: fjoe (mentor) --- devel/p5-mixin/Makefile | 22 ++++++++++++++++++++++ devel/p5-mixin/distinfo | 1 + devel/p5-mixin/pkg-descr | 8 ++++++++ devel/p5-mixin/pkg-plist | 5 +++++ 4 files changed, 36 insertions(+) create mode 100644 devel/p5-mixin/Makefile create mode 100644 devel/p5-mixin/distinfo create mode 100644 devel/p5-mixin/pkg-descr create mode 100644 devel/p5-mixin/pkg-plist (limited to 'devel/p5-mixin') diff --git a/devel/p5-mixin/Makefile b/devel/p5-mixin/Makefile new file mode 100644 index 000000000000..35b4001424cf --- /dev/null +++ b/devel/p5-mixin/Makefile @@ -0,0 +1,22 @@ +# New ports collection makefile for: p5-mixin +# Date created: 22 july 2003 +# Whom: Mathieu Arnold +# +# $FreeBSD$ +# + +PORTNAME= mixin +PORTVERSION= 0.04 +CATEGORIES= devel perl5 +MASTER_SITES= ${MASTER_SITE_PERL_CPAN} +MASTER_SITE_SUBDIR= ../by-authors/id/M/MS/MSCHWERN +PKGNAMEPREFIX= p5- + +MAINTAINER= m@absolight.net +COMMENT= Mix-in inheritance, an alternative to multiple inheritance + +PERL_CONFIGURE= yes + +MAN3= mixin.3 mixin::with.3 + +.include diff --git a/devel/p5-mixin/distinfo b/devel/p5-mixin/distinfo new file mode 100644 index 000000000000..6e895ef58b1f --- /dev/null +++ b/devel/p5-mixin/distinfo @@ -0,0 +1 @@ +MD5 (mixin-0.04.tar.gz) = cc1932a0a90dd905726373d7c2f6377f diff --git a/devel/p5-mixin/pkg-descr b/devel/p5-mixin/pkg-descr new file mode 100644 index 000000000000..2d7980c74ffa --- /dev/null +++ b/devel/p5-mixin/pkg-descr @@ -0,0 +1,8 @@ +Mixin inheritance is an alternative to the usual multiple-inheritance and +solves the problem of knowing which parent will be called. It also solves a +number of tricky problems like diamond inheritence. + +The idea is to solve the same sets of problems which MI solves without the +problems of MI. + +WWW: http://search.cpan.org/dist/mixin/ diff --git a/devel/p5-mixin/pkg-plist b/devel/p5-mixin/pkg-plist new file mode 100644 index 000000000000..c302772a97ee --- /dev/null +++ b/devel/p5-mixin/pkg-plist @@ -0,0 +1,5 @@ +%%SITE_PERL%%/%%PERL_ARCH%%/auto/mixin/.packlist +%%SITE_PERL%%/mixin.pm +%%SITE_PERL%%/mixin/with.pm +@dirrm %%SITE_PERL%%/mixin +@dirrm %%SITE_PERL%%/%%PERL_ARCH%%/auto/mixin -- cgit