aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--korean/Makefile1
-rw-r--r--korean/stardict2-dict-kr/Makefile61
-rw-r--r--korean/stardict2-dict-kr/distinfo24
-rw-r--r--korean/stardict2-dict-kr/pkg-descr3
4 files changed, 89 insertions, 0 deletions
diff --git a/korean/Makefile b/korean/Makefile
index d1341215a35d..1e809ad8a03a 100644
--- a/korean/Makefile
+++ b/korean/Makefile
@@ -56,6 +56,7 @@
SUBDIR += qt4-codecs-kr
SUBDIR += scim-hangul
SUBDIR += scim-tables
+ SUBDIR += stardict2-dict-kr
SUBDIR += texinfo
SUBDIR += unfonts-ttf
SUBDIR += uniksc
diff --git a/korean/stardict2-dict-kr/Makefile b/korean/stardict2-dict-kr/Makefile
new file mode 100644
index 000000000000..836ea659f1ff
--- /dev/null
+++ b/korean/stardict2-dict-kr/Makefile
@@ -0,0 +1,61 @@
+# Ports collection makefile for: stardict-dict-korean
+# Date created: 20 May 2007
+# Whom: Yinghong.Liu <liu_yinghong@yahoo.com.cn>
+# $FreeBSD$
+#
+
+PORTNAME= stardict2-dict-kr
+PORTVERSION= 2.4.2
+CATEGORIES= korean textproc
+MASTER_SITES= ${MASTER_SITE_SOURCEFORGE}
+MASTER_SITE_SUBDIR= stardict
+DIST_SUBDIR= stardict
+
+MAINTAINER= liu_yinghong@yahoo.com.cn
+COMMENT= Korean and foreign language Dictionaries for StarDict
+
+RUN_DEPENDS= stardict:${PORTSDIR}/textproc/stardict2
+
+NO_BUILD= yes
+USE_BZIP2= yes
+
+LATEST_LINK= ${PKGNAMEPREFIX}${PORTNAME}${PKGNAMESUFFIX}
+
+DICTDIR= share/gnome/stardict/dic
+
+DICTIONARIES= GPL_korean-russian-dic Hanja_KoreanHanzi_Dic KoreanAnimalMedicalDic \
+ KoreanDic KoreanEnglishDic KoreanLawDic KoreanMedicalDic quick_eng-kor
+
+.if !defined(DICT_PACK)
+OPTIONS= ALL "All dictionaries" on
+.for dict in ${DICTIONARIES}
+OPTIONS+= ${dict:U:S|-|_|g} "${dict} dictionary" off
+.endfor
+.endif
+
+.include <bsd.port.pre.mk>
+
+.for dict in ${DICTIONARIES}
+.if defined(WITH_ALL) || defined(WITH_${dict:U:S|-|_|g})
+INSTALL_DICTIONARIES+= ${dict}
+.endif
+.endfor
+
+.for dict in ${INSTALL_DICTIONARIES}
+DISTFILES+= stardict-${dict}-${PORTVERSION}${EXTRACT_SUFX}
+.endfor
+
+do-build:
+ @${DO_NADA}
+
+do-install:
+ ${MKDIR} ${PREFIX}/${DICTDIR}
+.for dict in ${INSTALL_DICTIONARIES}
+ cd ${WRKDIR}/stardict-${dict}-${PORTVERSION}/ \
+ && ${INSTALL_DATA} * ${PREFIX}/${DICTDIR}/ \
+ && (${FIND} -s * -type f | \
+ ${SED} -e 's|^|${DICTDIR}/|' >> ${TMPPLIST})
+.endfor
+ @${ECHO_CMD} "@unexec ${RMDIR} %D/${DICTDIR} 2>/dev/null || true" >> ${TMPPLIST}
+
+.include <bsd.port.post.mk>
diff --git a/korean/stardict2-dict-kr/distinfo b/korean/stardict2-dict-kr/distinfo
new file mode 100644
index 000000000000..7faff2719792
--- /dev/null
+++ b/korean/stardict2-dict-kr/distinfo
@@ -0,0 +1,24 @@
+MD5 (stardict/stardict-GPL_korean-russian-dic-2.4.2.tar.bz2) = acc3b4ac0a37ceb4937633638478edf7
+SHA256 (stardict/stardict-GPL_korean-russian-dic-2.4.2.tar.bz2) = dd190383bf99df1450738e4243d0b8b45b039ad82b45551a87830ec9db53d4d4
+SIZE (stardict/stardict-GPL_korean-russian-dic-2.4.2.tar.bz2) = 1551004
+MD5 (stardict/stardict-Hanja_KoreanHanzi_Dic-2.4.2.tar.bz2) = 556972856991cdddd8d7dc63a2b4a16b
+SHA256 (stardict/stardict-Hanja_KoreanHanzi_Dic-2.4.2.tar.bz2) = ad040e02426ad8f34970994e77a8cc3209700f16779752ef1bedfbfdbc4aa5bb
+SIZE (stardict/stardict-Hanja_KoreanHanzi_Dic-2.4.2.tar.bz2) = 2500031
+MD5 (stardict/stardict-KoreanAnimalMedicalDic-2.4.2.tar.bz2) = 46fd156c3986b8d48cbd43891e324511
+SHA256 (stardict/stardict-KoreanAnimalMedicalDic-2.4.2.tar.bz2) = 9a28a3ba2401aa88f42755ccddcea20690a3c0ed8aadb7fa4ef84beebce350be
+SIZE (stardict/stardict-KoreanAnimalMedicalDic-2.4.2.tar.bz2) = 516310
+MD5 (stardict/stardict-KoreanDic-2.4.2.tar.bz2) = fb871b58fb0305af3cb4442cbfcc5055
+SHA256 (stardict/stardict-KoreanDic-2.4.2.tar.bz2) = 3cfdbeb9f401048ed9ba026d8d5fbb9022f2d57a092cd4bbfe2312c74f39c45c
+SIZE (stardict/stardict-KoreanDic-2.4.2.tar.bz2) = 8498547
+MD5 (stardict/stardict-KoreanEnglishDic-2.4.2.tar.bz2) = 4fbed88da49957df0a798d7f8abb85ce
+SHA256 (stardict/stardict-KoreanEnglishDic-2.4.2.tar.bz2) = b9c513d3d55e595da841676fa2b38b19196e21ef36b003c24eaf31d02347146c
+SIZE (stardict/stardict-KoreanEnglishDic-2.4.2.tar.bz2) = 7536160
+MD5 (stardict/stardict-KoreanLawDic-2.4.2.tar.bz2) = cb2c0a02fc23400cc637e4a70a22d41d
+SHA256 (stardict/stardict-KoreanLawDic-2.4.2.tar.bz2) = 79a1113847d4bba5ca720ebb3544dd3b463b3d7400e38dee9295e0be89a3c98b
+SIZE (stardict/stardict-KoreanLawDic-2.4.2.tar.bz2) = 1118152
+MD5 (stardict/stardict-KoreanMedicalDic-2.4.2.tar.bz2) = 0468214fd2820957e471ca458f7361e0
+SHA256 (stardict/stardict-KoreanMedicalDic-2.4.2.tar.bz2) = 4106f7923b93edc7ac0c4768e39278c109eda778f3f6ccbcd5381c5c7fe1591c
+SIZE (stardict/stardict-KoreanMedicalDic-2.4.2.tar.bz2) = 543507
+MD5 (stardict/stardict-quick_eng-kor-2.4.2.tar.bz2) = 6542781e4a3a18baf74501da60b5070f
+SHA256 (stardict/stardict-quick_eng-kor-2.4.2.tar.bz2) = 5d920b113a171d27818834a59c8a0fb2fd52108724098ff4015994e5e27b2607
+SIZE (stardict/stardict-quick_eng-kor-2.4.2.tar.bz2) = 3569123
diff --git a/korean/stardict2-dict-kr/pkg-descr b/korean/stardict2-dict-kr/pkg-descr
new file mode 100644
index 000000000000..e456b1559cbf
--- /dev/null
+++ b/korean/stardict2-dict-kr/pkg-descr
@@ -0,0 +1,3 @@
+Korean and foreign language Dictionaries for StarDict.
+
+WWW: http://stardict.sourceforge.net/