# $OpenBSD: Makefile,v 1.18 2008/01/28 15:19:16 merdely Exp $ COMMENT= tk extension V= 2.9 DISTNAME= Tktable$V PKGNAME= Tktable-$Vp0 SHARED_LIBS= Tktable29 1.0 CATEGORIES= x11 HOMEPAGE= http://tktable.sourceforge.net/ MAINTAINER= Kevin Lo # BSD-like PERMIT_PACKAGE_CDROM= Yes PERMIT_PACKAGE_FTP= Yes PERMIT_DISTFILES_CDROM= Yes PERMIT_DISTFILES_FTP= Yes WANTLIB= X11 MASTER_SITES= ${MASTER_SITE_SOURCEFORGE:=tktable/} BUILD_DEPENDS= ::x11/tk/8.4 USE_X11= Yes CONFIGURE_STYLE= gnu CONFIGURE_ARGS= --with-tcl=${PREFIX}/lib/tcl8.4 \ --with-tk=${PREFIX}/lib/tk8.4 \ --with-tclinclude=${PREFIX}/include/tcl8.4 \ --with-tkinclude=${PREFIX}/include/tk8.4 CONFIGURE_ENV= LIBTktable29_VERSION=${LIBTktable29_VERSION} MAKE_ENV= DISPLAY="${DISPLAY}" XAUTHORITY="${XAUTHORITY}" REGRESS_TARGET= test REGRESS_IS_INTERACTIVE= Yes pre-regress: .for t in DISPLAY XAUTHORITY . if !defined($t) @echo "$t needs to be set to run regress"; exit 1 . endif .endfor post-install: ${INSTALL_DATA_DIR} ${PREFIX}/share/examples/Tktable @cp ${WRKSRC}/demos/* ${PREFIX}/share/examples/Tktable .include