commit:     3e927e982ae8856aed4631312940cc38f9f57273
Author:     Marek Szuba <marecki <AT> gentoo <DOT> org>
AuthorDate: Mon Aug  3 12:41:59 2020 +0000
Commit:     Marek Szuba <marecki <AT> gentoo <DOT> org>
CommitDate: Mon Aug  3 12:45:54 2020 +0000
URL:        https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=3e927e98

app-dicts/sword-GerHfaLex2002: correct the licence, add postinst msg

Signed-off-by: Marek Szuba <marecki <AT> gentoo.org>

 .../sword-GerHfaLex2002/sword-GerHfaLex2002-1.0.1.ebuild    | 13 ++++++++++++-
 1 file changed, 12 insertions(+), 1 deletion(-)

diff --git a/app-dicts/sword-GerHfaLex2002/sword-GerHfaLex2002-1.0.1.ebuild 
b/app-dicts/sword-GerHfaLex2002/sword-GerHfaLex2002-1.0.1.ebuild
index 68d2493be47..ec86c8cbc72 100644
--- a/app-dicts/sword-GerHfaLex2002/sword-GerHfaLex2002-1.0.1.ebuild
+++ b/app-dicts/sword-GerHfaLex2002/sword-GerHfaLex2002-1.0.1.ebuild
@@ -9,5 +9,16 @@ inherit sword-module
 
 DESCRIPTION="Hoffnung fuer alle - Worterklaerungen"
 
HOMEPAGE="https://crosswire.org/sword/modules/ModInfo.jsp?modName=GerHfaLex2002";
-LICENSE="freedist"
+LICENSE="sword-GerHfa2002"
 KEYWORDS="~amd64 ~ppc ~x86"
+
+pkg_postinst() {
+       if [[ -z "${REPLACING_VERSIONS}" ]]; then
+               elog "This SWORD module is locked. If you haven't done so yet, 
please visit"
+               elog
+               elog 
"https://crosswire.org/sword/modules/registration/gerhfa2002.jsp";
+               elog "(in German only)"
+               elog
+               elog "for information about purchasing and installing an unlock 
key."
+       fi
+}

Reply via email to