freebsd-ports/x11-toolkits/iwidgets/Makefile
Mikhail Teterin 3295fa4f6e Update to itcl 3.2. Don't build stubs. Run tests after tests.
Install iwidgets2.2.0 in  addition to 3.0.0. The older  version is still
in  use by  some  scripts and  continues to  come  with itcl3.2.  Change
maintainer to ports@

Approved by:	maintainer's silence
2001-07-28 14:53:46 +00:00

52 lines
1.8 KiB
Makefile

# 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
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>