aboutsummaryrefslogtreecommitdiffstats
path: root/lang
diff options
context:
space:
mode:
authormat <mat@FreeBSD.org>2019-06-19 23:20:17 +0800
committermat <mat@FreeBSD.org>2019-06-19 23:20:17 +0800
commit84fe904a71daea1854775c9c18477a2585089f93 (patch)
treebe339d24946dcb0ad225e9019934ea504e6a0d8a /lang
parentd7188bbd5f1abe22487d82157824b2f8a9a611c3 (diff)
downloadfreebsd-ports-gnome-84fe904a71daea1854775c9c18477a2585089f93.tar.gz
freebsd-ports-gnome-84fe904a71daea1854775c9c18477a2585089f93.tar.zst
freebsd-ports-gnome-84fe904a71daea1854775c9c18477a2585089f93.zip
Convert lang/perl5*'s pkg-message to UCL, and remove it from perl5-devel.
The message is 5 years old, no need to carry it on in future versions.
Diffstat (limited to 'lang')
-rw-r--r--lang/perl5-devel/pkg-message11
-rw-r--r--lang/perl5.26/pkg-message24
-rw-r--r--lang/perl5.28/pkg-message24
-rw-r--r--lang/perl5.30/pkg-message24
4 files changed, 72 insertions, 11 deletions
diff --git a/lang/perl5-devel/pkg-message b/lang/perl5-devel/pkg-message
deleted file mode 100644
index 751268e62ee8..000000000000
--- a/lang/perl5-devel/pkg-message
+++ /dev/null
@@ -1,11 +0,0 @@
-The /usr/bin/perl symlink has been removed starting with Perl 5.20.
-For shebangs, you should either use:
-
-#!/usr/local/bin/perl
-
-or
-
-#!/usr/bin/env perl
-
-The first one will only work if you have a /usr/local/bin/perl,
-the second will work as long as perl is in PATH.
diff --git a/lang/perl5.26/pkg-message b/lang/perl5.26/pkg-message
index 751268e62ee8..c6eafcb3188b 100644
--- a/lang/perl5.26/pkg-message
+++ b/lang/perl5.26/pkg-message
@@ -1,3 +1,6 @@
+[
+{
+ message: <<EOD
The /usr/bin/perl symlink has been removed starting with Perl 5.20.
For shebangs, you should either use:
@@ -9,3 +12,24 @@ or
The first one will only work if you have a /usr/local/bin/perl,
the second will work as long as perl is in PATH.
+EOD
+ type: install
+}
+{
+ message: <<EOD
+The /usr/bin/perl symlink has been removed starting with Perl 5.20.
+For shebangs, you should either use:
+
+#!/usr/local/bin/perl
+
+or
+
+#!/usr/bin/env perl
+
+The first one will only work if you have a /usr/local/bin/perl,
+the second will work as long as perl is in PATH.
+EOD
+ type: upgrade
+ maximum_version: "5.21"
+}
+]
diff --git a/lang/perl5.28/pkg-message b/lang/perl5.28/pkg-message
index 751268e62ee8..c6eafcb3188b 100644
--- a/lang/perl5.28/pkg-message
+++ b/lang/perl5.28/pkg-message
@@ -1,3 +1,6 @@
+[
+{
+ message: <<EOD
The /usr/bin/perl symlink has been removed starting with Perl 5.20.
For shebangs, you should either use:
@@ -9,3 +12,24 @@ or
The first one will only work if you have a /usr/local/bin/perl,
the second will work as long as perl is in PATH.
+EOD
+ type: install
+}
+{
+ message: <<EOD
+The /usr/bin/perl symlink has been removed starting with Perl 5.20.
+For shebangs, you should either use:
+
+#!/usr/local/bin/perl
+
+or
+
+#!/usr/bin/env perl
+
+The first one will only work if you have a /usr/local/bin/perl,
+the second will work as long as perl is in PATH.
+EOD
+ type: upgrade
+ maximum_version: "5.21"
+}
+]
diff --git a/lang/perl5.30/pkg-message b/lang/perl5.30/pkg-message
index 751268e62ee8..c6eafcb3188b 100644
--- a/lang/perl5.30/pkg-message
+++ b/lang/perl5.30/pkg-message
@@ -1,3 +1,6 @@
+[
+{
+ message: <<EOD
The /usr/bin/perl symlink has been removed starting with Perl 5.20.
For shebangs, you should either use:
@@ -9,3 +12,24 @@ or
The first one will only work if you have a /usr/local/bin/perl,
the second will work as long as perl is in PATH.
+EOD
+ type: install
+}
+{
+ message: <<EOD
+The /usr/bin/perl symlink has been removed starting with Perl 5.20.
+For shebangs, you should either use:
+
+#!/usr/local/bin/perl
+
+or
+
+#!/usr/bin/env perl
+
+The first one will only work if you have a /usr/local/bin/perl,
+the second will work as long as perl is in PATH.
+EOD
+ type: upgrade
+ maximum_version: "5.21"
+}
+]