aboutsummaryrefslogtreecommitdiffstats
path: root/x11-toolkits
diff options
context:
space:
mode:
authorsunpoet <sunpoet@FreeBSD.org>2018-03-10 05:50:07 +0800
committersunpoet <sunpoet@FreeBSD.org>2018-03-10 05:50:07 +0800
commitfeea582a1a3a57d5b90da3959466d6386e52273f (patch)
treeaf99b66acfa5058c3987729d0a2e87ea4e95fde2 /x11-toolkits
parentbd5a858e8254612cbaff6cae56f626cd6628d13c (diff)
downloadfreebsd-ports-gnome-feea582a1a3a57d5b90da3959466d6386e52273f.tar.gz
freebsd-ports-gnome-feea582a1a3a57d5b90da3959466d6386e52273f.tar.zst
freebsd-ports-gnome-feea582a1a3a57d5b90da3959466d6386e52273f.zip
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
Diffstat (limited to 'x11-toolkits')
-rw-r--r--x11-toolkits/tktreectrl/Makefile15
-rw-r--r--x11-toolkits/tktreectrl/pkg-descr2
2 files changed, 10 insertions, 7 deletions
diff --git a/x11-toolkits/tktreectrl/Makefile b/x11-toolkits/tktreectrl/Makefile
index 762df1aac24b..ca93e0dfd7db 100644
--- a/x11-toolkits/tktreectrl/Makefile
+++ b/x11-toolkits/tktreectrl/Makefile
@@ -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>
diff --git a/x11-toolkits/tktreectrl/pkg-descr b/x11-toolkits/tktreectrl/pkg-descr
index 900aba5b6387..4494123809d0 100644
--- a/x11-toolkits/tktreectrl/pkg-descr
+++ b/x11-toolkits/tktreectrl/pkg-descr
@@ -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/