summaryrefslogtreecommitdiff
path: root/x11-toolkits/p5-Tk/Makefile
blob: bcf16f1453561afb92be5e83731199bd37791042 (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
# New ports collection makefile for:	p5-Tk
# Date created:				October 21st 1996
# Whom:	      				James FitzGibbon <jfitz@FreeBSD.org>
#
# $FreeBSD$
#

PORTNAME=	Tk
PORTVERSION=	804.025.b6
CATEGORIES=	x11-toolkits tk84 perl5
MASTER_SITES=	${MASTER_SITE_PERL_CPAN}
MASTER_SITE_SUBDIR=	Tk
DISTNAME=	${PORTNAME}-${PORTVERSION:R}_beta6
PKGNAMEPREFIX=	p5-

MAINTAINER=	yinjieh@csie.nctu.edu.tw
COMMENT=	A re-port of a perl5 interface to Tk8.4

USE_XLIB=	yes
PERL_CONFIGURE=	yes
WRKSRC=		${WRKDIR}/${DISTNAME}

MAN1=		ptked.1 \
		ptksh.1 \
		widget.1

MAN3=		Tie::Watch.3 \
		Tk.3 \
		Tk::Adjuster.3 \
		Tk::Animation.3 \
		Tk::Balloon.3 \
		Tk::Bitmap.3 \
		Tk::BrowseEntry.3 \
		Tk::Button.3 \
		Tk::Canvas.3 \
		Tk::Checkbutton.3 \
		Tk::Clipboard.3 \
		Tk::CmdLine.3 \
		Tk::ColorEditor.3 \
		Tk::Common.3 \
		Tk::Compound.3 \
		Tk::ConfigSpecs.3 \
		Tk::DItem.3 \
		Tk::Derived.3 \
		Tk::Dialog.3 \
		Tk::DialogBox.3 \
		Tk::DirTree.3 \
		Tk::DropSite.3 \
		Tk::Entry.3 \
		Tk::Error.3 \
		Tk::Eventloop.3 \
		Tk::FBox.3 \
		Tk::FileSelect.3 \
		Tk::Font.3 \
		Tk::Frame.3 \
		Tk::HList.3 \
		Tk::IO.3 \
		Tk::IconList.3 \
		Tk::Image.3 \
		Tk::InputO.3 \
		Tk::Internals.3 \
		Tk::Item.3 \
		Tk::JPEG.3 \
		Tk::LabFrame.3 \
		Tk::Label.3 \
		Tk::Labelframe.3 \
		Tk::Listbox.3 \
		Tk::MainWindow.3 \
		Tk::Menu.3 \
		Tk::Menubutton.3 \
		Tk::Message.3 \
		Tk::Mwm.3 \
		Tk::NoteBook.3 \
		Tk::Optionmenu.3 \
		Tk::PNG.3 \
		Tk::Pane.3 \
		Tk::Panedwindow.3 \
		Tk::Photo.3 \
		Tk::Pixmap.3 \
		Tk::Popup.3 \
		Tk::ProgressBar.3 \
		Tk::ROText.3 \
		Tk::Radiobutton.3 \
		Tk::Reindex.3 \
		Tk::Scale.3 \
		Tk::Scrollbar.3 \
		Tk::Scrolled.3 \
		Tk::Spinbox.3 \
		Tk::Submethods.3 \
		Tk::SunConst.3 \
		Tk::TList.3 \
		Tk::Table.3 \
		Tk::Tcl-perl.3 \
		Tk::Text.3 \
		Tk::TextUndo.3 \
		Tk::Tiler.3 \
		Tk::TixGrid.3 \
		Tk::Toplevel.3 \
		Tk::Trace.3 \
		Tk::Tree.3 \
		Tk::UserGuide.3 \
		Tk::Widget.3 \
		Tk::WidgetDemo.3 \
		Tk::WinPhoto.3 \
		Tk::Wm.3 \
		Tk::X.3 \
		Tk::X11Font.3 \
		Tk::Xrm.3 \
		Tk::after.3 \
		Tk::bind.3 \
		Tk::bindtags.3 \
		Tk::callbacks.3 \
		Tk::chooseColor.3 \
		Tk::chooseDirectory.3 \
		Tk::composite.3 \
		Tk::event.3 \
		Tk::exit.3 \
		Tk::fileevent.3 \
		Tk::focus.3 \
		Tk::form.3 \
		Tk::getOpenFile.3 \
		Tk::grab.3 \
		Tk::grid.3 \
		Tk::mega.3 \
		Tk::messageBox.3 \
		Tk::option.3 \
		Tk::options.3 \
		Tk::overview.3 \
		Tk::pTk.3 \
		Tk::pack.3 \
		Tk::palette.3 \
		Tk::place.3 \
		Tk::selection.3 \
		Tk::send.3 \
		Tk::tixWm.3 \
		Tk::tkvars.3 \
		Tk::widgets.3
MAN3PREFIX=	${PREFIX}/lib/perl5/${PERL_VERSION}

.include <bsd.port.pre.mk>

.if ${PERL_LEVEL} < 500800
IGNORE=		"This port needs Perl 5.8.0 or greater, please upgrade your Perl!"
.endif

post-configure:
	@${PERL} -i -p \
		-e 's|^(CC = ).*|$$1 ${CC}|;' \
		-e 's|^(CCFLAGS = ).*|$$1 ${CFLAGS}|' \
		`${FIND} ${WRKSRC} -name Makefile`

.include <bsd.port.post.mk>