# $OpenBSD: Makefile,v 1.3 2009/03/13 14:11:02 sthen Exp $ PKG_ARCH= * COMMENT= Iwidgets Mega Widget Set VERSION= 4.0.1 DISTNAME= iwidgets${VERSION} PKGNAME= iwidgets-${VERSION}p0 CATEGORIES= x11 devel HOMEPAGE= http://incrtcl.sourceforge.net/iwidgets/ MAINTAINER= Nikns Siankin # BSD style PERMIT_PACKAGE_CDROM= Yes PERMIT_PACKAGE_FTP= Yes PERMIT_DISTFILES_CDROM= Yes PERMIT_DISTFILES_FTP= Yes MASTER_SITES= ${MASTER_SITE_SOURCEFORGE:=incrtcl/} MODULES= x11/tk BUILD_DEPENDS= ${MODTK_RUN_DEPENDS} RUN_DEPENDS= ${BUILD_DEPENDS} \ ::x11/itk REGRESS_DEPENDS=${RUN_DEPENDS} # This regression test wants an X11 display REGRESS_IS_INTERACTIVE= Yes NO_BUILD= Yes MODTCL_VERSION= 8.4 MODTK_VERSION= 8.4 ITK_VERSION= 3.3 ITCL_VERSION= 3.3 CONFIGURE_STYLE=gnu dest CONFIGURE_ARGS= --with-tcl=${MODTCL_LIBDIR} \ --with-tk=${MODTK_LIBDIR} CONFIGURE_ENV= ITCL_VERSION=${ITCL_VERSION} pre-configure: @perl -pi -e 's,^\.HS,\.TH,' ${WRKBUILD}/doc/*.n do-regress: cd ${WRKSRC} && env IWIDGETS_LIBRARY=${WRKSRC} \ ${MODTK_BIN} tests/all.tcl .include