1
0
mirror of https://git.FreeBSD.org/ports.git synced 2024-12-04 01:48:54 +00:00
freebsd-ports/japanese/eblook/Makefile
2021-09-28 14:13:33 +09:00

41 lines
908 B
Makefile

# Created by: Shigeyuki Fukushima <shige@FreeBSD.org>
PORTNAME= eblook
PORTVERSION= 1.6.1
PORTREVISION= 10
CATEGORIES= japanese textproc
MASTER_SITES= http://openlab.ring.gr.jp/edict/eblook/dist/
DIST_SUBDIR= eb
MAINTAINER= yasu@FreeBSD.org
COMMENT= Command to lookup words in EB format dictionaries
LICENSE= GPLv2+
LICENSE_FILE= ${WRKSRC}/COPYING
LIB_DEPENDS= libeb.so:japanese/eb
USES= iconv
GNU_CONFIGURE= yes
CONFIGURE_ARGS= --with-eb-conf=${PREFIX}/etc/eb.conf
CPPFLAGS+= -I${ICONV_PREFIX}/include
LIBS+= -L${ICONV_PREFIX}/lib ${ICONV_LIB}
INFO= eblook
PLIST_FILES= bin/eblook
PORTDOCS= AUTHORS COPYING ChangeLog NEWS README
OPTIONS_DEFINE= DOCS
.include <bsd.port.pre.mk>
.if !empty(ICONV_LIB)
CONFIGURE_ARGS+=ac_cv_func_iconv=yes
.endif
post-install-DOCS-on:
@${MKDIR} ${STAGEDIR}${DOCSDIR}
${INSTALL_DATA} ${PORTDOCS:S,^,${WRKSRC}/,} ${STAGEDIR}${DOCSDIR}
.include <bsd.port.post.mk>