Skip site navigation (1)Skip section navigation (2)
Date:      Mon, 22 May 2006 11:48:52 +0200 (CEST)
From:      Dmitry Karasik <dmitry@karasik.eu.org>
To:        FreeBSD-gnats-submit@FreeBSD.org
Cc:        nicolai@catpipe.net
Subject:   ports/97598: new port: devel/p5-UI-Dialog
Message-ID:  <200605220948.k4M9mqK6038364@ichi.catpipe.net>
Resent-Message-ID: <200605220950.k4M9oJ8t030580@freefall.freebsd.org>

next in thread | raw e-mail | index | archive | help

>Number:         97598
>Category:       ports
>Synopsis:       new port: devel/p5-UI-Dialog
>Confidential:   no
>Severity:       non-critical
>Priority:       medium
>Responsible:    freebsd-ports-bugs
>State:          open
>Quarter:        
>Keywords:       
>Date-Required:
>Class:          change-request
>Submitter-Id:   current-users
>Arrival-Date:   Mon May 22 09:50:19 GMT 2006
>Closed-Date:
>Last-Modified:
>Originator:     Dmitry Karasik
>Release:        FreeBSD 5.4-STABLE i386
>Organization:
catpipe
>Environment:
System: FreeBSD ichi.catpipe.net 5.4-STABLE FreeBSD 5.4-STABLE #16: Thu Nov 3 11:55:25 CET 2005 root@ichi.catpipe.net:/usr/obj/usr/src/sys/ICHI i386


	
>Description:
	
>How-To-Repeat:
	
