git: 878188bc5f4c - main - linux-c7-{tcl,tk}85: Fix package

From: Fernando Apesteguía <fernape_at_FreeBSD.org>
Date: Thu, 18 Apr 2024 10:14:35 UTC
The branch main has been updated by fernape:

URL: https://cgit.FreeBSD.org/ports/commit/?id=878188bc5f4ce0229a7d2821a0fa744ce257b28f

commit 878188bc5f4ce0229a7d2821a0fa744ce257b28f
Author:     Fernando Apesteguía <fernape@FreeBSD.org>
AuthorDate: 2024-04-17 15:16:18 +0000
Commit:     Fernando Apesteguía <fernape@FreeBSD.org>
CommitDate: 2024-04-18 10:13:52 +0000

    linux-c7-{tcl,tk}85: Fix package
    
    tcl85 and tk85 were removed in 0e2a2491a3bf but these two ports referenced the
    corresponding pkg-descr files.
    
    Make a copy of the descriptions as it is done with tcl/tk 86 and 87
    
    Fixes:  0e2a2491a3bf2f45f65667f75b7eb0d68bf321f8
---
 lang/linux-c7-tcl85/Makefile         | 1 -
 lang/linux-c7-tcl85/pkg-descr        | 9 +++++++++
 x11-toolkits/linux-c7-tk85/Makefile  | 1 -
 x11-toolkits/linux-c7-tk85/pkg-descr | 9 +++++++++
 4 files changed, 18 insertions(+), 2 deletions(-)

diff --git a/lang/linux-c7-tcl85/Makefile b/lang/linux-c7-tcl85/Makefile
index b969aa6476a0..283203045aa9 100644
--- a/lang/linux-c7-tcl85/Makefile
+++ b/lang/linux-c7-tcl85/Makefile
@@ -16,7 +16,6 @@ USE_LINUX_RPM_BAD_PERMS=	yes
 
 CONFLICTS=	linux-c6-${PORTNAME}${PKGNAMESUFFIX}
 DATADIR=	${PREFIX}/usr/share/tcl${PORTVERSION:R}
-DESCR=		${.CURDIR}/../${PORTNAME}${PKGNAMESUFFIX}/pkg-descr
 
 OPTIONS_DEFINE=	DOCS
 
diff --git a/lang/linux-c7-tcl85/pkg-descr b/lang/linux-c7-tcl85/pkg-descr
new file mode 100644
index 000000000000..605450879aef
--- /dev/null
+++ b/lang/linux-c7-tcl85/pkg-descr
@@ -0,0 +1,9 @@
+This is Tcl version 8.5, an embeddable tool command language.
+
+Tcl (Tool Command Language) is a very powerful but easy to learn dynamic
+programming language, suitable for a very wide range of uses, including web
+and desktop applications, networking, administration, testing and many more.
+Open source and business-friendly, Tcl is a mature yet evolving language that
+is truly cross platform, easily deployed and highly extensible.
+
+A full set of manual pages is also provided with this port.
diff --git a/x11-toolkits/linux-c7-tk85/Makefile b/x11-toolkits/linux-c7-tk85/Makefile
index b42eb6ddb997..bfdce198352b 100644
--- a/x11-toolkits/linux-c7-tk85/Makefile
+++ b/x11-toolkits/linux-c7-tk85/Makefile
@@ -17,7 +17,6 @@ USE_LINUX_RPM_BAD_PERMS=	yes
 
 CONFLICTS=	linux-c6-${PORTNAME}${PKGNAMESUFFIX}
 DATADIR=	${PREFIX}/usr/share/tk${PORTVERSION:R}
-DESCR=		${.CURDIR}/../${PORTNAME}${PKGNAMESUFFIX}/pkg-descr
 
 OPTIONS_DEFINE=	DOCS
 
diff --git a/x11-toolkits/linux-c7-tk85/pkg-descr b/x11-toolkits/linux-c7-tk85/pkg-descr
new file mode 100644
index 000000000000..046125fe0bd3
--- /dev/null
+++ b/x11-toolkits/linux-c7-tk85/pkg-descr
@@ -0,0 +1,9 @@
+This is Tk version 8.5, a GUI toolkit for Tcl.
+
+Tk is a graphical user interface toolkit that takes developing desktop
+applications to a higher level than conventional approaches. Tk is the
+standard GUI not only for Tcl, but for many other dynamic languages, and can
+produce rich, native applications that run unchanged across Windows, Mac OS X,
+Linux and more.
+
+A full set of manual pages is also provided with this port.