blob: fb270d1ebf52718eeec7b944392ac7aa8e3304f5 (
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
|
# 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
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:
@${MKDIR} ${STAGEDIR}${DOCSDIR}
${INSTALL_DATA} ${PORTDOCS:S,^,${WRKSRC}/,} ${STAGEDIR}${DOCSDIR}
.include <bsd.port.post.mk>
|