freebsd-ports/japanese/xyaku/Makefile

58 lines
1.4 KiB
Makefile
Raw Normal View History

# Created by: Akinori MUSHA aka knu <knu@idaemons.org>
# $FreeBSD$
PORTNAME= xyaku
2003-01-01 17:27:57 +01:00
PORTVERSION= 1.4.0
PORTREVISION= 5
CATEGORIES= japanese textproc
MASTER_SITES= http://www.sepia.dti.ne.jp/inoue/software/xyaku/ \
http://redundancy.redundancy.org/mirror/
MAINTAINER= ports@FreeBSD.org
COMMENT= General dictionary/search engine front-end for X
2008-11-13 07:53:05 +01:00
BUILD_DEPENDS= gawk:${PORTSDIR}/lang/gawk
RUN_DEPENDS= ${RUBY_SITEARCHLIBDIR}/eb.so:${PORTSDIR}/japanese/ruby-eb
USE_XORG= x11 xt xext ice sm
OPTIONS_DEFINE= UTF8
OPTIONS_DEFAULT= UTF8
NO_STAGE= yes
.include <bsd.port.options.mk>
.if ${PORT_OPTIONS:MUTF8}
EDICT_FILE= ${LOCALBASE}/share/dict/edict-utf-8/edict
RUN_DEPENDS+= ${EDICT_FILE}:${PORTSDIR}/japanese/edict-utf-8
.else
EDICT_FILE= ${LOCALBASE}/share/dict/edict/edict
RUN_DEPENDS+= ${EDICT_FILE}:${PORTSDIR}/japanese/edict
.endif
USE_RUBY= yes
2010-12-04 08:34:27 +01:00
USE_AUTOTOOLS= autoconf213 libtool
CONFIGURE_ARGS= --with-edict="${EDICT_FILE}" \
--with-ruby="${RUBY}"
DOCS_EN= AUTHORS ChangeLog INSTALL NEWS README TODO \
addin/ADDIN.ChangeLog addin/ADDIN.txt
DOCS_JA= addin/README.searcheb.ja
post-extract:
${MV} ${WRKSRC}/addin/ChangeLog ${WRKSRC}/addin/ADDIN.ChangeLog
post-install:
.if ${PORT_OPTIONS:MDOCS}
${MKDIR} ${DOCSDIR}
${MKDIR} ${DOCSDIR}/ja
.for f in ${DOCS_EN}
${INSTALL_DATA} ${WRKSRC}/${f} ${DOCSDIR}
.endfor
.for f in ${DOCS_JA}
${INSTALL_DATA} ${WRKSRC}/${f} ${DOCSDIR}/ja
.endfor
.endif
.include <bsd.port.mk>