freebsd-ports/japanese/eblook/Makefile
Sunpoet Po-Chuan Hsieh 386c9fef5e Update LICENSE
- Add LICENSE_FILE
- While I'm here:
  - Convert to options target helper
  - Fix typo
  - Fix WWW

PR:		222299
Submitted by:	Yasuhiro KIMURA <yasu@utahime.org> (maintainer)
2017-09-15 05:52:02 +00:00

42 lines
919 B
Makefile

# Created by: Shigeyuki Fukushima <shige@FreeBSD.org>
# $FreeBSD$
PORTNAME= eblook
PORTVERSION= 1.6.1
PORTREVISION= 9
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>