Skip site navigation (1)Skip section navigation (2)
Date:      Fri, 9 Mar 2018 21:50:07 +0000 (UTC)
From:      Sunpoet Po-Chuan Hsieh <sunpoet@FreeBSD.org>
To:        ports-committers@freebsd.org, svn-ports-all@freebsd.org, svn-ports-head@freebsd.org
Subject:   svn commit: r464030 - head/x11-toolkits/tktreectrl
Message-ID:  <201803092150.w29Lo7ph038107@repo.freebsd.org>

next in thread | raw e-mail | index | archive | help
Author: sunpoet
Date: Fri Mar  9 21:50:07 2018
New Revision: 464030
URL: https://svnweb.freebsd.org/changeset/ports/464030

Log:
  Add LICENSE
  
  - Relax USES=tk
  - Remove PLIST_SUB: TCL_PKG is already defined in Mk/Uses/tcl.mk
  - Simplify post-patch:
  - Update pkg-descr
  - Take maintainership

Modified:
  head/x11-toolkits/tktreectrl/Makefile
  head/x11-toolkits/tktreectrl/pkg-descr

Modified: head/x11-toolkits/tktreectrl/Makefile
==============================================================================
--- head/x11-toolkits/tktreectrl/Makefile	Fri Mar  9 21:50:03 2018	(r464029)
+++ head/x11-toolkits/tktreectrl/Makefile	Fri Mar  9 21:50:07 2018	(r464030)
@@ -6,17 +6,20 @@ PORTVERSION=	2.4.1
 CATEGORIES=	x11-toolkits tk
 MASTER_SITES=	SF/${PORTNAME}/${PORTNAME}/${PORTNAME}-${PORTVERSION}
 
-MAINTAINER=	ports@FreeBSD.org
+MAINTAINER=	sunpoet@FreeBSD.org
 COMMENT=	Multi-column hierarchical listbox widget
 
-USES=		tk:86,tea
+LICENSE=	TclTk
+LICENSE_NAME=	Tcl/Tk License
+LICENSE_FILE=	${WRKSRC}/license.terms
+LICENSE_PERMS=	dist-mirror dist-sell pkg-mirror pkg-sell auto-accept
+
+USES=		tk:tea
+USE_LDCONFIG=	${PREFIX}/lib/${TCL_PKG}
 USE_XORG=	x11
 TCL_PKG=	treectrl${PORTVERSION}
-USE_LDCONFIG=	${PREFIX}/lib/${TCL_PKG}
-PLIST_SUB=	TCL_PKG=${TCL_PKG}
 
 post-patch:
-	@${REINPLACE_CMD} -e 's/FreeBSD-\*/FreeBSD-*|DragonFly-*/' \
-		${WRKSRC}/configure
+	@${REINPLACE_CMD} -e 's/FreeBSD-\*/&|DragonFly-*/' ${WRKSRC}/configure
 
 .include <bsd.port.mk>

Modified: head/x11-toolkits/tktreectrl/pkg-descr
==============================================================================
--- head/x11-toolkits/tktreectrl/pkg-descr	Fri Mar  9 21:50:03 2018	(r464029)
+++ head/x11-toolkits/tktreectrl/pkg-descr	Fri Mar  9 21:50:07 2018	(r464030)
@@ -1,3 +1,3 @@
-TkTreeCtrl is a multi-column hierarchical listbox widget for Tk
+TkTreeCtrl is a multi-column hierarchical listbox widget for the Tk GUI toolkit.
 
 WWW: http://tktreectrl.sourceforge.net/



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