summaryrefslogtreecommitdiff
path: root/misc/xjdic/Makefile
diff options
context:
space:
mode:
authorseb <seb@pkgsrc.org>2002-05-31 12:59:46 +0000
committerseb <seb@pkgsrc.org>2002-05-31 12:59:46 +0000
commitad10999bc26ae2777078403c44655c2e55c62451 (patch)
tree5195a42282652e0761522cbbd24e3271a35cfd28 /misc/xjdic/Makefile
parentb6d8a226600a45ea1ac043b71343d24de98e2cbf (diff)
downloadpkgsrc-ad10999bc26ae2777078403c44655c2e55c62451.tar.gz
Reimport of package xjdic from japanese/xjdic into misc/xjdic.
This is part of the japanese category retirement. CATEGORIES adjusted.
Diffstat (limited to 'misc/xjdic/Makefile')
-rw-r--r--misc/xjdic/Makefile53
1 files changed, 53 insertions, 0 deletions
diff --git a/misc/xjdic/Makefile b/misc/xjdic/Makefile
new file mode 100644
index 00000000000..a82f4014109
--- /dev/null
+++ b/misc/xjdic/Makefile
@@ -0,0 +1,53 @@
+# $NetBSD: Makefile,v 1.1.1.1 2002/05/31 12:59:46 seb Exp $
+#
+
+DISTNAME= xjdic23
+PKGNAME= xjdic-2.3
+CATEGORIES= japanese misc
+MASTER_SITES= http://www.bcit-broadcast.com/monash/
+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
+
+WRKSRC= ${WRKDIR}
+MESSAGE_SUBST+= PREFIX=${PREFIX}
+EXTRACT_ONLY= ${DISTNAME}${EXTRACT_SUFX}
+
+do-install:
+ cd ${WRKSRC} ; \
+ for i in exjdxgen xjdic_cl xjdic_sa xjdserver xjdxgen ; \
+ do \
+ ${INSTALL_PROGRAM} $$i ${PREFIX}/bin ; \
+ done
+ ${MV} ${PREFIX}/bin/xjdic_sa ${PREFIX}/bin/xjdic
+ ${INSTALL_DATA_DIR} ${PREFIX}/share/xjdic
+ ${INSTALL_DATA} \
+ ${WRKSRC}/kanjstroke \
+ ${WRKSRC}/radicals.tm \
+ ${WRKSRC}/radkfile \
+ ${WRKSRC}/romkana.cnv \
+ ${WRKSRC}/vconj \
+ ${PREFIX}/share/xjdic
+ ${INSTALL_MAN_DIR} ${PREFIX}/share/doc/xjdic
+ ${INSTALL_MAN} \
+ ${WRKSRC}/xjdic22.WHATSNEW \
+ ${WRKSRC}/xjdic23.WHATSNEW \
+ ${WRKSRC}/xjdic23.inf \
+ ${WRKSRC}/xjdic23.install \
+ ${PREFIX}/share/doc/xjdic
+ ${INSTALL_MAN} ${WRKSRC}/xjdic.1 ${PREFIX}/man/man1
+ ${GZIP_CMD} -cd ${DISTDIR}/kanjidic.gz >${PREFIX}/share/xjdic/kanjidic
+ ${GZIP_CMD} -cd ${DISTDIR}/edict.gz >${PREFIX}/share/xjdic/edict
+ ${PREFIX}/bin/xjdxgen ${PREFIX}/share/xjdic/edict
+ ${PREFIX}/bin/xjdxgen ${PREFIX}/share/xjdic/kanjidic
+ ${SED} \
+ -e 's,/home/jwb/nihongo/dics,${PREFIX}/share/xjdic,' \
+ -e '/^kdicfile/s/kanjidic_b/kanjidic/' \
+ < ${WRKSRC}/.xjdicrc.skel >${PREFIX}/share/doc/xjdic/.xjdicrc
+
+.include "../../mk/bsd.pkg.mk"