summaryrefslogtreecommitdiffstats
path: root/x11-toolkits/iwidgets/Makefile
blob: 56adecb0585099221b42e02fd579e83b767dc799 (plain)
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
# New ports collection makefile for:	itk
# Date created:		Aug 17 1996
# Whom:			chuckr
#
# $FreeBSD$
#

PORTNAME=	iwidgets
PORTVERSION=	3.2
CATEGORIES=	x11-toolkits tk83
MASTER_SITES=	${MASTER_SITE_SOURCEFORGE}
MASTER_SITE_SUBDIR=incrtcl
DISTNAME=	itcl3.2

MAINTAINER=	ports@freebsd.org
COMMENT=	[incr Widgets] (A.K.A. "iwidgets")

LIB_DEPENDS=	itk32.1:${PORTSDIR}/x11-toolkits/itk

EXTRACT_AFTER_ARGS=| ${TAR} -xf - ./itcl3.2/iwidgets\*
NO_BUILD=	yes

MANN=		buttonbox.n calendar.n canvasprintbox.n canvasprintdialog.n \
		checkbox.n combobox.n dateentry.n datefield.n dialog.n \
		dialogshell.n disjointlistbox.n entryfield.n \
		extfileselectionbox.n extfileselectiondialog.n feedback.n \
		fileselectionbox.n fileselectiondialog.n finddialog.n \
		hierarchy.n hyperhelp.n labeledframe.n labeledwidget.n \
		mainwindow.n menubar.n messagebox.n messagedialog.n \
		notebook.n optionmenu.n panedwindow.n promptdialog.n \
		pushbutton.n radiobox.n scopedobject.n scrolledcanvas.n \
		scrolledframe.n scrolledhtml.n shell.n scrolledlistbox.n \
		scrolledtext.n selectionbox.n selectiondialog.n spindate.n \
		spinint.n spinner.n spintime.n tabnotebook.n tabset.n \
		timeentry.n timefield.n toolbar.n watch.n

# Install both versions of iwidgets, but only the
# latest version of man-pages:
do-install:
.for d in iwidgets3.0.0 iwidgets2.2.0
	${MKDIR} ${PREFIX}/lib/$d/scripts/ ${PREFIX}/lib/$d/demos/images/
	${INSTALL_DATA} ${WRKSRC}/$d/generic/* ${PREFIX}/lib/$d/scripts/
	${INSTALL_DATA} ${WRKSRC}/$d/*.tcl ${PREFIX}/lib/$d/
# Everything, but the html:
	${INSTALL_DATA} `${GREP} -Fl 'package require' ${WRKSRC}/$d/demos/*` \
		${WRKSRC}/$d/demos/*.* ${PREFIX}/lib/$d/demos/
	${INSTALL_DATA} ${WRKSRC}/$d/demos/images/* \
		${PREFIX}/lib/$d/demos/images/
.endfor
	${INSTALL_MAN} ${WRKSRC}/iwidgets3.0.0/doc/*.n ${PREFIX}/man/mann/

.include <bsd.port.mk>
OpenPOWER on IntegriCloud