blob: c0333e7008cbc24d58dfe7d6ffd6a79f0fa866b2 (
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
30
31
32
33
34
35
36
37
38
39
40
41
42
|
# Created by: Masafumi NAKANE <max@FreeBSD.org>
# $FreeBSD$
PORTNAME= kakasi
PORTVERSION= 2.3.5
PORTREVISION= 3
CATEGORIES= japanese textproc
MASTER_SITES= http://kakasi.namazu.org/stable/
MAINTAINER= ota@j.email.ne.jp
COMMENT= Kanji-Kana Simple Inverter, language filter for Japanese
LICENSE= GPLv2
GNU_CONFIGURE= yes
USES= iconv libtool
USE_LDCONFIG= yes
OPTIONS_DEFINE= DOCS
CONFIGURE_ARGS= ${ICONV_CONFIGURE_ARG}
CPPFLAGS+= -I${LOCALBASE}/include
LDFLAGS+= -L${LOCALBASE}/lib
DOCS= NEWS README README-ja TODO \
doc/ChangeLog.lib doc/JISYO \
doc/README.lib doc/README.wakati
post-patch:
@${REINPLACE_CMD} -e 's/-Wno-unused-result//' ${WRKSRC}/configure
post-install:
${INSTALL_MAN} ${WRKSRC}/man/kakasi.1.ja \
${STAGEDIR}${MAN1PREFIX}/man/ja/man1/kakasi.1
post-install-DOCS-on:
${MKDIR} ${STAGEDIR}${DOCSDIR}
.for f in ${DOCS}
${INSTALL_DATA} ${WRKSRC}/${f} ${STAGEDIR}${DOCSDIR}
.endfor
.include <bsd.port.mk>
|