2010-10-19 04:13:56 -04:00
|
|
|
# $OpenBSD: Makefile,v 1.8 2010/10/19 08:13:58 espie Exp $
|
2006-10-28 16:38:25 -04:00
|
|
|
|
|
|
|
PKG_ARCH= *
|
|
|
|
|
2007-09-15 16:04:18 -04:00
|
|
|
COMMENT= Iwidgets Mega Widget Set
|
2006-10-28 16:38:25 -04:00
|
|
|
|
|
|
|
VERSION= 4.0.1
|
|
|
|
DISTNAME= iwidgets${VERSION}
|
2010-07-30 02:58:57 -04:00
|
|
|
PKGNAME= iwidgets-${VERSION}
|
|
|
|
REVISION= 2
|
2006-10-28 16:38:25 -04:00
|
|
|
|
2009-03-13 10:11:02 -04:00
|
|
|
CATEGORIES= x11 devel
|
2006-10-28 16:38:25 -04:00
|
|
|
|
|
|
|
HOMEPAGE= http://incrtcl.sourceforge.net/iwidgets/
|
|
|
|
|
|
|
|
MAINTAINER= Nikns Siankin <nikns@secure.lv>
|
|
|
|
|
|
|
|
# BSD style
|
|
|
|
PERMIT_PACKAGE_CDROM= Yes
|
|
|
|
PERMIT_PACKAGE_FTP= Yes
|
|
|
|
PERMIT_DISTFILES_CDROM= Yes
|
|
|
|
PERMIT_DISTFILES_FTP= Yes
|
|
|
|
|
|
|
|
MASTER_SITES= ${MASTER_SITE_SOURCEFORGE:=incrtcl/}
|
|
|
|
|
2009-03-13 10:11:02 -04:00
|
|
|
MODULES= x11/tk
|
|
|
|
BUILD_DEPENDS= ${MODTK_RUN_DEPENDS}
|
2010-06-12 17:34:26 -04:00
|
|
|
RUN_DEPENDS= ${MODTK_RUN_DEPENDS} \
|
2010-06-07 10:40:47 -04:00
|
|
|
:itcl->=3.4,<3.5:devel/itcl \
|
|
|
|
:itk->=3.3,<3.4:x11/itk
|
2006-10-28 16:38:25 -04:00
|
|
|
REGRESS_DEPENDS=${RUN_DEPENDS}
|
|
|
|
# This regression test wants an X11 display
|
|
|
|
REGRESS_IS_INTERACTIVE= Yes
|
|
|
|
|
|
|
|
NO_BUILD= Yes
|
|
|
|
|
2010-06-07 10:40:47 -04:00
|
|
|
AUTOCONF_VERSION=2.13
|
|
|
|
CONFIGURE_STYLE=autoconf dest
|
2006-10-28 16:38:25 -04:00
|
|
|
|
2009-03-13 10:11:02 -04:00
|
|
|
CONFIGURE_ARGS= --with-tcl=${MODTCL_LIBDIR} \
|
2010-06-07 10:40:47 -04:00
|
|
|
--with-tk=${MODTK_LIBDIR} \
|
|
|
|
--with-itcl=${LOCALBASE}/itcl3.4
|
2006-10-28 16:38:25 -04:00
|
|
|
|
2010-06-07 10:40:47 -04:00
|
|
|
CONFIGURE_ENV= ITCL_VERSION=3.4
|
2010-10-19 04:13:56 -04:00
|
|
|
USE_GROFF = Yes
|
2006-10-28 16:38:25 -04:00
|
|
|
|
|
|
|
pre-configure:
|
|
|
|
@perl -pi -e 's,^\.HS,\.TH,' ${WRKBUILD}/doc/*.n
|
|
|
|
|
|
|
|
do-regress:
|
|
|
|
cd ${WRKSRC} && env IWIDGETS_LIBRARY=${WRKSRC} \
|
2009-03-13 10:11:02 -04:00
|
|
|
${MODTK_BIN} tests/all.tcl
|
2006-10-28 16:38:25 -04:00
|
|
|
|
|
|
|
.include <bsd.port.mk>
|