aboutsummaryrefslogtreecommitdiffstats
path: root/textproc
diff options
context:
space:
mode:
authormakc <makc@FreeBSD.org>2013-11-11 01:29:21 +0800
committermakc <makc@FreeBSD.org>2013-11-11 01:29:21 +0800
commit01ef4be3020c174ba0ba7b6ed84de730de4aa77f (patch)
treed05b3ad84f82daccde889a88d124b571528f9a20 /textproc
parent848145a6323ca231f464a02c42b9dee63965a87f (diff)
downloadfreebsd-ports-gnome-01ef4be3020c174ba0ba7b6ed84de730de4aa77f.tar.gz
freebsd-ports-gnome-01ef4be3020c174ba0ba7b6ed84de730de4aa77f.tar.zst
freebsd-ports-gnome-01ef4be3020c174ba0ba7b6ed84de730de4aa77f.zip
- Simplify Makefile by using shared code for dictionary ports
- Update description - Use pkg-plist PR: ports/183811 Approved by: Javad Kouhi (maintainer)
Diffstat (limited to 'textproc')
-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