>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-UI-Dialog
#	p5-UI-Dialog/files
#	p5-UI-Dialog/files/patch-aa
#	p5-UI-Dialog/Makefile
#	p5-UI-Dialog/pkg-descr
#	p5-UI-Dialog/pkg-plist
#	p5-UI-Dialog/distinfo
#
echo c - p5-UI-Dialog
mkdir -p p5-UI-Dialog > /dev/null 2>&1
echo c - p5-UI-Dialog/files
mkdir -p p5-UI-Dialog/files > /dev/null 2>&1
echo x - p5-UI-Dialog/files/patch-aa
sed 's/^X//' >p5-UI-Dialog/files/patch-aa << 'END-of-p5-UI-Dialog/files/patch-aa'
X--- lib/UI/Dialog/Backend/CDialog.pm.orig	Mon May 22 10:22:07 2006
X+++ lib/UI/Dialog/Backend/CDialog.pm	Mon May 22 10:22:26 2006
X@@ -63,7 +63,7 @@
X     $self->{'_opts'}->{'height'} = $cfg->{'height'} || 10;
X     $self->{'_opts'}->{'percentage'} = $cfg->{'percentage'} || 1;
X     $self->{'_opts'}->{'colours'} = ($cfg->{'colours'} || $cfg->{'colors'}) ? 1 : 0;
X-    $self->{'_opts'}->{'bin'} ||= $self->_find_bin('dialog');
X+    $self->{'_opts'}->{'bin'} ||= $self->_find_bin('cdialog');
X     $self->{'_opts'}->{'autoclear'} = $cfg->{'autoclear'} || 0;
X     $self->{'_opts'}->{'clearbefore'} = $cfg->{'clearbefore'} || 0;
X     $self->{'_opts'}->{'clearafter'} = $cfg->{'clearafter'} || 0;
X@@ -71,7 +71,7 @@
X     $self->{'_opts'}->{'beepbefore'} = $cfg->{'beepbefore'} || 0;
X     $self->{'_opts'}->{'beepafter'} = $cfg->{'beepafter'} || 0;
X     unless (-x $self->{'_opts'}->{'bin'}) {
X-		croak("the dialog binary could not be found at: ".$self->{'_opts'}->{'bin'});
X+		croak("the cdialog binary could not be found at: ".$self->{'_opts'}->{'bin'});
X     }
X     $self->{'_opts'}->{'DIALOGRC'} = $cfg->{'DIALOGRC'} || undef();
X     my $beginref = $cfg->{'begin'};
END-of-p5-UI-Dialog/files/patch-aa
echo x - p5-UI-Dialog/Makefile
sed 's/^X//' >p5-UI-Dialog/Makefile << 'END-of-p5-UI-Dialog/Makefile'
X# New ports collection makefile for:    devel/p5-UI-Dialog
X# Date created:                         22 May 2006
X# Whom:                                 Dmitry Karasik <dmitry@karasik.eu.org>
X#
X# $FreeBSD$
X#
X
XPORTNAME=	UI-Dialog
XPORTVERSION=	1.08
XCATEGORIES=	perl5
XMASTER_SITES=	${MASTER_SITE_PERL_CPAN}
XMASTER_SITE_SUBDIR=	../by-authors/id/K/KC/KCK
XPKGNAMEPREFIX=	p5-
X
XMAINTAINER=	dmitry@karasik.eu.org
XCOMMENT=	Perl wrapper for the various dialog applications
X
XRUN_DEPENDS=	cdialog:${PORTSDIR}/devel/cdialog
X
X.if defined(WITH_X)
XRUN_DEPENDS+=	xdialog:${PORTSDIR}/x11/xdialog
X.endif
X
X.if defined(WITH_NEWT)
XRUN_DEPENDS+=	whiptail:${PORTSDIR}/devel/newt
X.endif
X
X.if defined(WITH_KDE)
XRUN_DEPENDS+=	kdialog:${PORTSDIR}/x11/kdebase3
X.endif
X
X.if defined(WITH_ZENITY)
XRUN_DEPENDS+=	zenity:${PORTSDIR}/x11/zenity
X.endif
X
XPERL_CONFIGURE=	yes
X
XMAN3=		UI::Dialog.3 UI::Dialog::Backend::XDialog.3 \
X		UI::Dialog::Backend::KDialog.3 UI::Dialog::Backend::ASCII.3 \
X		UI::Dialog::Backend::Zenity.3 UI::Dialog::KDE.3 \
X		UI::Dialog::Backend.3 UI::Dialog::Gauged.3 \
X		UI::Dialog::Console.3 UI::Dialog::Backend::Whiptail.3 \
X		UI::Dialog::GNOME.3 UI::Dialog::Backend::CDialog.3 \
X		UI::Dialog::Backend::Nautilus.3 UI::Dialog::Backend::GDialog.3 \
X		UI::Dialog::Backend::XOSD.3
X
X.include <bsd.port.mk>
END-of-p5-UI-Dialog/Makefile
echo x - p5-UI-Dialog/pkg-descr
sed 's/^X//' >p5-UI-Dialog/pkg-descr << 'END-of-p5-UI-Dialog/pkg-descr'
XUI::Dialog is a OOPerl wrapper for the various dialog applications. These
Xdialog backends are currently supported: Zenity, XDialog, GDialog, KDialog,
XCDialog, and Whiptail. There is also an ASCII backend provided as a last resort
Xinterface for the console based dialog variants. UI::Dialog is a class that
Xprovides a strict interface to these various backend modules. By using
XUI::Dialog (with it's imposed limitations on the widgets) you can ensure that
Xyour Perl program will function with any available interfaces.
X
XWWW: http://search.cpan.org/dist/UI-Dialog
X
X---
X
XDmitry Karasik <dmitry@karasik.eu.org>
END-of-p5-UI-Dialog/pkg-descr
echo x - p5-UI-Dialog/pkg-plist
sed 's/^X//' >p5-UI-Dialog/pkg-plist << 'END-of-p5-UI-Dialog/pkg-plist'
X%%SITE_PERL%%/UI/Dialog.pm
X%%SITE_PERL%%/UI/Dialog.pod
X%%SITE_PERL%%/UI/Dialog/Backend/XDialog.pod
X%%SITE_PERL%%/UI/Dialog/Backend/KDialog.pod
X%%SITE_PERL%%/UI/Dialog/Backend/GDialog.pod
X%%SITE_PERL%%/UI/Dialog/Backend/Nautilus.pod
X%%SITE_PERL%%/UI/Dialog/Backend/ASCII.pod
X%%SITE_PERL%%/UI/Dialog/Backend/Zenity.pod
X%%SITE_PERL%%/UI/Dialog/Backend/XOSD.pod
X%%SITE_PERL%%/UI/Dialog/Backend/CDialog.pod
X%%SITE_PERL%%/UI/Dialog/Backend/Whiptail.pod
X%%SITE_PERL%%/UI/Dialog/Backend/XDialog.pm
X%%SITE_PERL%%/UI/Dialog/Backend/KDialog.pm
X%%SITE_PERL%%/UI/Dialog/Backend/GDialog.pm
X%%SITE_PERL%%/UI/Dialog/Backend/CDialog.pm
X%%SITE_PERL%%/UI/Dialog/Backend/Nautilus.pm
X%%SITE_PERL%%/UI/Dialog/Backend/ASCII.pm
X%%SITE_PERL%%/UI/Dialog/Backend/Zenity.pm
X%%SITE_PERL%%/UI/Dialog/Backend/XOSD.pm
X%%SITE_PERL%%/UI/Dialog/Backend/Whiptail.pm
X%%SITE_PERL%%/UI/Dialog/Backend.pm
X%%SITE_PERL%%/UI/Dialog/KDE.pm
X%%SITE_PERL%%/UI/Dialog/Console.pm
X%%SITE_PERL%%/UI/Dialog/GNOME.pm
X%%SITE_PERL%%/UI/Dialog/Gauged.pm
X%%SITE_PERL%%/UI/Dialog/Backend.pod
X%%SITE_PERL%%/UI/Dialog/KDE.pod
X%%SITE_PERL%%/UI/Dialog/Console.pod
X%%SITE_PERL%%/UI/Dialog/GNOME.pod
X%%SITE_PERL%%/UI/Dialog/Gauged.pod
X%%SITE_PERL%%/%%PERL_ARCH%%/auto/UI/Dialog/.packlist
X@dirrm %%SITE_PERL%%/UI/Dialog/Backend
X@dirrm %%SITE_PERL%%/UI/Dialog
X@dirrmtry %%SITE_PERL%%/UI
END-of-p5-UI-Dialog/pkg-plist
echo x - p5-UI-Dialog/distinfo
sed 's/^X//' >p5-UI-Dialog/distinfo << 'END-of-p5-UI-Dialog/distinfo'
XMD5 (UI-Dialog-1.08.tar.gz) = 21577159240e57cf786331f6ee0c5177
XSHA256 (UI-Dialog-1.08.tar.gz) = 10ffec00e8418b68d03da05805a625cb02245a6f3ea07607bb701ff459cf75a4
XSIZE (UI-Dialog-1.08.tar.gz) = 84141
END-of-p5-UI-Dialog/distinfo
exit


>Release-Note:
>Audit-Trail:
>Unformatted:



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?200605220948.k4M9mqK6038364>