summaryrefslogtreecommitdiff
path: root/editors/tamago
diff options
context:
space:
mode:
authorIon-Mihai Tetcu <itetcu@FreeBSD.org>2006-06-26 21:43:36 +0000
committerIon-Mihai Tetcu <itetcu@FreeBSD.org>2006-06-26 21:43:36 +0000
commitf82e3ac23bec3cbd407f567c7e0fa003541594e1 (patch)
treed9a359d9a72c027b3b3e864e20723823e3a03d02 /editors/tamago
parent. Update to 1.13.6. (diff)
Add patch that fixes some bugs that occur when Anthy (japanese/anthy) is used
as backend engine. PR: ports/98066 Submitted by: maintainer
Notes
Notes: svn path=/head/; revision=166393
Diffstat (limited to 'editors/tamago')
-rw-r--r--editors/tamago/Makefile18
-rw-r--r--editors/tamago/distinfo3
-rw-r--r--editors/tamago/pkg-plist1
3 files changed, 19 insertions, 3 deletions
diff --git a/editors/tamago/Makefile b/editors/tamago/Makefile
index 0a3650aff6d3..771d1b6af64a 100644
--- a/editors/tamago/Makefile
+++ b/editors/tamago/Makefile
@@ -6,12 +6,14 @@
#
PORTNAME= tamago
-PORTVERSION= 4.0.6.0.20041122.9
+PORTVERSION= ${EGG_DEBIAN_VER}.${EGG_ANTHY_VER}
CATEGORIES= editors elisp
-MASTER_SITES= ${MASTER_SITE_DEBIAN}
+MASTER_SITES= ${MASTER_SITE_DEBIAN} \
+ http://www.meadowy.org/~shirai/elips/:anthy
MASTER_SITE_SUBDIR= pool/main/e/egg
PKGNAMESUFFIX= -${EMACS_PORT_NAME}
-DISTNAME= egg_4.0.6+0.20041122cvs.orig
+DISTFILES= egg_4.0.6+0.20041122cvs.orig.tar.gz \
+ egg-anthy.tar.gz:anthy
PATCH_SITES= ${MASTER_SITE_DEBIAN:S,%SUBDIR%,pool/main/e/egg,} \
${MASTER_SITE_LOCAL:S,%SUBDIR%,nork,}
@@ -21,6 +23,9 @@ PATCH_DIST_STRIP= -p1
MAINTAINER= ports@FreeBSD.org
COMMENT= The Multilingual Input Method - Egg V4
+EGG_DEBIAN_VER= 4.0.6.0.20041122.9
+EGG_ANTHY_VER= 20060606.2
+
USE_GMAKE= yes
GNU_CONFIGURE= yes
@@ -28,6 +33,7 @@ USE_EMACS= yes
EMACS_PORT_NAME?= emacs21
WRKSRC= ${WRKDIR}/egg-4.0.6+0.20041122cvs
+WRKSRC_ANTHY= ${WRKDIR}/egg-anthy-20060606-2
ELISPDIR= ${PREFIX}/${EMACS_LIBDIR_WITH_VER}/site-lisp
PLIST_SUB= ELISPDIR="${EMACS_LIBDIR_WITH_VER}/site-lisp"
@@ -37,6 +43,11 @@ PLIST_SUB+= HAS_JISX0213=""
PLIST_SUB+= HAS_JISX0213="@comment "
.endif
+post-extract:
+.for f in anthy.el anthyipc.el
+ @${CP} ${WRKSRC_ANTHY}/${f} ${WRKSRC}/egg
+.endfor
+
pre-configure:
@${REINPLACE_CMD} -e 's|emacs/site-lisp|${EMACS_NAME}/${EMACS_VER}/site-lisp|g' \
${WRKSRC}/configure
@@ -52,6 +63,7 @@ post-install:
${INSTALL_DATA} ${WRKSRC}/${f} ${DOCSDIR}
.endfor
${INSTALL_DATA} ${WRKSRC}/debian/changelog ${DOCSDIR}/changelog.Debian
+ ${INSTALL_DATA} ${WRKSRC_ANTHY}/egg-anthy.readme ${DOCSDIR}
.endif
@${CAT} ${PKGMESSAGE}
diff --git a/editors/tamago/distinfo b/editors/tamago/distinfo
index 76676ada4a6f..c9dca86ffdac 100644
--- a/editors/tamago/distinfo
+++ b/editors/tamago/distinfo
@@ -1,6 +1,9 @@
MD5 (egg_4.0.6+0.20041122cvs.orig.tar.gz) = 64ec1af61f6e265c05447dd4e2a83aae
SHA256 (egg_4.0.6+0.20041122cvs.orig.tar.gz) = 722413515f2d60418d98250c8aed2b811e6b5363cdb69899193d454afe425115
SIZE (egg_4.0.6+0.20041122cvs.orig.tar.gz) = 287308
+MD5 (egg-anthy.tar.gz) = b4a7e15f64ca07526ce23d7fb7575045
+SHA256 (egg-anthy.tar.gz) = 46f51b377a70c1a6b07a4a9fc94860010c05651b1bdfa88b47abdfd06d999f4a
+SIZE (egg-anthy.tar.gz) = 9961
MD5 (egg_4.0.6+0.20041122cvs-9.diff.gz) = 88a69191178c8c8dde7a19e4f7b79420
SHA256 (egg_4.0.6+0.20041122cvs-9.diff.gz) = e542e72644c317f6eb43aa89a5bbcefff499a8a9418ae42a72c38ea15f540e8c
SIZE (egg_4.0.6+0.20041122cvs-9.diff.gz) = 16721
diff --git a/editors/tamago/pkg-plist b/editors/tamago/pkg-plist
index 6db6798d9857..a77ecaa56a10 100644
--- a/editors/tamago/pkg-plist
+++ b/editors/tamago/pkg-plist
@@ -82,4 +82,5 @@ bin/egg-helper
%%PORTDOCS%%%%DOCSDIR%%/README.ja.txt
%%PORTDOCS%%%%DOCSDIR%%/TODO
%%PORTDOCS%%%%DOCSDIR%%/changelog.Debian
+%%PORTDOCS%%%%DOCSDIR%%/egg-anthy.readme
%%PORTDOCS%%@dirrm %%DOCSDIR%%