summaryrefslogtreecommitdiff
path: root/misc/xjdic/Makefile
diff options
context:
space:
mode:
authorwiz <wiz>2004-01-02 03:17:53 +0000
committerwiz <wiz>2004-01-02 03:17:53 +0000
commit1b6cbdb35905ba3dbd06b14f9e5a77238e72e100 (patch)
treea7633ae86f104868b03715d2b71ebe97e9fe3009 /misc/xjdic/Makefile
parente43e5fa9e47fbfb1bc7b4166cdb9f2cb05eb1a72 (diff)
downloadpkgsrc-1b6cbdb35905ba3dbd06b14f9e5a77238e72e100.tar.gz
Update to 2.4:
In fact very little has changed in V2.4. A few bugs were fixed, and one new feature, namely the display of multiple results in a multi-dictionary lookup, was added. One bug-fix was to re-instate a feature that was accidently dropped out in the V2.2 -> V2.3 update. (Only one user noticed....) Pkgsrc change: depend on new edict and kanjidic packages instead of including a copy of the files.
Diffstat (limited to 'misc/xjdic/Makefile')
-rw-r--r--misc/xjdic/Makefile35
1 files changed, 19 insertions, 16 deletions
diff --git a/misc/xjdic/Makefile b/misc/xjdic/Makefile
index eefc4a2ac62..115ef31e13f 100644
--- a/misc/xjdic/Makefile
+++ b/misc/xjdic/Makefile
@@ -1,26 +1,30 @@
-# $NetBSD: Makefile,v 1.6 2003/11/29 04:15:43 kristerw Exp $
+# $NetBSD: Makefile,v 1.7 2004/01/02 03:17:53 wiz Exp $
#
-DISTNAME= xjdic23
-PKGNAME= xjdic-2.3
-PKGREVISION= 2
+DISTNAME= xjdic24
+PKGNAME= xjdic-2.4
WRKSRC= ${WRKDIR}
CATEGORIES= japanese misc
-MASTER_SITES= http://www.bcit-broadcast.com/monash/
+MASTER_SITES= ftp://ftp.cc.monash.edu.au/pub/nihongo/ \
+ http://japanology.arts.kuleuven.ac.be/mirrors/monash/ \
+ ftp://ftp.nrc.ca/pub/packages/nihongo/ \
+ http://www.bcit-broadcast.com/monash/ \
+ ftp://ftp.sedl.org/pub/mirrors/nihongo/ \
+ ftp://ftp.net.usf.edu/pub/monash/ \
+ ftp://ftp.u-aizu.ac.jp/pub/SciEng/nihongo/ftp.cc.monash.edu.au/ \
+ ftp://ftp.funet.fi/pub/culture/japan/mirrors/monash/pub/nihongo/
EXTRACT_SUFX= .tgz
-DISTFILES+= edict.gz \
- kanjidic.gz \
- ${DISTNAME}${EXTRACT_SUFX}
MAINTAINER= hubertf@NetBSD.org
HOMEPAGE= http://www.csse.monash.edu.au/~jwb/xjdic/
COMMENT= Japanese dictionary
+DEPENDS+= edict-[0-9]*:../../misc/edict
+DEPENDS+= kanjidic-[0-9]*:../../misc/kanjidic
+
MESSAGE_SUBST+= PREFIX=${PREFIX}
EXTRACT_ONLY= ${DISTNAME}${EXTRACT_SUFX}
-DIST_SUBDIR= ${PKGNAME}
-
do-install:
cd ${WRKSRC} ; \
for i in exjdxgen xjdic_cl xjdic_sa xjdserver xjdxgen ; \
@@ -40,14 +44,13 @@ do-install:
${INSTALL_MAN} \
${WRKSRC}/xjdic22.WHATSNEW \
${WRKSRC}/xjdic23.WHATSNEW \
- ${WRKSRC}/xjdic23.inf \
- ${WRKSRC}/xjdic23.install \
+ ${WRKSRC}/xjdic24.WHATSNEW \
+ ${WRKSRC}/xjdic24.inf \
+ ${WRKSRC}/xjdic24.install \
${PREFIX}/share/doc/xjdic
${INSTALL_MAN} ${WRKSRC}/xjdic.1 ${PREFIX}/man/man1
- ${GZIP_CMD} -cd ${DISTDIR}/${DIST_SUBDIR}/kanjidic.gz \
- >${PREFIX}/share/xjdic/kanjidic
- ${GZIP_CMD} -cd ${DISTDIR}/${DIST_SUBDIR}/edict.gz \
- >${PREFIX}/share/xjdic/edict
+ ${LN} -s ../edict/edict ${PREFIX}/share/xjdic/edict
+ ${LN} -s ../kanjidic/kanjidic ${PREFIX}/share/xjdic/kanjidic
${PREFIX}/bin/xjdxgen ${PREFIX}/share/xjdic/edict
${PREFIX}/bin/xjdxgen ${PREFIX}/share/xjdic/kanjidic
${SED} \