Port details |
- p5-Object-Enum Replacement for if ($foo eq 'bar')
- 0.07.3_1 devel =2 0.07.3_1Version of this port present on the latest quarterly branch.
- Maintainer: bofh@FreeBSD.org
- Port Added: 2006-05-22 00:18:24
- Last Update: 2022-09-07 21:58:51
- Commit Hash: fb16dfe
- People watching this port, also watch:: jdictionary, py311-Automat, py311-python-gdsii, py39-PyOpenGL, p5-Sane
- Also Listed In: perl5
- License: ART10 GPLv1+
- WWW:
- https://metacpan.org/release/Object-Enum
- Description:
- use Object::Enum qw(Enum);
my $color = Enum([ qw(red yellow green) ]);
# ... later
if ($color->is_red) {
# it can't be yellow or green
- ¦ ¦ ¦ ¦
- Manual pages:
- FreshPorts has no man page information for this port.
- pkg-plist: as obtained via:
make generate-plist - Dependency lines:
-
- p5-Object-Enum>0:devel/p5-Object-Enum
- To install the port:
- cd /usr/ports/devel/p5-Object-Enum/ && make install clean
- To add the package, run one of these commands:
- pkg install devel/p5-Object-Enum
- pkg install p5-Object-Enum
NOTE: If this package has multiple flavors (see below), then use one of them instead of the name specified above.- PKGNAME: p5-Object-Enum
- Flavors: there is no flavor information for this port.
- distinfo:
- SHA256 (Object-Enum-0.073.tar.gz) = 7030f9ddc7644e8ffb280987b76d3d30472b867a51ae68bf241125ca420759c3
SIZE (Object-Enum-0.073.tar.gz) = 12660
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:
-
- p5-Sub-Install>=0 : devel/p5-Sub-Install
- p5-Sub-Exporter>=0 : devel/p5-Sub-Exporter
- p5-Class-Data-Inheritable>=0 : devel/p5-Class-Data-Inheritable
- p5-Class-Accessor>=0 : devel/p5-Class-Accessor
- perl5>=5.32.r0<5.33 : lang/perl5.32
- perl5>=5.32.r0<5.33 : lang/perl5.32
- Runtime dependencies:
-
- p5-Sub-Install>=0 : devel/p5-Sub-Install
- p5-Sub-Exporter>=0 : devel/p5-Sub-Exporter
- p5-Class-Data-Inheritable>=0 : devel/p5-Class-Data-Inheritable
- p5-Class-Accessor>=0 : devel/p5-Class-Accessor
- perl5>=5.32.r0<5.33 : lang/perl5.32
- There are no ports dependent upon this port
Configuration Options:
- No options to configure
- Options name:
- devel_p5-Object-Enum
- 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 |
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) |
0.07.3_1 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 ) |
0.07.3_1 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 ) |
0.07.3_1 06 Apr 2021 14:31:07 |
Mathieu Arnold (mat) |
Remove # $FreeBSD$ from Makefiles. |
0.07.3_1 09 Jul 2018 08:40:18 |
mat |
Remove all := from BUILD_DEPENDS, here are never needed.
While there, cleanup, and sort depends.
When build and run dependencies are the same, there are three ways to
avoid duplicating the list while not adding the framework added
BUILD_DEPENDS to the RUN_DEPENDS. In order of preference, they are:
1) use RUN_DEPENDS to set BUILD_DEPENDS:
BUILD_DEPENDS= ${RUN_DEPENDS}
RUN_DEPENDS= foo:bar/baz
2) create another variable and use it:
MY_DEPENDS= foo:bar/baz
BUILD_DEPENDS= ${MY_DEPENDS}
RUN_DEPENDS= ${MY_DEPENDS}
3) use BUILD_DEPENDS to set RUN_DEPENDS and force evaluation:
BUILD_DEPENDS= foo:bar/baz
RUN_DEPENDS:= ${BUILD_DEPENDS}
Sponsored by: Absolight |
0.07.3_1 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 |
0.07.3_1 15 Sep 2017 08:58:50 |
mat |
Fix license information for portgs that use "the same license as Perl".
Sponsored by: Absolight |
0.07.3_1 01 Apr 2016 14:00:57 |
mat |
Remove ${PORTSDIR}/ from dependencies, categories d, e, f, and g.
With hat: portmgr
Sponsored by: Absolight |
0.07.3_1 24 Dec 2014 00:14:13 |
bofh |
Change my non-FreeBSD MAINTAINER mail to bofh@
Approved by: bapt |
0.07.3_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 ) |
0.07.3 27 Oct 2014 10:55:59 |
bapt |
Cleanup plist |
0.07.3 24 May 2014 14:12:38 |
sunpoet |
- Update to 0.073
- Add LICENSE
- Use DISTNAME instead of DISTVERSION
- Pass maintainership to submitter
- While I'm here, remove Author line
Changes: http://search.cpan.org/dist/Object-Enum/Changes
PR: ports/190060
Submitted by: Muhammad Moinur Rahman <5u623l20@gmail.com> |
0.07.2 30 Oct 2013 15:19:24 |
vanilla |
support STAGEDIR. |
0.07.2 20 Sep 2013 17:13:47 |
bapt |
Add NO_STAGE all over the place in preparation for the staging support (cat:
devel part 3) |
0.07.2 02 Aug 2013 18:21:06 |
az |
- Convert to new perl framework |
0.07.2 10 Jun 2012 18:42:48 |
swills |
- Convert all remaining instances of BUILD_DEPENDS=${RUN_DEPENDS} or
RUN_DEPENDS=${BUILD_DEPENDS} to use := which portlint has warned
about for a while.
PR: ports/168208
Approved by: portmgr (miwi) |
0.07.2 05 Jun 2012 17:15:26 |
az |
- Remove SITE_PERL from *_DEPENDS |
0.07.2 24 Oct 2011 09:11:38 |
dougb |
The vast majority of pkg-descr files had the following format when they
had both lines:
Author: ...
WWW: ....
So standardize on that, and move them to the end of the file when necessary.
Also fix some more whitespace, and remove more "signature tags" of varying
forms, like -- name, etc.
s/AUTHOR/Author/
A few other various formatting issues |
0.07.2 03 Jul 2011 14:59:23 |
ohauer |
-remove MD5 |
0.07.2 30 Apr 2008 12:56:38 |
mat |
Update to 0.07.2 |
0.07 29 Apr 2008 05:27:10 |
linimon |
Reset aaron's port maintainerships due to many maintainer-timeouts. |
0.07 17 Apr 2008 14:30:31 |
araujo |
- Take advantage of CPAN macro from bsd.sites.mk, change
${MASTER_SITE_PERL_CPAN} to CPAN.
PR: ports/122674
Submitted by: Philip M. Gollucci <pgollucci@p6m7g8.com>
Reworked by: araujo (myself)
Approved by: portmgr (pav) |
0.07 08 Sep 2007 00:57:38 |
linimon |
Welcome bsd.perl.mk. Add support for constructs such as USE_PERL5=5.8.0+.
Drop support for antique perl.
Work done by: gabor
Sponsored by: Google Summer of Code 2007
Hat: portmgr |
0.07 08 Dec 2006 02:47:55 |
shaun |
Update to 0.07.0.
PR: ports/102633
Submitted by: Jin-Shan Tseng <tjs@cdpa.nsysu.edu.tw>
Approved by: aaron (maintainer, EBUSY blanket) |
0.06 22 May 2006 00:10:10 |
aaron |
Adding port devel/p5-Object-Enum, Replacement for if ($foo eq 'bar').
Approved by: tobez (implicit) |