git: b226f3d9f637 - main - textproc/stardict-dict-fa_IR: Unbreak after removal of russian/stardict-mueller7

From: Daniel Engberg <diizzy_at_FreeBSD.org>
Date: Sat, 20 Jun 2026 08:27:03 UTC
The branch main has been updated by diizzy:

URL: https://cgit.FreeBSD.org/ports/commit/?id=b226f3d9f637d923f960e37576223a45353a0c37

commit b226f3d9f637d923f960e37576223a45353a0c37
Author:     Daniel Engberg <diizzy@FreeBSD.org>
AuthorDate: 2026-06-20 06:16:43 +0000
Commit:     Daniel Engberg <diizzy@FreeBSD.org>
CommitDate: 2026-06-20 08:26:45 +0000

    textproc/stardict-dict-fa_IR: Unbreak after removal of russian/stardict-mueller7
    
    Add bits port used from russian/stardict-mueller7
    
    Reported by:    anotine
---
 textproc/stardict-dict-fa_IR/Makefile    | 11 ++++++++++-
 textproc/stardict-dict-fa_IR/pkg-message | 12 ++++++++++++
 2 files changed, 22 insertions(+), 1 deletion(-)

diff --git a/textproc/stardict-dict-fa_IR/Makefile b/textproc/stardict-dict-fa_IR/Makefile
index da3d04cfb88b..578fa97298d0 100644
--- a/textproc/stardict-dict-fa_IR/Makefile
+++ b/textproc/stardict-dict-fa_IR/Makefile
@@ -3,6 +3,7 @@ PORTVERSION=	1.0.0
 CATEGORIES=	textproc
 MASTER_SITES=	SF/pyglossary/dic/English-Persion/
 DISTNAME=	Open%20Dictionary%20aka%20QueerDick-2010-09-28-rich
+DIST_SUBDIR=	stardict
 
 MAINTAINER=	javad.kouhi@gmail.com
 COMMENT=	English-Persian dictionary for stardict
@@ -10,5 +11,13 @@ WWW=		http://pyglossary.sourceforge.net
 
 WRKSRC=		"${WRKDIR}/Open Dictionary aka QueerDick-2010-09-28-rich"
 
-.include "${.CURDIR}/../../russian/stardict-mueller7/files/Makefile.common"
+NO_ARCH=	yes
+NO_BUILD=	yes
+
+DICTDIR=	share/stardict/dic
+
+do-install:
+	${MKDIR} ${STAGEDIR}${PREFIX}/${DICTDIR}
+	cd ${WRKSRC} && ${COPYTREE_SHARE} . ${STAGEDIR}${PREFIX}/${DICTDIR}
+
 .include <bsd.port.mk>
diff --git a/textproc/stardict-dict-fa_IR/pkg-message b/textproc/stardict-dict-fa_IR/pkg-message
new file mode 100644
index 000000000000..9341eccdf68f
--- /dev/null
+++ b/textproc/stardict-dict-fa_IR/pkg-message
@@ -0,0 +1,12 @@
+[
+{ type: install
+  message: <<EOM
+This dictionary can be used with any of the following dictionary
+programs (consider to install one of them):
+
+textproc/goldendict     Goldendict (Qt5)
+textproc/qstardict      StarDict clone (Qt5)
+textproc/stardict3      StarDict 3.x (GTK2)
+EOM
+}
+]