summaryrefslogtreecommitdiffstats
path: root/japanese/migemo-emacs20/Makefile
diff options
context:
space:
mode:
authorknu <knu@FreeBSD.org>2001-07-23 03:55:42 +0000
committerknu <knu@FreeBSD.org>2001-07-23 03:55:42 +0000
commit516f3b8fe653b101fb8827f859be94b8eae3405b (patch)
tree8b52a0c2fd327e2b637b47fd73de525b2fed9225 /japanese/migemo-emacs20/Makefile
parent7b4a53d8fad42ee220060f732cfc456f0ac9f406 (diff)
downloadFreeBSD-ports-516f3b8fe653b101fb8827f859be94b8eae3405b.zip
FreeBSD-ports-516f3b8fe653b101fb8827f859be94b8eae3405b.tar.gz
Update to 0.3.
PR: ports/29064 Submitted by: MANTANI Nobutaka <nobutaka@nobutaka.com>
Diffstat (limited to 'japanese/migemo-emacs20/Makefile')
-rw-r--r--japanese/migemo-emacs20/Makefile30
1 files changed, 12 insertions, 18 deletions
diff --git a/japanese/migemo-emacs20/Makefile b/japanese/migemo-emacs20/Makefile
index 9fdc3e9..f258efd 100644
--- a/japanese/migemo-emacs20/Makefile
+++ b/japanese/migemo-emacs20/Makefile
@@ -6,7 +6,8 @@
#
PORTNAME= migemo
-PORTVERSION= 0.22
+PORTVERSION= 0.3
+PORTEPOCH= 1
CATEGORIES= japanese elisp
MASTER_SITES= http://migemo.namazu.org/stable/
PKGNAMESUFFIX= -${EMACS_PORT_NAME}
@@ -24,34 +25,27 @@ RUN_DEPENDS= ${LOCALBASE}/${EMACS_PACKAGESDIR}/lisp/apel/emu.el:${PORTSDIR}/edit
BUILD_DEPENDS= ${LOCALBASE}/${EMACS_LIBDIR_WITH_VER}/site-lisp/emu/emu.el:${PORTSDIR}/editors/apel-${EMACS_PORT_NAME}
RUN_DEPENDS= ${LOCALBASE}/${EMACS_LIBDIR_WITH_VER}/site-lisp/emu/emu.el:${PORTSDIR}/editors/apel-${EMACS_PORT_NAME}
.endif
-BUILD_DEPENDS+= ${NONEXISTENT}:${SKK_PORT_DIR}:extract
-USE_PERL5= yes
USE_AUTOMAKE= yes
+USE_RUBY= yes
+BUILD_DEPENDS+= ${RUBY_SITELIBDIR}/romkan.rb:${PORTSDIR}/japanese/ruby-romkan \
+ ${RUBY_SITELIBDIR}/bsearch.rb:${PORTSDIR}/devel/ruby-bsearch
+RUN_DEPENDS+= ${RUBY_SITELIBDIR}/romkan.rb:${PORTSDIR}/japanese/ruby-romkan \
+ ${RUBY_SITELIBDIR}/bsearch.rb:${PORTSDIR}/devel/ruby-bsearch
-CONFIGURE_ARGS= --with-emacs=${EMACS_CMD}
+CONFIGURE_ARGS= --with-rubydir=${RUBY_SITELIBDIR} --with-emacs=${EMACS_CMD}
.if (${EMACS_PORT_NAME} == "xemacs21-mule")
CONFIGURE_ARGS+= --with-lispdir=${PREFIX}/${EMACS_LIBDIR}/site-lisp
.endif
-SKK_PORT_DIR= ${PORTSDIR}/japanese/skk-jisyo
-
.include <bsd.port.pre.mk>
-SKK_WRKSRC!= cd ${SKK_PORT_DIR}; ${MAKE} -V WRKSRC
-
-post-extract:
- ${MKDIR} ${WRKSRC}/Lingua
- ${CP} ${WRKSRC}/Lingua-Romkan/Romkan.pm ${WRKSRC}/Lingua
- ${CP} ${SKK_WRKSRC}/jisyo/SKK-JISYO.L ${WRKSRC}
-
-post-build:
- (cd ${WRKSRC}/Lingua-Romkan/; ${PERL} Makefile.PL; ${MAKE})
-
-pre-install:
- (cd ${WRKSRC}/Lingua-Romkan/; ${MAKE} install)
+post-configure:
+ ${RUBY} -i -pe 'sub /@list=/, "list="' ${WRKSRC}/${MAKEFILE}
post-install:
+ @${MKDIR} ${PREFIX}/share/doc/migemo
+ @${MV} ${PREFIX}/share/migemo/migemo.ja.html ${PREFIX}/share/doc/migemo
@${CAT} ${PKGMESSAGE}
.include <bsd.port.post.mk>
OpenPOWER on IntegriCloud