Skip site navigation (1)Skip section navigation (2)
Date:      Thu, 19 Sep 2013 14:21:42 +0000 (UTC)
From:      Pietro Cerutti <gahr@FreeBSD.org>
To:        ports-committers@freebsd.org, svn-ports-all@freebsd.org, svn-ports-head@freebsd.org
Subject:   svn commit: r327625 - in head: devel/tcl-mmap devel/tcl-signal devel/tcllib devel/tclreadline devel/tclthread devel/yajl-tcl irc/roxirc sysutils/dirdiff x11-toolkits/gnocl
Message-ID:  <201309191421.r8JELgwg012432@svn.freebsd.org>

next in thread | raw e-mail | index | archive | help
Author: gahr
Date: Thu Sep 19 14:21:42 2013
New Revision: 327625
URL: http://svnweb.freebsd.org/changeset/ports/327625

Log:
  - Convert USE_TCL to USES=tcl

Modified:
  head/devel/tcl-mmap/Makefile
  head/devel/tcl-signal/Makefile
  head/devel/tcllib/Makefile
  head/devel/tclreadline/Makefile
  head/devel/tclthread/Makefile
  head/devel/yajl-tcl/Makefile
  head/irc/roxirc/Makefile
  head/sysutils/dirdiff/Makefile
  head/x11-toolkits/gnocl/Makefile

Modified: head/devel/tcl-mmap/Makefile
==============================================================================
--- head/devel/tcl-mmap/Makefile	Thu Sep 19 14:18:29 2013	(r327624)
+++ head/devel/tcl-mmap/Makefile	Thu Sep 19 14:21:42 2013	(r327625)
@@ -11,7 +11,7 @@ COMMENT=	New TCL channel type using mmap
 
 LICENSE=	GPLv3
 
-USE_TCL=	84+
+USES+=		tcl
 GNU_CONFIGURE=	yes
 CONFIGURE_ARGS+=--with-tcl=${TCL_LIBDIR} \
 		--prefix=${PREFIX} \

Modified: head/devel/tcl-signal/Makefile
==============================================================================
--- head/devel/tcl-signal/Makefile	Thu Sep 19 14:18:29 2013	(r327624)
+++ head/devel/tcl-signal/Makefile	Thu Sep 19 14:21:42 2013	(r327625)
@@ -14,7 +14,7 @@ DISTNAME=	signal_ext${PORTVERSION:R:R}
 MAINTAINER=	tcltk@FreeBSD.org
 COMMENT=	Dynamically loadable signal handling for Tcl/Tk scripts
 
-USE_TCL=	yes
+USES+=		tcl
 GNU_CONFIGURE=	yes
 ALL_TARGET=	signal.so
 CONFIGURE_ARGS+=--with-tcl=${TCL_LIBDIR}

Modified: head/devel/tcllib/Makefile
==============================================================================
--- head/devel/tcllib/Makefile	Thu Sep 19 14:18:29 2013	(r327624)
+++ head/devel/tcllib/Makefile	Thu Sep 19 14:21:42 2013	(r327625)
@@ -12,8 +12,7 @@ COMMENT=	A collection of utility modules
 
 OPTIONS_DEFINE=	DOCS MANPAGES
 
-USE_TCL=	84+
-
+USES+=		tcl
 GNU_CONFIGURE=	yes
 CONFIGURE_ENV+=	ac_cv_path_tclsh="${TCLSH}"
 ALL_TARGET=	all

Modified: head/devel/tclreadline/Makefile
==============================================================================
--- head/devel/tclreadline/Makefile	Thu Sep 19 14:18:29 2013	(r327624)
+++ head/devel/tclreadline/Makefile	Thu Sep 19 14:21:42 2013	(r327625)
@@ -10,7 +10,7 @@ MASTER_SITES=	SF/${PORTNAME}/${PORTNAME}
 MAINTAINER=	tcltk@FreeBSD.org
 COMMENT=	GNU readline for TCL
 
-USE_TCL=	84+
+USES+=		tcl
 USE_AUTOTOOLS=	libtool
 USE_LDCONFIG=	yes
 MANN=		tclreadline.n

Modified: head/devel/tclthread/Makefile
==============================================================================
--- head/devel/tclthread/Makefile	Thu Sep 19 14:18:29 2013	(r327624)
+++ head/devel/tclthread/Makefile	Thu Sep 19 14:21:42 2013	(r327625)
@@ -14,11 +14,12 @@ COMMENT=	Scripting level thread extensio
 LICENSE=	BSD
 LICENSE_FILE=	${WRKSRC}/license.terms
 
-USE_TCL=	84+
+USES+=		tcl
 
 DOCSDIR=	${PREFIX}/share/doc/${PKGNAMEPREFIX}${PORTNAME}
 GNU_CONFIGURE=	yes
