blob: 2a413f4603b9bc6c12228ae62c6f06b68c0a85f0 (
plain) (
blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
|
# Created by: Dmitry Karasik <dmitry@karasik.eu.org>
# $FreeBSD$
PORTNAME= UI-Dialog
PORTVERSION= 1.09
PORTREVISION= 2
CATEGORIES= devel perl5
MASTER_SITES= CPAN
MASTER_SITE_SUBDIR= CPAN:KCK
PKGNAMEPREFIX= p5-
DISTNAME= ${PORTNAME}-${PORTVERSION}-2
MAINTAINER= perl@FreeBSD.org
COMMENT= Perl wrapper for the various dialog applications
LICENSE= LGPL21 LGPL3
LICENSE_COMB= dual
RUN_DEPENDS= cdialog:devel/cdialog
OPTIONS_DEFINE= KDE NEWT X11 ZENITY
USES= perl5
USE_PERL5= configure
WRKSRC= ${WRKDIR}/${PORTNAME}-${PORTVERSION}
KDE_RUN_DEPENDS= kdialog:x11/kde4-baseapps
NEWT_RUN_DEPENDS= whiptail:devel/newt
X11_RUN_DEPENDS= Xdialog:x11/xdialog
ZENITY_RUN_DEPENDS= zenity:x11/zenity
post-patch:
@${REINPLACE_CMD} -e "/self->{'_opts'}->{'bin'}/ s|dialog|c&|" ${WRKSRC}/lib/UI/Dialog/Backend/CDialog.pm
.include <bsd.port.mk>
|