summaryrefslogtreecommitdiff
path: root/japanese/suikyo/Makefile
blob: 029992b881167b43a5b8d880c829a9a71b1ddf78 (plain) (blame)
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
# Created by: Gen Otsuji<otsuji@users.sourceforge.jp>
# $FreeBSD$

PORTNAME=	suikyo
PORTVERSION=	2.1.0
PORTREVISION=	2
CATEGORIES=	japanese
MASTER_SITES=	http://prime.sourceforge.jp/src/

MAINTAINER=	otsuji@users.sourceforge.jp
COMMENT=	Romaji-Kana conversion Library for the prime

USE_RUBY=	yes
USES=		pkgconfig
GNU_CONFIGURE=	yes
CONFIGURE_ARGS=	--with-rubydir=${RUBY_SITELIBDIR}
USE_AUTOTOOLS=	automake autoconf

pre-configure:
	@(cd ${CONFIGURE_WRKSRC} && ${SETENV} ${AUTOTOOLS_ENV} ${ACLOCAL})

post-install:
.if !defined(NOPORTDOCS)
	cd ${WRKSRC}/doc; ${MAKE} ${INSTALL_TARGET}
	cd ${WRKSRC}/elisp/doc; ${MAKE} ${INSTALL_TARGET}
	cd ${WRKSRC}/ruby/doc; ${MAKE} ${INSTALL_TARGET}
.endif

.include <bsd.port.mk>