Date: Mon, 05 Nov 2001 19:13:38 +0300 From: skv@protey.ru To: FreeBSD-gnats-submit@freebsd.org Subject: ports/31782: New port: p5-Class-Contract Message-ID: <E160mNW-000K7s-00@3wgraphics.com>
next in thread | raw e-mail | index | archive | help
>Number: 31782 >Category: ports >Synopsis: New port: p5-Class-Contract >Confidential: no >Severity: serious >Priority: medium >Responsible: freebsd-ports >State: open >Quarter: >Keywords: >Date-Required: >Class: change-request >Submitter-Id: current-users >Arrival-Date: Mon Nov 05 08:20:00 PST 2001 >Closed-Date: >Last-Modified: >Originator: Sergey Skvortsov >Release: FreeBSD 4.4-STABLE i386 >Organization: <Organization of PR author (multiple lines)> >Environment: <Relevant environment information (multiple lines)> >Description: New port: p5-Class-Contract >How-To-Repeat: <Code/input/activities to reproduce the problem (multiple lines)> >Fix: # This is a shell archive. Save it in a file, remove anything before # this line, and then unpack it by entering "sh file". Note, it may # create directories; files and directories will be owned by you and # have default permissions. # # This archive contains: # # p5-Class-Contract # p5-Class-Contract/Makefile # p5-Class-Contract/pkg-comment # p5-Class-Contract/pkg-descr # p5-Class-Contract/pkg-plist # p5-Class-Contract/distinfo # p5-Class-Contract/files # p5-Class-Contract/files/patch-demo.pl # echo c - p5-Class-Contract mkdir -p p5-Class-Contract > /dev/null 2>&1 echo x - p5-Class-Contract/Makefile sed 's/^X//' >p5-Class-Contract/Makefile << 'END-of-p5-Class-Contract/Makefile' X# New ports collection makefile for: Class::Contract X# Date created: 5 Nov 2001 X# Whom: Sergey Skvortsov <skv@protey.ru> X# X# $FreeBSD$ X# X XPORTNAME= Class-Contract XPORTVERSION= 1.14 XCATEGORIES= devel perl5 XMASTER_SITES= ${MASTER_SITE_PERL_CPAN} XMASTER_SITE_SUBDIR= Class XPKGNAMEPREFIX= p5- X XMAINTAINER= skv@protey.ru X XRUN_DEPENDS= dos2unix:${PORTSDIR}/converters/unix2dos X XPERL_CONFIGURE= yes X XMANPREFIX= ${PREFIX}/lib/perl5/${PERL_VERSION} XMAN3= Class::Contract.3 Class::Contract::Production.3 X Xpost-extract: X @find ${WRKSRC} -type f -name "*.p[lm]" | xargs dos2unix -p X Xpre-configure: X ${MKDIR} ${WRKSRC}/examples X ${MV} ${WRKSRC}/demo.pl ${WRKSRC}/examples X Xpost-install: X.ifndef(NOPORTDOCS) X @${MKDIR} ${PREFIX}/share/examples/${PORTNAME} X ${INSTALL_SCRIPT} ${WRKSRC}/examples/* \ X ${PREFIX}/share/examples/${PORTNAME} X.endif X X.include <bsd.port.mk> END-of-p5-Class-Contract/Makefile echo x - p5-Class-Contract/pkg-comment sed 's/^X//' >p5-Class-Contract/pkg-comment << 'END-of-p5-Class-Contract/pkg-comment' XDesign-by-Contract OO in Perl END-of-p5-Class-Contract/pkg-comment echo x - p5-Class-Contract/pkg-descr sed 's/^X//' >p5-Class-Contract/pkg-descr << 'END-of-p5-Class-Contract/pkg-descr' XThe Class::Contract module implements strong encapsulation, static Xinheritance, and design-by-contract condition checking for Xobject-oriented Perl. The module provides a declarative syntax for Xattribute, method, constructor, and destructor definitions at both Xthe object and class level. Pre-conditions, post-conditions, and Xclass invariants are also fully supported. X XWWW: http://search.cpan.org/search?dist=Class-Contract END-of-p5-Class-Contract/pkg-descr echo x - p5-Class-Contract/pkg-plist sed 's/^X//' >p5-Class-Contract/pkg-plist << 'END-of-p5-Class-Contract/pkg-plist' Xlib/perl5/site_perl/%%PERL_VER%%/%%PERL_ARCH%%/auto/Class/Contract/.packlist Xlib/perl5/site_perl/%%PERL_VER%%/Class/Contract.pm Xlib/perl5/site_perl/%%PERL_VER%%/Class/Contract/Production.pm X%%PORTDOCS%%share/examples/Class-Contract/demo.pl X%%PORTDOCS%%@dirrm share/examples/Class-Contract X@dirrm lib/perl5/site_perl/%%PERL_VER%%/Class/Contract X@dirrm lib/perl5/site_perl/%%PERL_VER%%/%%PERL_ARCH%%/auto/Class/Contract X@unexec rmdir %D/lib/perl5/site_perl/%%PERL_VER%%/Class 2>/dev/null || true X@unexec rmdir %D/lib/perl5/site_perl/%%PERL_VER%%/%%PERL_ARCH%%/auto/Class 2>/dev/null || true END-of-p5-Class-Contract/pkg-plist echo x - p5-Class-Contract/distinfo sed 's/^X//' >p5-Class-Contract/distinfo << 'END-of-p5-Class-Contract/distinfo' XMD5 (Class-Contract-1.14.tar.gz) = fef5c44e6a76d59e12a3b52edcce9a53 END-of-p5-Class-Contract/distinfo echo c - p5-Class-Contract/files mkdir -p p5-Class-Contract/files > /dev/null 2>&1 echo x - p5-Class-Contract/files/patch-demo.pl sed 's/^X//' >p5-Class-Contract/files/patch-demo.pl << 'END-of-p5-Class-Contract/files/patch-demo.pl' X--- demo.pl.orig Mon Nov 5 17:24:22 2001 X+++ demo.pl Mon Nov 5 17:24:29 2001 X@@ -1,4 +1,4 @@ X-#! /usr/local/bin/perl -w X+#!/usr/bin/perl -w X X # NOTES: X # Invariants and pre- and post-conditions are expected END-of-p5-Class-Contract/files/patch-demo.pl exit >Release-Note: >Audit-Trail: >Unformatted: To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-ports" in the body of the message
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?E160mNW-000K7s-00>