summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMathieu Arnold <mat@FreeBSD.org>2019-06-19 15:20:17 +0000
committerMathieu Arnold <mat@FreeBSD.org>2019-06-19 15:20:17 +0000
commit8d885bfd3a14cfd21067a25ca0c31ee4053606f2 (patch)
treebe339d24946dcb0ad225e9019934ea504e6a0d8a
parentbbee35283b0f5277aa65a81a4e6e00291ee9c04e (diff)
downloadfreebsd-ports-8d885bfd3a14cfd21067a25ca0c31ee4053606f2.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.
-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"
+}
+]