Port details |
- p5-Class-Method-Modifiers Provides Moose-like method modifiers
- 2.15 devel =14 2.15Version of this port present on the latest quarterly branch.
- Maintainer: perl@FreeBSD.org
- Port Added: 2008-07-23 08:05:47
- Last Update: 2023-03-18 09:50:44
- Commit Hash: 9a6661c
- People watching this port, also watch:: p5-Digest-HMAC, p5-Net-SSLeay, libxml2, p5-Data-OptList, pcre
- Also Listed In: perl5
- License: ART10 GPLv1+
- WWW:
- https://metacpan.org/release/Class-Method-Modifiers
- Description:
- Method modifiers are a powerful feature from the CLOS (Common Lisp Object
System) world.
In its most basic form, a method modifier is just a method that calls
$self->SUPER::foo(@_). I for one have trouble remembering that exact
invocation, so my classes seldom re-dispatch to their base classes. Very bad!
Class::Method::Modifiers provides three modifiers: before, around, and after.
before and after are run just before and after the method they modify, but can
not really affect that original method. around is run in place of the original
method, with a hook to easily call that original method.
One clear benefit of using Class::Method::Modifiers is that you can define
multiple modifiers in a single namespace. These separate modifiers don't need
to know about each other. This makes top-down design easy. Have a base class
that provides the skeleton methods of each operation, and have plugins modify
those methods to flesh out the specifics.
In short, Class::Method::Modifiers solves the problem of making sure you call
$self->SUPER::foo(@_), and provides a cleaner interface for it.
- ¦ ¦ ¦ ¦
- Manual pages:
- FreshPorts has no man page information for this port.
- pkg-plist: as obtained via:
make generate-plist - Dependency lines:
-
- p5-Class-Method-Modifiers>0:devel/p5-Class-Method-Modifiers
- To install the port:
- cd /usr/ports/devel/p5-Class-Method-Modifiers/ && make install clean
- To add the package, run one of these commands:
- pkg install devel/p5-Class-Method-Modifiers
- pkg install p5-Class-Method-Modifiers
NOTE: If this package has multiple flavors (see below), then use one of them instead of the name specified above.- PKGNAME: p5-Class-Method-Modifiers
- Flavors: there is no flavor information for this port.
- distinfo:
- TIMESTAMP = 1679132706
SHA256 (Class-Method-Modifiers-2.15.tar.gz) = 65cd85bfe475d066e9186f7a8cc636070985b30b0ebb1cde8681cf062c2e15fc
SIZE (Class-Method-Modifiers-2.15.tar.gz) = 41167
Packages (timestamps in pop-ups are UTC):
- Dependencies
- NOTE: FreshPorts displays only information on required and default dependencies. Optional dependencies are not covered.
- Build dependencies:
-
- perl5>=5.32.r0<5.33 : lang/perl5.32
- Test dependencies:
-
- p5-Moose>=0 : devel/p5-Moose
- Runtime dependencies:
-
- perl5>=5.32.r0<5.33 : lang/perl5.32
- This port is required by:
- for Build
-
- databases/p5-DBIx-Class
- devel/p5-BorderStyles-Standard
- devel/p5-Data-Perl
- devel/p5-List-Objects-WithUtils
- devel/p5-Module-Build-Pluggable
- devel/p5-Moo
- devel/p5-MooX-Aliases
- for Run
-
- databases/p5-DBIx-Class
- devel/p5-BorderStyles-Standard
- devel/p5-Data-Perl
- devel/p5-List-Objects-WithUtils
- devel/p5-Module-Build-Pluggable
- devel/p5-Moo
- devel/p5-MooX-Aliases
Configuration Options:
- No options to configure
- Options name:
- devel_p5-Class-Method-Modifiers
- USES:
- perl5
- FreshPorts was unable to extract/find any pkg message
- Master Sites:
|
Commit History - (may be incomplete: for full details, see links to repositories near top of page) |
Commit | Credits | Log message |
2.15 18 Mar 2023 09:50:44 |
Wen Heping (wen) |
devel/p5-Class-Method-Modifiers: Update to 2.15 |
2.14 30 Jan 2023 13:01:56 |
Po-Chuan Hsieh (sunpoet) |
devel/p5-Class-Method-Modifiers: Update to 2.14
Changes: https://metacpan.org/dist/Class-Method-Modifiers/changes |
07 Sep 2022 21:58:51 |
Stefan Eßer (se) |
Remove WWW entries moved into port Makefiles
Commit b7f05445c00f has added WWW entries to port Makefiles based on
WWW: lines in pkg-descr files.
This commit removes the WWW: lines of moved-over URLs from these
pkg-descr files.
Approved by: portmgr (tcberner) |
2.13 07 Sep 2022 21:10:59 |
Stefan Eßer (se) |
Add WWW entries to port Makefiles
It has been common practice to have one or more URLs at the end of the
ports' pkg-descr files, one per line and prefixed with "WWW:". These
URLs should point at a project website or other relevant resources.
Access to these URLs required processing of the pkg-descr files, and
they have often become stale over time. If more than one such URL was
present in a pkg-descr file, only the first one was tarnsfered into
the port INDEX, but for many ports only the last line did contain the
port specific URL to further information.
There have been several proposals to make a project URL available as
a macro in the ports' Makefiles, over time.
(Only the first 15 lines of the commit message are shown above ) |
2.13 20 Jul 2022 14:21:35 |
Tobias C. Berner (tcberner) |
devel: remove 'Created by' lines
A big Thank You to the original contributors of these ports:
* "Waitman Gobble" <uzimac@da3m0n8t3r.com>
* <jkoshy@FreeBSD.org>
* Aaron Dalton <aaron@FreeBSD.org>
* Aaron Dalton <aaron@daltons.ca>
* Aaron H. K. Diep <ahkdiep@gmail.com>
* Aaron Hurt <ahurt@anbcs.com>
* Abel Chow <abel_chow@yahoo.com>
* Adam McLaurin
* Adam Saponara <as@php.net>
* Adam Weinberger <adamw@FreeBSD.org>
* Ade Lovett <ade@FreeBSD.org> (Only the first 15 lines of the commit message are shown above ) |
2.13 06 Apr 2021 14:31:07 |
Mathieu Arnold (mat) |
Remove # $FreeBSD$ from Makefiles. |
2.13 10 Aug 2019 22:52:41 |
sunpoet |
Update to 2.13
- Add LICENSE_FILE
Changes: https://metacpan.org/changes/distribution/Class-Method-Modifiers |
2.12 27 May 2018 20:15:20 |
sunpoet |
Update WWW
search.cpan.org is shutting down.
It will redirect to metacpan.org after June 25, 2018.
With hat: perl |
2.12 15 Sep 2017 08:58:50 |
mat |
Fix license information for portgs that use "the same license as Perl".
Sponsored by: Absolight |
2.12 01 Apr 2016 14:00:57 |
mat |
Remove ${PORTSDIR}/ from dependencies, categories d, e, f, and g.
With hat: portmgr
Sponsored by: Absolight |
2.12 05 Mar 2016 01:58:56 |
adamw |
Update to 2.12. Add NO_ARCH.
Changes: https://metacpan.org/changes/distribution/Class-Method-Modifiers |
2.11_1 26 Nov 2014 13:08:38 |
mat |
Change the way Perl modules are installed, update the default Perl to 5.18.
Before, we had:
site_perl : lib/perl5/site_perl/5.18
site_perl/perl_arch : lib/perl5/site_perl/5.18/mach
perl_man3 : lib/perl5/5.18/man/man3
Now we have:
site_perl : lib/perl5/site_perl
site_arch : lib/perl5/site_perl/mach/5.18
perl_man3 : lib/perl5/site_perl/man/man3
Modules without any .so will be installed at the same place regardless of the (Only the first 15 lines of the commit message are shown above ) |
2.11 27 Oct 2014 10:55:59 |
bapt |
Cleanup plist |
2.11 04 Sep 2014 09:15:03 |
culot |
- Update to 2.11
Changes: http://search.cpan.org/dist/Class-Method-Modifiers/Changes |
2.10 25 Mar 2014 19:34:22 |
sunpoet |
- Update to 2.10
Changes: http://search.cpan.org/dist/Class-Method-Modifiers/Changes |
2.09 31 Dec 2013 00:59:30 |
sunpoet |
- Update to 2.09
- Support STAGEDIR
Changes: http://search.cpan.org/dist/Class-Method-Modifiers/Changes |
2.08 11 Oct 2013 16:25:47 |
sunpoet |
- Update to 2.08
Changes: http://search.cpan.org/dist/Class-Method-Modifiers/Changes |
2.07 07 Oct 2013 17:51:26 |
sunpoet |
- Update to 2.07
- Add NO_STAGE as USE_PERL5=modbuildtiny is unsupported yet
Changes: http://search.cpan.org/dist/Class-Method-Modifiers/Changes |
2.06 27 Sep 2013 20:57:48 |
sunpoet |
- Support STAGEDIR |
2.06 20 Sep 2013 17:13:47 |
bapt |
Add NO_STAGE all over the place in preparation for the staging support (cat:
devel part 3) |
2.06 18 Sep 2013 15:22:09 |
sunpoet |
- Update to 2.06
Changes: http://search.cpan.org/dist/Class-Method-Modifiers/Changes |
2.05 11 Sep 2013 07:23:55 |
tobez |
Update to 2.05.
Changes: http://search.cpan.org/dist/Class-Method-Modifiers/Changes |
2.04 02 Aug 2013 18:52:11 |
mat |
- Convert to new perl framework
- Trim Makefile header
- Remove MAKE_JOBS_SAFE=yes, it's the default. |
2.04 30 Apr 2013 04:43:26 |
culot |
- Update to 2.04
Changes: http://search.cpan.org/dist/Class-Method-Modifiers/Changes |
2.03 03 Feb 2013 10:46:22 |
tobez |
Update to 2.03.
Changes: http://search.cpan.org/dist/Class-Method-Modifiers/Changes |
2.01 29 Jan 2013 00:36:33 |
leeym |
- update to 2.01 |
2.00 11 Jan 2013 14:03:44 |
culot |
- Update to 2.00
- Add LICENSE (Artistic 1 & GPL 1)
Changes: http://search.cpan.org/dist/Class-Method-Modifiers/Changes |
1.12 30 Oct 2012 02:23:20 |
wen |
- Update to 1.12
Changes:
http://cpansearch.perl.org/src/ETHER/Class-Method-Modifiers-1.12/Changes
- Trim Makefile headers
Feature safe: yes |
1.09 03 Apr 2012 08:38:22 |
sunpoet |
- Update to 1.09
Changes: http://search.cpan.org/dist/Class-Method-Modifiers/Changes
Feature safe: yes |
1.08 31 Mar 2012 01:18:17 |
sunpoet |
- Use TEST_DEPENDS for test-only dependency
Feature safe: yes |
1.08 19 Oct 2011 00:41:15 |
clsung |
- Update to 1.08 |
1.07 17 Sep 2011 06:49:29 |
sunpoet |
- Change PERL_CONFIGURE to "yes" for all values less than or equal to 5.8.0+
With hat: perl |
1.07 12 Mar 2011 17:05:38 |
culot |
- Update to 1.07
Changes: http://search.cpan.org/dist/Class-Method-Modifiers/Changes |
1.06 29 Nov 2010 03:14:55 |
wen |
- Update to 1.06
Changelog: http://search.cpan.org/src/SARTAK/Class-Method-Modifiers-1.06/Changes |
1.05 03 Nov 2009 21:49:51 |
leeym |
- update to 1.05 |
1.04 16 Aug 2009 09:22:05 |
linimon |
Reset lbr@FreeBSD.org due to maintainer-timeouts and no response to email.
Hat: portmgr |
1.04 19 Jun 2009 18:19:17 |
pgollucci |
- Update to 1.04 to Fix Fetch
Apparently 1.02 isn't on CPAN anymore
**** BEWARE 1.07 is from 2007 and 1.04 was released in 2009 *****
Approved by: maintainer(lbr; implicit)
Reported by: QAT |
1.02 19 Jun 2009 16:21:57 |
pgollucci |
- Update to 1.02
PR: ports/135738
Approved by: maintainer (lbr)
Submitted by: myself (pgollucci@) |
1.01 23 Jul 2008 08:05:22 |
lbr |
New port: devel/p5-Class-Method-Modifiers, Provides Moose-like method modifiers |