mirror of
https://git.FreeBSD.org/ports.git
synced 2025-01-26 09:46:09 +00:00
cfabd0ad20
- Update MASTER_SITES. - Add license info. - Use SKK dictionary as of 2010/12/23. - Bump PORTREVISION.
67 lines
1.7 KiB
Makefile
67 lines
1.7 KiB
Makefile
# New ports collection makefile for: Migemo
|
|
# Date created: 19 February 2001
|
|
# Whom: MANTANI Nobutaka <nobutaka@nobutaka.com>
|
|
#
|
|
# $FreeBSD$
|
|
#
|
|
|
|
PORTNAME= migemo
|
|
PORTVERSION= 0.40
|
|
PORTREVISION= 6
|
|
PORTEPOCH= 1
|
|
CATEGORIES= japanese elisp
|
|
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
|
|
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
|
|
PLIST_SUB= MIGEMO="" ELISP="@comment "
|
|
.endif
|
|
|
|
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-rubydir=${RUBY_SITELIBDIR}
|
|
MAKE_JOBS_UNSAFE= yes
|
|
|
|
SKKDIC_FILE= SKK-JISYO.L-20101223
|
|
|
|
.include <bsd.port.pre.mk>
|
|
|
|
.if ${ARCH} == "ia64"
|
|
BROKEN= Does not compile on ia64
|
|
.endif
|
|
|
|
post-extract:
|
|
.if ${SLAVE_PORT} == "no"
|
|
${BZIP2_CMD} -cd ${DISTDIR}/${DIST_SUBDIR}/${SKKDIC_FILE}.bz2 > ${WRKSRC}/SKK-JISYO.L
|
|
.endif
|
|
|
|
post-configure:
|
|
.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 ${SLAVE_PORT} == "yes"
|
|
@${CAT} ${PKGMESSAGE}
|
|
.endif
|
|
|
|
.include <bsd.port.post.mk>
|