Skip to content

Commit

Permalink
object declarator syntax, jifty prereq.
Browse files Browse the repository at this point in the history
  • Loading branch information
marcespie committed Nov 11, 2006
1 parent 81bc3d5 commit b85991f
Show file tree
Hide file tree
Showing 5 changed files with 52 additions and 0 deletions.
25 changes: 25 additions & 0 deletions devel/p5-Object-Declare/Makefile
Original file line number Diff line number Diff line change
@@ -0,0 +1,25 @@
# $OpenBSD: Makefile,v 1.1.1.1 2006/11/11 18:25:20 espie Exp $

COMMENT= "declarative object constructor"

DISTNAME= Object-Declare-0.13
PKGNAME= p5-${DISTNAME}
CATEGORIES= www perl5

# MIT
PERMIT_PACKAGE_CDROM= Yes
PERMIT_PACKAGE_FTP= Yes
PERMIT_DISTFILES_CDROM= Yes
PERMIT_DISTFILES_FTP= Yes

MASTER_SITES= ${MASTER_SITE_PERL_CPAN:=Object/}

RUN_DEPENDS= ::devel/p5-Sub-Override

REGRESS_DEPENDS=${RUN_DEPENDS}

CONFIGURE_STYLE=perl

PKG_ARCH= *

.include <bsd.port.mk>
4 changes: 4 additions & 0 deletions devel/p5-Object-Declare/distinfo
Original file line number Diff line number Diff line change
@@ -0,0 +1,4 @@
MD5 (Object-Declare-0.13.tar.gz) = 121752f5a8c17a6f610078c8c92441ec
RMD160 (Object-Declare-0.13.tar.gz) = b42d93848d5805121531f9fa974b55c1aa0729dc
SHA1 (Object-Declare-0.13.tar.gz) = 6d684864ee98af48bf135274b9063b8a3134255b
SIZE (Object-Declare-0.13.tar.gz) = 27569
12 changes: 12 additions & 0 deletions devel/p5-Object-Declare/patches/patch-Makefile_PL
Original file line number Diff line number Diff line change
@@ -0,0 +1,12 @@
$OpenBSD: patch-Makefile_PL,v 1.1.1.1 2006/11/11 18:25:20 espie Exp $
--- Makefile.PL.orig Sat Nov 11 19:02:40 2006
+++ Makefile.PL Sat Nov 11 19:02:43 2006
@@ -5,7 +5,7 @@ name 'Object-Declare';
license 'MIT';
all_from 'lib/Object/Declare.pm';

-requires 'Sub::Override';
+#requires 'Sub::Override';

include_deps 'ok';
include_deps 'Test::More';
7 changes: 7 additions & 0 deletions devel/p5-Object-Declare/pkg/DESCR
Original file line number Diff line number Diff line change
@@ -0,0 +1,7 @@
This module exports one function, "declare", for building named objects
with a declarative syntax, similar to how Jifty::DBI::Schema defines its
columns.

In list context, "declare" returns a list of name/object pairs in the
order of declaration (allowing duplicates), suitable for putting into a
hash. In scalar context, "declare" returns a hash reference.
4 changes: 4 additions & 0 deletions devel/p5-Object-Declare/pkg/PLIST
Original file line number Diff line number Diff line change
@@ -0,0 +1,4 @@
@comment $OpenBSD: PLIST,v 1.1.1.1 2006/11/11 18:25:20 espie Exp $
${P5SITE}/Object/
${P5SITE}/Object/Declare.pm
@man man/man3p/Object::Declare.3p

0 comments on commit b85991f

Please sign in to comment.