47 lines
1.2 KiB
Makefile
47 lines
1.2 KiB
Makefile
# $OpenBSD: Makefile,v 1.11 2001/07/11 05:50:24 pvalchev Exp $
|
|
|
|
COMMENT= "graphical toolkit for Tcl"
|
|
|
|
DISTNAME= tk8.3.3
|
|
PKGNAME= tk-8.3.3
|
|
CATEGORIES= x11 tk83
|
|
NEED_VERSION= 1.402
|
|
MASTER_SITES= ${MASTER_SITE_TCLTK}
|
|
MASTER_SITE_SUBDIR= tcl8_3
|
|
|
|
HOMEPAGE= http://dev.scriptics.com/software/tcltk/
|
|
|
|
MAINTAINER= Kevin Lo <kevlo@openbsd.org>
|
|
|
|
PERMIT_PACKAGE_CDROM= Yes
|
|
PERMIT_PACKAGE_FTP= Yes
|
|
PERMIT_DISTFILES_CDROM= Yes
|
|
PERMIT_DISTFILES_FTP= Yes
|
|
|
|
LIB_DEPENDS= tcl83.1.3::lang/tcl/8.3
|
|
|
|
MAKE_FLAGS= CFLAGS="${CFLAGS}"
|
|
FAKE_FLAGS= INSTALL="install -c" INSTALL_ROOT="${WRKINST}" \
|
|
BASE_INCLUDE_DIR='$$(prefix)/include/tk$$(VERSION)' \
|
|
INCLUDE_INSTALL_DIR='$$(INSTALL_ROOT)$$(BASE_INCLUDE_DIR)' \
|
|
GENERIC_INCLUDE_INSTALL_DIR='$$(BASE_INCLUDE_DIR)/generic' \
|
|
UNIX_INCLUDE_INSTALL_DIR='$$(BASE_INCLUDE_DIR)/unix' \
|
|
MAN_INSTALL_DIR='$${INSTALL_ROOT}$$(TK_LIBRARY)/man'
|
|
|
|
SEPARATE_BUILD= concurrent
|
|
USE_X11= Yes
|
|
CONFIGURE_STYLE= gnu
|
|
CONFIGURE_ARGS+= ${CONFIGURE_SHARED}
|
|
CONFIGURE_ARGS+= --enable-static --with-tcl="${LOCALBASE}/lib/tcl8.3"
|
|
CONFIGURE_ENV= PORTSDIR="${PORTSDIR}"
|
|
|
|
WRKDIST= ${WRKDIR}/${DISTNAME}/unix
|
|
|
|
test: build
|
|
@cd ${WRKSRC} && make test
|
|
|
|
post-install:
|
|
@strip ${PREFIX}/bin/wish8.3
|
|
|
|
.include <bsd.port.mk>
|