aboutsummaryrefslogtreecommitdiff
path: root/japanese/migemo/Makefile
diff options
context:
space:
mode:
authorMANTANI Nobutaka <nobutaka@FreeBSD.org>2010-12-24 15:38:27 +0000
committerMANTANI Nobutaka <nobutaka@FreeBSD.org>2010-12-24 15:38:27 +0000
commitcfabd0ad2020cc59300db22b40e0e1c4ffead3df (patch)
treed005dd5e731a2fb3bb8c03fa746dcca7aa96cc44 /japanese/migemo/Makefile
parent8fba1543b27eb7009e7f8c360166e7bb513d5fc3 (diff)
- Fix build error.
- Update MASTER_SITES. - Add license info. - Use SKK dictionary as of 2010/12/23. - Bump PORTREVISION.
Notes
Notes: svn path=/head/; revision=266844
Diffstat (limited to 'japanese/migemo/Makefile')
-rw-r--r--japanese/migemo/Makefile22
1 files changed, 14 insertions, 8 deletions
diff --git a/japanese/migemo/Makefile b/japanese/migemo/Makefile
index e27823d653e5..590edfba0548 100644
--- a/japanese/migemo/Makefile
+++ b/japanese/migemo/Makefile
@@ -7,18 +7,22 @@
PORTNAME= migemo
PORTVERSION= 0.40
-PORTREVISION= 5
+PORTREVISION= 6
PORTEPOCH= 1
CATEGORIES= japanese elisp
-MASTER_SITES= http://namazu.org/~satoru/migemo/ \
- http://people.freebsd.org/~nobutaka/distfiles/:skkdic
+MASTER_SITES= http://0xcc.net/migemo/ \
+ ${MASTER_SITE_LOCAL:S/$/:skkdic/}
+MASTER_SITE_SUBDIR= nobutaka/:skkdic
DISTFILES= ${DISTNAME}${EXTRACT_SUFX} ${SKKDIC_FILE}.bz2:skkdic
-DIST_SUBDIR= migemo
+DIST_SUBDIR= migemo
EXTRACT_ONLY= ${DISTNAME}${EXTRACT_SUFX}
MAINTAINER= nobutaka@FreeBSD.org
COMMENT?= Japanese incremental search tool
+LICENSE= GPLv2
+LICENSE_FILE= ${WRKSRC}/COPYING
+
.if !defined(SLAVE_PORT)
USE_AUTOTOOLS= automake14 autoconf213
EXTRA_PATCHES= ${FILESDIR}/extra-patch-Makefile.am ${FILESDIR}/extra-patch-configure.in
@@ -34,7 +38,7 @@ RUN_DEPENDS+= ${RUBY_SITELIBDIR}/romkan.rb:${PORTSDIR}/japanese/ruby-romkan \
CONFIGURE_ARGS+=--with-rubydir=${RUBY_SITELIBDIR}
MAKE_JOBS_UNSAFE= yes
-SKKDIC_FILE= SKK-JISYO.L-20060709
+SKKDIC_FILE= SKK-JISYO.L-20101223
.include <bsd.port.pre.mk>
@@ -43,17 +47,19 @@ BROKEN= Does not compile on ia64
.endif
post-extract:
-.if !defined(SLAVE_PORT)
+.if ${SLAVE_PORT} == "no"
${BZIP2_CMD} -cd ${DISTDIR}/${DIST_SUBDIR}/${SKKDIC_FILE}.bz2 > ${WRKSRC}/SKK-JISYO.L
.endif
post-configure:
-.if !defined(SLAVE_PORT)
+.if ${SLAVE_PORT} == "no"
(cd ${WRKSRC}; ${CAT} SKK-JISYO.L | ${RUBY} migemo-convert.rb > migemo-dict)
+ ${CP} ${AUTOMAKE_DIR}/config.guess ${WRKSRC}
+ ${CP} ${AUTOMAKE_DIR}/config.sub ${WRKSRC}
.endif
post-install:
-.if defined(SLAVE_PORT)
+.if ${SLAVE_PORT} == "yes"
@${CAT} ${PKGMESSAGE}
.endif