Skip site navigation (1)Skip section navigation (2)
Date:      Fri, 10 Jan 2014 08:50:57 +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: r339333 - head/x11-toolkits/pure-tk
Message-ID:  <201401100850.s0A8ov5t007467@svn.freebsd.org>

next in thread | raw e-mail | index | archive | help
Author: gahr
Date: Fri Jan 10 08:50:56 2014
New Revision: 339333
URL: http://svnweb.freebsd.org/changeset/ports/339333

Log:
  - Convert to USES=tk and take advantage of the TK_SHLIB_VER variable
  - Fix LICENSE (BSD -> BSD3CLAUSE)

Modified:
  head/x11-toolkits/pure-tk/Makefile

Modified: head/x11-toolkits/pure-tk/Makefile
==============================================================================
--- head/x11-toolkits/pure-tk/Makefile	Fri Jan 10 08:50:19 2014	(r339332)
+++ head/x11-toolkits/pure-tk/Makefile	Fri Jan 10 08:50:56 2014	(r339333)
@@ -10,11 +10,9 @@ DIST_SUBDIR=	pure
 MAINTAINER=	lichray@gmail.com
 COMMENT=	Basic interface between Pure and Tcl/Tk
 
-LICENSE=	BSD
+LICENSE=	BSD3CLAUSE
 
-USES=		pure
-USE_TK=		86+
-SHORT_TCL_VER=	${TCL_VER:S/8./8/}
+USES=		pure tk:86+
 
 MAKE_ARGS+=	tclvers=${TCL_VER}
 
@@ -25,8 +23,8 @@ PLIST_FILES=	lib/pure/gnocl.pure \
 post-patch:
 	${REINPLACE_CMD} \
 		-e "s|/usr/include|${LOCALBASE}/include|g" \
-		-e "s|-ltcl\$$(tclvers)|-ltcl${SHORT_TCL_VER}|" \
-		-e "s|-ltk\$$(tclvers)|-ltk${SHORT_TCL_VER}|" \
+		-e "s|-ltcl\$$(tclvers)|-ltcl${TCL_SHLIB_VER}|" \
+		-e "s|-ltk\$$(tclvers)|-ltk${TK_SHLIB_VER}|" \
 		${WRKSRC}/Makefile
 
 NO_STAGE=	yes



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