aboutsummaryrefslogtreecommitdiff
path: root/x11-toolkits/p5-Prima/Makefile
blob: 16f1c1c806cabed9ade2c4258bb759942b18409b (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
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
# Created by: dmitry@karasik.eu.org
# $FreeBSD$

PORTNAME=	Prima
PORTVERSION=	1.36
CATEGORIES=	x11-toolkits graphics perl5
MASTER_SITES=	CPAN
PKGNAMEPREFIX=	p5-

MAINTAINER=	perl@FreeBSD.org
COMMENT=	Extensible Perl toolkit for multi-platform GUI development

LICENSE=	BSD

LIB_DEPENDS=	gif:${PORTSDIR}/graphics/giflib \
		jpeg:${PORTSDIR}/graphics/jpeg \
		png15:${PORTSDIR}/graphics/png \
		tiff:${PORTSDIR}/graphics/tiff

OPTIONS_DEFINE=	GTK2 ICONV XFT
OPTIONS_DEFAULT=ICONV XFT

CONFIGURE_ARGS=	X11BASE=${LOCALBASE}
PERL_CONFIGURE=	yes
USE_XORG=	x11 xext xpm xrender
MAKE_JOBS_UNSAFE=	yes

MAN1=		VB.1 \
		cfgmaint.1 \
		fmview.1 \
		gencls.1 \
		p-class.1 \
		podview.1 \
		tmlink.1
MAN3=		Prima.3 \
		Prima::Application.3 \
		Prima::Buttons.3 \
		Prima::Calendar.3 \
		Prima::Classes.3 \
		Prima::ColorDialog.3 \
		Prima::ComboBox.3 \
		Prima::Config.3 \
		Prima::Const.3 \
		Prima::CurvedText.3 \
		Prima::DetailedList.3 \
		Prima::DetailedOutline.3 \
		Prima::DockManager.3 \
		Prima::Docks.3 \
		Prima::Edit.3 \
		Prima::EditDialog.3 \
		Prima::EventHook.3 \
		Prima::ExtLists.3 \
		Prima::FileDialog.3 \
		Prima::FontDialog.3 \
		Prima::FrameSet.3 \
		Prima::Gencls.3 \
		Prima::Grids.3 \
		Prima::Header.3 \
		Prima::HelpViewer.3 \
		Prima::Image::AnimateGIF.3 \
		Prima::Image::TransparencyControl.3 \
		Prima::Image::gif.3 \
		Prima::Image::jpeg.3 \
		Prima::Image::tiff.3 \
		Prima::ImageDialog.3 \
		Prima::ImageViewer.3 \
		Prima::IniFile.3 \
		Prima::InputLine.3 \
		Prima::IntUtils.3 \
		Prima::KeySelector.3 \
		Prima::Label.3 \
		Prima::Lists.3 \
		Prima::MDI.3 \
		Prima::MsgBox.3 \
		Prima::Notebooks.3 \
		Prima::Outlines.3 \
		Prima::PS::Drawable.3 \
		Prima::PS::Encodings.3 \
		Prima::PS::Fonts.3 \
		Prima::PS::Printer.3 \
		Prima::PS::Setup.3 \
		Prima::PodView.3 \
		Prima::PrintDialog.3 \
		Prima::RubberBand.3 \
		Prima::ScrollBar.3 \
		Prima::ScrollWidget.3 \
		Prima::Sliders.3 \
		Prima::StartupWindow.3 \
		Prima::StdBitmap.3 \
		Prima::StdDlg.3 \
		Prima::Stress.3 \
		Prima::Terminals.3 \
		Prima::TextView.3 \
		Prima::Themes.3 \
		Prima::Tie.3 \
		Prima::Utils.3 \
		Prima::VB::CfgMaint.3 \
		Prima::VB::Classes.3 \
		Prima::VB::Config.3 \
		Prima::VB::CoreClasses.3 \
		Prima::VB::VBControls.3 \
		Prima::VB::VBLoader.3 \
		Prima::VB::examples::Widgety.3 \
		Prima::Widgets.3 \
		Prima::noARGV.3 \
		Prima::noX11.3 \
		Prima::sys::gtk2::FileDialog.3 \
		Prima::sys::win32::FileDialog.3 \
		Prima::themes::color.3 \
		Prima::themes::round3d.3 \
		Prima::themes::sysimage.3 \
		Prima::themes::tabset.3 \
		pod::Prima::Clipboard.3 \
		pod::Prima::Drawable.3 \
		pod::Prima::File.3 \
		pod::Prima::Image.3 \
		pod::Prima::Menu.3 \
		pod::Prima::Object.3 \
		pod::Prima::Printer.3 \
		pod::Prima::Timer.3 \
		pod::Prima::Widget.3 \
		pod::Prima::Widget::pack.3 \
		pod::Prima::Widget::place.3 \
		pod::Prima::Window.3 \
		pod::Prima::X11.3 \
		pod::Prima::codecs.3 \
		pod::Prima::faq.3 \
		pod::Prima::gp-problems.3 \
		pod::Prima::image-load.3 \
		pod::Prima::internals.3 \
		pod::Prima::tutorial.3 \
		pod::gencls.3

.include <bsd.port.options.mk>

.if ${PORT_OPTIONS:MXFT}
USE_XORG+=	xft
.if ${PORT_OPTIONS:MICONV}
USES+=		iconv
.else
CONFIGURE_ARGS+=WITH_ICONV=0
.endif
.else
CONFIGURE_ARGS+=WITH_XFT=0
.endif

.if ${PORT_OPTIONS:MGTK}
USE_GNOME=	gtk20
CONFIGURE_ARGS+=WITH_GTK2=1
.endif

.include <bsd.port.mk>