diff options
author | MANTANI Nobutaka <nobutaka@FreeBSD.org> | 2003-08-31 11:26:36 +0000 |
---|---|---|
committer | MANTANI Nobutaka <nobutaka@FreeBSD.org> | 2003-08-31 11:26:36 +0000 |
commit | b93b90087cc98f66bcb815aeb761c1a0535f5650 (patch) | |
tree | caaa4d082115b29fb1742a53d13a719a24b4675f /japanese/anthy/Makefile | |
parent | e3b0342d7b5fffc7a9e44623410736791e5ea6ce (diff) | |
download | ports-b93b90087cc98f66bcb815aeb761c1a0535f5650.tar.gz ports-b93b90087cc98f66bcb815aeb761c1a0535f5650.zip |
Add WITH_2CHDIC knob.
It enables to include the 2ch BBS terms dictionary in the Anthy dictionary.
Notes
Notes:
svn path=/head/; revision=88189
Diffstat (limited to 'japanese/anthy/Makefile')
-rw-r--r-- | japanese/anthy/Makefile | 16 |
1 files changed, 15 insertions, 1 deletions
diff --git a/japanese/anthy/Makefile b/japanese/anthy/Makefile index acb70f0e93c5..b31a1b75fa87 100644 --- a/japanese/anthy/Makefile +++ b/japanese/anthy/Makefile @@ -8,7 +8,9 @@ PORTNAME= anthy PORTVERSION= 4300b CATEGORIES= japanese -MASTER_SITES= http://downloads.sourceforge.jp/anthy/5332/ +MASTER_SITES= http://downloads.sourceforge.jp/anthy/5332/:anthy +DISTFILES= ${DISTNAME}${EXTRACT_SUFX}:anthy +DIST_SUBDIR= anthy MAINTAINER= nobutaka@FreeBSD.org COMMENT= Another kana-kanji conversion system @@ -21,6 +23,18 @@ INSTALLS_SHLIB= yes ELISPDIR= share/emacs/site-lisp PLIST_SUB= ELISPDIR=${ELISPDIR} +.if defined(WITH_2CHDIC) +MASTER_SITES+= http://omaemona.sourceforge.net/packages/Zisyo/:2chdic +DISTFILES+= 2ch.t:2chdic +EXTRACT_ONLY= ${DISTNAME}${EXTRACT_SUFX} +EXTRA_PATCHES= ${PATCHDIR}/extra-patch-mkanthydic:Makefile.in +.endif + +.if defined(WITH_2CHDIC) +post-extract: + @${CP} ${DISTDIR}/${DIST_SUBDIR}/2ch.t ${WRKSRC}/mkanthydic +.endif + post-patch: @${REINPLACE_CMD} -e \ 's| install-lispLISP||g' ${WRKSRC}/src-util/Makefile.in |