-CONFIGURE_ARGS+=--exec-prefix=${PREFIX}
+CONFIGURE_ARGS+=--with-tcl=${TCL_LIBDIR} \
+		--exec-prefix=${PREFIX}
 USE_LDCONFIG=	${PREFIX}/lib/thread${PORTVERSION}
 
 PLIST_SUB+=	VERSION="${PORTVERSION}"
@@ -26,7 +27,7 @@ PLIST_SUB+=	VERSION="${PORTVERSION}"
 INSTALL_TARGET=		install-binaries install-libraries
 .if !defined(NO_INSTALL_MANPAGES)
 MANN=		thread.n tpool.n tsv.n ttrace.n
-INSTALL_TARGET+=	install-doc
+INSTALL_TARGET+=install-doc
 .endif
 
 OPTIONS_DEFINE=	GDBM DOCS
@@ -35,13 +36,11 @@ GDBM_DESC=	Persistent shared variables u
 
 PORTDOCS=	*
 
-.include <bsd.port.pre.mk>
-
-CONFIGURE_ARGS+=	--with-tcl="${TCL_LIBDIR}"
+.include <bsd.port.options.mk>
 
 .if ${PORT_OPTIONS:MGDBM}
-LIB_DEPENDS+=		gdbm:${PORTSDIR}/databases/gdbm
-CONFIGURE_ARGS+=	--with-gdbm
+LIB_DEPENDS+=	gdbm:${PORTSDIR}/databases/gdbm
+CONFIGURE_ARGS+=--with-gdbm
 .endif
 
 post-patch:
@@ -59,4 +58,4 @@ post-install:
 .endfor
 .endif
 
-.include <bsd.port.post.mk>
+.include <bsd.port.mk>

Modified: head/devel/yajl-tcl/Makefile
==============================================================================
--- head/devel/yajl-tcl/Makefile	Thu Sep 19 14:18:29 2013	(r327624)
+++ head/devel/yajl-tcl/Makefile	Thu Sep 19 14:21:42 2013	(r327625)
@@ -16,7 +16,7 @@ USE_GITHUB=	yes
 GH_ACCOUNT=	flightaware
 WRKSRC=		${WRKDIR}/${PORTNAME}-${PORTVERSION}
 
-USE_TCL=	85+
+USES+=		tcl:85+
 USE_AUTOTOOLS=	autoconf
 CONFIGURE_ARGS+=--with-tcl=${TCL_LIBDIR}
 

Modified: head/irc/roxirc/Makefile
==============================================================================
--- head/irc/roxirc/Makefile	Thu Sep 19 14:18:29 2013	(r327624)
+++ head/irc/roxirc/Makefile	Thu Sep 19 14:21:42 2013	(r327625)
@@ -10,7 +10,7 @@ MASTER_SITES=	http://roxirc.lighter.net/
 MAINTAINER=	tcltk@FreeBSD.org
 COMMENT=	A tcl/tk irc client
 
-USE_TK=		yes
+USES+=		tk:run
 NO_BUILD=	yes
 
 post-patch:

Modified: head/sysutils/dirdiff/Makefile
==============================================================================
--- head/sysutils/dirdiff/Makefile	Thu Sep 19 14:18:29 2013	(r327624)
+++ head/sysutils/dirdiff/Makefile	Thu Sep 19 14:21:42 2013	(r327625)
@@ -13,9 +13,8 @@ COMMENT=	Graphical diff tool
 LICENSE=	GPLv2 # (or later)
 LICENSE_FILE=	${WRKSRC}/COPYING
 
-USE_TCL_BUILD=	yes
+USES+=		tk
 USE_LDCONFIG=	yes
-USE_TK=		yes
 
 PLIST_FILES=	bin/dirdiff lib/libfilecmp.so.0
 

Modified: head/x11-toolkits/gnocl/Makefile
==============================================================================
--- head/x11-toolkits/gnocl/Makefile	Thu Sep 19 14:18:29 2013	(r327624)
+++ head/x11-toolkits/gnocl/Makefile	Thu Sep 19 14:21:42 2013	(r327625)
@@ -17,9 +17,8 @@ LIB_DEPENDS=	canberra:${PORTSDIR}/audio/
 		gtkimageview:${PORTSDIR}/x11-toolkits/gtkimageview
 
 USE_BZIP2=	yes
-USES=		gmake pkgconfig
+USES=		gmake pkgconfig tcl
 USE_GNOME=	gtk20 libglade2
-USE_TCL=	84+
 USE_LDCONFIG=	yes
 CFLAGS+=	-I${TCL_INCLUDEDIR} -L${TCL_LIBDIR}
 



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?201309191421.r8JELgwg012432>