svn commit: r339333 - head/x11-toolkits/pure-tk

Pietro Cerutti gahr at FreeBSD.org
Fri Jan 10 08:50:57 UTC 2014


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 at 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


More information about the svn-ports-all mailing list