aboutsummaryrefslogtreecommitdiffstats
path: root/japanese
diff options
context:
space:
mode:
authorwen <wen@FreeBSD.org>2010-02-25 09:21:44 +0800
committerwen <wen@FreeBSD.org>2010-02-25 09:21:44 +0800
commit3382e4f53a10fdec26515f35bb056a6a867e6c22 (patch)
treec95aacb03949661c0968cd30c45959502ab318bf /japanese
parent56b3450d211756fdebbb0a77c4c5cddd77cc2819 (diff)
downloadfreebsd-ports-gnome-3382e4f53a10fdec26515f35bb056a6a867e6c22.tar.gz
freebsd-ports-gnome-3382e4f53a10fdec26515f35bb056a6a867e6c22.tar.zst
freebsd-ports-gnome-3382e4f53a10fdec26515f35bb056a6a867e6c22.zip
- Connect and update stardict-dict-ja
PR: ports/143481 Submitted by: Ju Pengfei <jupengfei@gmail.com> Feature safe: yes
Diffstat (limited to 'japanese')
-rw-r--r--japanese/Makefile1
-rw-r--r--japanese/stardict-dict-ja/Makefile10
-rw-r--r--japanese/stardict-dict-ja/pkg-message11
-rw-r--r--japanese/stardict-dict-ja/pkg-plist1
4 files changed, 18 insertions, 5 deletions
diff --git a/japanese/Makefile b/japanese/Makefile
index f7eb330237ea..43474412da37 100644
--- a/japanese/Makefile
+++ b/japanese/Makefile
@@ -328,6 +328,7 @@
SUBDIR += srd-fpw
SUBDIR += srd-fpw-package
SUBDIR += stardict2-dict-ja
+ SUBDIR += stardict-dict-ja
SUBDIR += suicavalue
SUBDIR += suikyo
SUBDIR += t2ps
diff --git a/japanese/stardict-dict-ja/Makefile b/japanese/stardict-dict-ja/Makefile
index ab7176e995c6..f5fac5fc7676 100644
--- a/japanese/stardict-dict-ja/Makefile
+++ b/japanese/stardict-dict-ja/Makefile
@@ -4,20 +4,17 @@
# $FreeBSD$
#
-PORTNAME= stardict2-dict-ja
+PORTNAME= stardict-dict-ja
PORTVERSION= 2.4.2
-PORTREVISION= 8
CATEGORIES= japanese textproc
MASTER_SITES= SF/stardict/stardict-dictionaries-ja/${PORTVERSION}
DISTFILES= stardict-jmdict-en-ja-${PORTVERSION}.tar.bz2 \
stardict-jmdict-ja-en-${PORTVERSION}.tar.bz2
DIST_SUBDIR= stardict
-MAINTAINER= ports@FreeBSD.org
+MAINTAINER= jupengfei@gmail.com
COMMENT= English-Japanese/Japanese-English dictionaries for StarDict
-RUN_DEPENDS= stardict:${PORTSDIR}/textproc/stardict2
-
NO_BUILD= yes
USE_BZIP2= yes
@@ -26,4 +23,7 @@ do-install:
${INSTALL_DATA} ${WRKDIR}/stardict-jmdict-en-ja-${PORTVERSION}/* ${PREFIX}/share/stardict/dic/
${INSTALL_DATA} ${WRKDIR}/stardict-jmdict-ja-en-${PORTVERSION}/* ${PREFIX}/share/stardict/dic/
+post-install:
+ @${CAT} ${PKGMESSAGE}
+
.include <bsd.port.mk>
diff --git a/japanese/stardict-dict-ja/pkg-message b/japanese/stardict-dict-ja/pkg-message
new file mode 100644
index 000000000000..c18c24aac7dc
--- /dev/null
+++ b/japanese/stardict-dict-ja/pkg-message
@@ -0,0 +1,11 @@
+* * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * *
+
+You should install a dictionary program via these ports:
+
+ textproc/qstardict A StarDict clone written with using Qt4
+ textproc/stardict2 StarDict 2.x
+ textproc/stardict3 StarDict 3.x
+ textproc/goldendict Goldendict
+
+* * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * *
+
diff --git a/japanese/stardict-dict-ja/pkg-plist b/japanese/stardict-dict-ja/pkg-plist
index 2a36f21f51c3..6774c67f5ae0 100644
--- a/japanese/stardict-dict-ja/pkg-plist
+++ b/japanese/stardict-dict-ja/pkg-plist
@@ -5,3 +5,4 @@ share/stardict/dic/jmdict-ja-en.dict.dz
share/stardict/dic/jmdict-ja-en.idx
share/stardict/dic/jmdict-ja-en.ifo
@dirrmtry share/stardict/dic
+@dirrmtry share/stardict