aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorKai Knoblich <kai@FreeBSD.org>2019-12-14 11:42:06 +0000
committerKai Knoblich <kai@FreeBSD.org>2019-12-14 11:42:06 +0000
commitfb80103e0747198357aeacbfe66e6f2418d1eb39 (patch)
treeb2245009fd39a8693dd2d954b0ddd30685412008
parentd302a3a2737e77078dc8e44357751abceed47057 (diff)
downloadports-fb80103e0747198357aeacbfe66e6f2418d1eb39.tar.gz
ports-fb80103e0747198357aeacbfe66e6f2418d1eb39.zip
MFH: r519830
games/anki: Add pkg-message with installation instructions * Improve the user experience by adding a pkg-message which gives some advice that audio/lame needs to be installed manually afterwards when installing from the official FreeBSD package repositories. * Bump PORTREVISION to include the pkg-message. PR: 242528 Submitted by: PauAmma <pauamma@gundo.com> (based on) Approved by: ports-secteam (joneum)
Notes
Notes: svn path=/branches/2019Q4/; revision=520114
-rw-r--r--games/anki/Makefile1
-rw-r--r--games/anki/pkg-message15
2 files changed, 16 insertions, 0 deletions
diff --git a/games/anki/Makefile b/games/anki/Makefile
index e5ef44da3a61..02876e6cec4d 100644
--- a/games/anki/Makefile
+++ b/games/anki/Makefile
@@ -3,6 +3,7 @@
PORTNAME= anki
DISTVERSION= 2.1.15
+PORTREVISION= 1
CATEGORIES= games python
MASTER_SITES= https://apps.ankiweb.net/downloads/current/
DISTNAME= anki-${PORTVERSION}-source
diff --git a/games/anki/pkg-message b/games/anki/pkg-message
new file mode 100644
index 000000000000..b3a81192bc77
--- /dev/null
+++ b/games/anki/pkg-message
@@ -0,0 +1,15 @@
+[
+{ type: install
+ message: <<EOM
+If games/anki was installed from the official FreeBSD package repository, an
+additional step is required to complete the installation.
+
+This is because the audio/lame port, which is also required by Anki, cannot be
+provided as a package due to an unclear legal situation about its distribution
+in binary form.
+
+To finish the installation, install audio/lame from either ports or a local
+package repository and set it afterwards as automatic via "pkg set -A1 lame".
+EOM
+}
+]