to commit this file and it's on another machine that i won't be able to access for a couple weeks. Furthermore, i think it was just adding the threads option, which i see that wip/tcl86/options.mk does and wip/tk86 uses that file.
46 lines
1.2 KiB
Makefile
46 lines
1.2 KiB
Makefile
# $NetBSD: Makefile,v 1.11 2012/10/31 22:49:51 othyro Exp $
|
|
|
|
DISTNAME= tk8.6b2-src.tar.gz
|
|
PKGNAME= tk86-${TK_PKGSRC_PATCHLEVEL}
|
|
PKGREVISION= 1
|
|
CATEGORIES= x11 lang
|
|
MASTER_SITES= ${MASTER_SITE_SOURCEFORGE:=tcl/}
|
|
|
|
MAINTAINER= bch@methodlogic.net
|
|
HOMEPAGE= http://www.tcl.tk/
|
|
EXTRACT_SUFX=
|
|
EXTRACT_CMD= tar xzf $$extract_file
|
|
COMMENT= Graphical toolkit for Tcl
|
|
LICENSE= 2-clause-bsd # ?
|
|
|
|
.include "../../wip/tk86/Makefile.version"
|
|
.include "../../wip/tcl86/options.mk"
|
|
|
|
WRKSRC= ${WRKDIR}/tk8.6b2
|
|
|
|
GNU_CONFIGURE= yes
|
|
CONFIGURE_DIRS= unix
|
|
BUILD_DIRS= ${CONFIGURE_DIRS}
|
|
USE_TOOLS+= tar
|
|
|
|
CONFIGURE_ARGS+= --prefix=${PREFIX}
|
|
# CONFIGURE_ARGS+= --with-tcl=${TCLCONFIG_SH_DIR}
|
|
CONFIGURE_ARGS+= --with-tcl=${PREFIX}/lib
|
|
# CONFIGURE_ARGS+= --enable-shared=no
|
|
CONFIGURE_ARGS+= --x-includes=${BUILDLINK_PREFIX.libX11}/include
|
|
CONFIGURE_ARGS+= --x-libraries=${BUILDLINK_PREFIX.libX11}/lib
|
|
|
|
TEST_TARGET= test
|
|
INSTALL_TARGET= install install-private-headers
|
|
|
|
.include "../../wip/tcl86/buildlink3.mk"
|
|
.include "../../x11/libXScrnSaver/buildlink3.mk"
|
|
.include "../../x11/libXft/buildlink3.mk"
|
|
.include "../../x11/libX11/buildlink3.mk"
|
|
|
|
DESTDIRPREFIX= ${DESTDIR}${PREFIX}
|
|
|
|
post-install:
|
|
${RM} ${DESTDIRPREFIX:Q}/lib/tk8.6/demos/license.terms
|
|
|
|
.include "../../mk/bsd.pkg.mk"
|