2004-12-19 12:27:00 -05:00
|
|
|
# $OpenBSD: Makefile,v 1.15 2004/12/19 17:27:02 alek Exp $
|
2001-05-06 00:41:05 -04:00
|
|
|
|
|
|
|
COMMENT= "tk extension"
|
2000-06-07 12:40:02 -04:00
|
|
|
|
2004-11-23 21:35:26 -05:00
|
|
|
DISTNAME= Tktable2.9
|
|
|
|
PKGNAME= Tktable-2.9
|
2000-06-07 12:40:02 -04:00
|
|
|
CATEGORIES= x11
|
|
|
|
|
2001-05-29 21:56:04 -04:00
|
|
|
HOMEPAGE= http://tktable.sourceforge.net/
|
2000-10-12 08:41:23 -04:00
|
|
|
|
|
|
|
MAINTAINER= Kevin Lo <kevlo@openbsd.org>
|
2000-06-07 12:40:02 -04:00
|
|
|
|
2003-10-08 13:13:14 -04:00
|
|
|
# BSD-like
|
2000-06-07 12:40:02 -04:00
|
|
|
PERMIT_PACKAGE_CDROM= Yes
|
|
|
|
PERMIT_PACKAGE_FTP= Yes
|
|
|
|
PERMIT_DISTFILES_CDROM= Yes
|
|
|
|
PERMIT_DISTFILES_FTP= Yes
|
2004-12-19 12:27:00 -05:00
|
|
|
WANTLIB= X11
|
2000-06-07 12:40:02 -04:00
|
|
|
|
2002-05-15 14:05:18 -04:00
|
|
|
MASTER_SITES= ${MASTER_SITE_SOURCEFORGE:=tktable/}
|
2001-08-11 12:04:45 -04:00
|
|
|
|
2003-12-27 18:34:42 -05:00
|
|
|
BUILD_DEPENDS= ::x11/tk/8.4
|
2000-06-07 12:40:02 -04:00
|
|
|
|
2001-07-09 13:10:49 -04:00
|
|
|
USE_X11= Yes
|
2003-06-20 01:24:19 -04:00
|
|
|
CONFIGURE_STYLE= gnu
|
2003-12-27 18:34:42 -05:00
|
|
|
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
|
2000-06-07 12:40:02 -04:00
|
|
|
|
2002-10-29 12:50:08 -05:00
|
|
|
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
|
|
|
|
|
2000-08-26 10:18:12 -04:00
|
|
|
post-install:
|
|
|
|
${INSTALL_DATA_DIR} ${PREFIX}/share/examples/Tktable
|
2003-06-20 01:24:19 -04:00
|
|
|
@cp ${WRKSRC}/demos/* ${PREFIX}/share/examples/Tktable
|
2000-06-07 12:40:02 -04:00
|
|
|
|
|
|
|
.include <bsd.port.mk>
|