1
0
mirror of https://git.FreeBSD.org/ports.git synced 2025-01-19 08:13:21 +00:00
freebsd-ports/japanese/kakasi/Makefile
Baptiste Daroussin ce6106abee japanese/kakasi: properly move manpages to share/man
Reported by:	antoine
2024-01-12 17:24:58 +01:00

43 lines
1001 B
Makefile

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
WWW= http://kakasi.namazu.org/
LICENSE= GPLv2
GNU_CONFIGURE= yes
GNU_CONFIGURE_MANPREFIX= ${PREFIX}/share
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:
${MKDIR} ${STAGEDIR}${PREFIX}/share/man/ja/man1/
${INSTALL_MAN} ${WRKSRC}/man/kakasi.1.ja \
${STAGEDIR}${PREFIX}/share/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>