1
0
mirror of https://git.FreeBSD.org/ports.git synced 2024-12-27 05:10:36 +00:00
freebsd-ports/japanese/eblook/Makefile
2021-04-06 16:31:07 +02: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@utahime.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>