aboutsummaryrefslogtreecommitdiff
path: root/textproc/stardict-dict-fa_IR
diff options
context:
space:
mode:
authorMax Brazhnikov <makc@FreeBSD.org>2013-11-10 17:29:21 +0000
committerMax Brazhnikov <makc@FreeBSD.org>2013-11-10 17:29:21 +0000
commit827d1125bc5d5986bff417060e1563ca2ef6058c (patch)
treed05b3ad84f82daccde889a88d124b571528f9a20 /textproc/stardict-dict-fa_IR
parent29bd400fbe00923462ddb71059cf97ca0c9b6146 (diff)
downloadports-827d1125bc5d5986bff417060e1563ca2ef6058c.tar.gz
ports-827d1125bc5d5986bff417060e1563ca2ef6058c.zip
- Simplify Makefile by using shared code for dictionary ports
- Update description - Use pkg-plist PR: ports/183811 Approved by: Javad Kouhi (maintainer)
Notes
Notes: svn path=/head/; revision=333413
Diffstat (limited to 'textproc/stardict-dict-fa_IR')
-rw-r--r--textproc/stardict-dict-fa_IR/Makefile17
-rw-r--r--textproc/stardict-dict-fa_IR/pkg-descr2
-rw-r--r--textproc/stardict-dict-fa_IR/pkg-plist5
3 files changed, 7 insertions, 17 deletions
diff --git a/textproc/stardict-dict-fa_IR/Makefile b/textproc/stardict-dict-fa_IR/Makefile
index adcf930bf27c..0d43a4c18c88 100644
--- a/textproc/stardict-dict-fa_IR/Makefile
+++ b/textproc/stardict-dict-fa_IR/Makefile
@@ -5,26 +5,11 @@ 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
-NO_BUILD= yes
-NO_WRKSUBDIR= yes
WRKSRC= "${WRKDIR}/Open Dictionary aka QueerDick-2010-09-28-rich"
-PLIST_FILES= share/stardict/dic/Arianpur-OpenDictionary.dict.dz \
- share/stardict/dic/Arianpur-OpenDictionary.idx \
- share/stardict/dic/Arianpur-OpenDictionary.ifo
-PLIST_DIRSTRY= share/stardict/dic \
- share/stardict
-
-NO_STAGE= yes
-do-install:
- ${MKDIR} ${PREFIX}/share/stardict/dic/
- ${INSTALL_DATA} ${WRKSRC}/Arianpur-OpenDictionary.dict.dz ${PREFIX}/share/stardict/dic/
- ${INSTALL_DATA} ${WRKSRC}/Arianpur-OpenDictionary.idx ${PREFIX}/share/stardict/dic/
- ${INSTALL_DATA} ${WRKSRC}/Arianpur-OpenDictionary.ifo ${PREFIX}/share/stardict/dic/
-
+.include "${.CURDIR}/../../russian/stardict-mueller7/files/Makefile.common"
.include <bsd.port.mk>
diff --git a/textproc/stardict-dict-fa_IR/pkg-descr b/textproc/stardict-dict-fa_IR/pkg-descr
index de1f05b2e16c..59b6de3d1d4e 100644
--- a/textproc/stardict-dict-fa_IR/pkg-descr
+++ b/textproc/stardict-dict-fa_IR/pkg-descr
@@ -1,3 +1,3 @@
-English-Persian dictionaries for stardict2 and stardict3.
+English-Persian dictionaries for StarDict.
WWW: http://pyglossary.sourceforge.net
diff --git a/textproc/stardict-dict-fa_IR/pkg-plist b/textproc/stardict-dict-fa_IR/pkg-plist
new file mode 100644
index 000000000000..fe9253261de7
--- /dev/null
+++ b/textproc/stardict-dict-fa_IR/pkg-plist
@@ -0,0 +1,5 @@
+share/stardict/dic/Arianpur-OpenDictionary.dict.dz
+share/stardict/dic/Arianpur-OpenDictionary.idx
+share/stardict/dic/Arianpur-OpenDictionary.ifo
+@dirrmtry share/stardict/dic
+@dirrmtry share/stardict