summaryrefslogtreecommitdiffstats
path: root/japanese/migemo/Makefile
blob: c6b115577ff7f3cef407e1afbd0eafaf447c33f6 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
# New ports collection makefile for:	Migemo
# Date created:		19 February 2001
# Whom:			MANTANI Nobutaka <nobutaka@nobutaka.com>
#
# $FreeBSD$
#

PORTNAME=	migemo
PORTVERSION=	0.32
PORTREVISIUON=	1
PORTEPOCH=	1
CATEGORIES=	japanese elisp
MASTER_SITES=   http://migemo.namazu.org/stable/

MAINTAINER=	nobutaka@FreeBSD.org

.if !defined(EMACS_PORT_NAME)
USE_AUTOMAKE=	yes
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}

post-install:
.if defined(EMACS_PORT_NAME)
	@${CAT} ${PKGMESSAGE}
.else
	@${MKDIR} -p ${DOCSDIR}
	@${MV} ${PREFIX}/share/migemo/migemo.ja.html ${DOCSDIR}
.endif

.include <bsd.port.mk>
OpenPOWER on IntegriCloud