aboutsummaryrefslogtreecommitdiff
path: root/japanese
diff options
context:
space:
mode:
Diffstat (limited to 'japanese')
-rw-r--r--japanese/anthy/Makefile8
-rw-r--r--japanese/anthy/distinfo4
-rw-r--r--japanese/anthy/pkg-plist3
3 files changed, 13 insertions, 2 deletions
diff --git a/japanese/anthy/Makefile b/japanese/anthy/Makefile
index 3eaabc9570fe..bdb596ab34e4 100644
--- a/japanese/anthy/Makefile
+++ b/japanese/anthy/Makefile
@@ -7,6 +7,7 @@
PORTNAME= anthy
PORTVERSION= 4700
+PORTREVISION= 1
CATEGORIES= japanese
MASTER_SITES= http://downloads.sourceforge.jp/anthy/6621/:anthy
DISTFILES= ${DISTNAME}${EXTRACT_SUFX}:anthy
@@ -20,7 +21,8 @@ USE_LIBTOOL= yes
CONFIGURE_TARGET= --build=${MACHINE_ARCH}-portbld-freebsd${OSREL}
INSTALLS_SHLIB= yes
-ELISPDIR= share/emacs/site-lisp
+DOCSDIR= share/doc/ja/anthy
+ELISPDIR= share/emacs/site-lisp/anthy
PLIST_SUB= ELISPDIR=${ELISPDIR}
.if defined(WITH_2CHDIC)
@@ -40,6 +42,10 @@ post-patch:
's| install-lispLISP||g' ${WRKSRC}/src-util/Makefile.in
post-install:
+ ${MKDIR} ${PREFIX}/${ELISPDIR}
${INSTALL_DATA} ${WRKSRC}/src-util/*.el ${PREFIX}/${ELISPDIR}
+.if !defined(NOPORTDOCS)
+ ${INSTALL_DATA} ${WRKSRC}/doc/ELISP ${PREFIX}/${DOCSDIR}
+.endif
.include <bsd.port.mk>
diff --git a/japanese/anthy/distinfo b/japanese/anthy/distinfo
index af98fb5910fd..78654a30bd19 100644
--- a/japanese/anthy/distinfo
+++ b/japanese/anthy/distinfo
@@ -1,2 +1,4 @@
MD5 (anthy/anthy-4700.tar.gz) = d859ce0eaf39dcab21fc67bd3acc7bb0
-MD5 (anthy/2ch.t) = ba119b3cd1f695ac6c39c815a8133003
+SIZE (anthy/anthy-4700.tar.gz) = 1419664
+MD5 (anthy/2ch.t) = 6e54dd6adb0f7bc7d899002decbfafd9
+SIZE (anthy/2ch.t) = 142344
diff --git a/japanese/anthy/pkg-plist b/japanese/anthy/pkg-plist
index b2711938a4e3..ed7842bc8e68 100644
--- a/japanese/anthy/pkg-plist
+++ b/japanese/anthy/pkg-plist
@@ -27,6 +27,7 @@ share/anthy/noun-variant.depword
share/anthy/noun.depword
share/anthy/typetab
share/anthy/v.depword
+%%PORTDOCS%%%%DOCSDIR%%/ELISP
%%ELISPDIR%%/anthy-conf.el
%%ELISPDIR%%/anthy-dic.el
%%ELISPDIR%%/anthy-isearch.el
@@ -34,3 +35,5 @@ share/anthy/v.depword
%%ELISPDIR%%/leim-list.el
@dirrm share/anthy
@dirrm include/anthy
+@dirrm %%ELISPDIR%%
+@dirrm %%DOCSDIR%%