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)
This commit is contained in:
Kai Knoblich 2019-12-14 11:42:06 +00:00
parent d302a3a273
commit fb80103e07
Notes: svn2git 2021-03-31 03:12:20 +00:00
svn path=/branches/2019Q4/; revision=520114
2 changed files with 16 additions and 0 deletions

View File

@ -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

15
games/anki/pkg-message Normal file
View File

@ -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
}
]