2013-05-26 02:33:54 +02:00
|
|
|
# Created by: Akinori MUSHA aka knu <knu@idaemons.org>
|
2000-12-06 23:10:07 +01:00
|
|
|
# $FreeBSD$
|
|
|
|
|
|
|
|
PORTNAME= xyaku
|
2003-01-01 17:27:57 +01:00
|
|
|
PORTVERSION= 1.4.0
|
2008-06-06 16:17:21 +02:00
|
|
|
PORTREVISION= 5
|
2000-12-06 23:10:07 +01:00
|
|
|
CATEGORIES= japanese textproc
|
2007-02-18 22:01:00 +01:00
|
|
|
MASTER_SITES= http://www.sepia.dti.ne.jp/inoue/software/xyaku/ \
|
2006-12-01 05:22:13 +01:00
|
|
|
http://redundancy.redundancy.org/mirror/
|
2000-12-06 23:10:07 +01:00
|
|
|
|
2014-07-02 21:21:25 +02:00
|
|
|
MAINTAINER= ports@FreeBSD.org
|
2013-05-26 02:33:54 +02:00
|
|
|
COMMENT= General dictionary/search engine front-end for X
|
2000-12-06 23:10:07 +01:00
|
|
|
|
2008-11-13 07:53:05 +01:00
|
|
|
BUILD_DEPENDS= gawk:${PORTSDIR}/lang/gawk
|
2006-12-01 05:22:13 +01:00
|
|
|
RUN_DEPENDS= ${RUBY_SITEARCHLIBDIR}/eb.so:${PORTSDIR}/japanese/ruby-eb
|
|
|
|
|
- Remove unneeded dependency from gtk12/gtk20 [1]
- Remove USE_XLIB/USE_X_PREFIX/USE_XPM in favor of USE_XORG
- Remove X11BASE support in favor of LOCALBASE or PREFIX
- Use USE_LDCONFIG instead of INSTALLS_SHLIB
- Remove unneeded USE_GCC 3.4+
Thanks to all Helpers:
Dmitry Marakasov, Chess Griffin, beech@, dinoex, rafan, gahr,
ehaupt, nox, itetcu, flz, pav
PR: 116263
Tested on: pointyhat
Approved by: portmgr (pav)
2008-04-19 19:56:05 +02:00
|
|
|
USE_XORG= x11 xt xext ice sm
|
|
|
|
|
2013-05-26 02:33:54 +02:00
|
|
|
OPTIONS_DEFINE= UTF8
|
|
|
|
OPTIONS_DEFAULT= UTF8
|
2006-12-01 05:22:13 +01:00
|
|
|
|
2013-09-20 20:47:54 +02:00
|
|
|
NO_STAGE= yes
|
2013-05-26 02:33:54 +02:00
|
|
|
.include <bsd.port.options.mk>
|
|
|
|
|
|
|
|
.if ${PORT_OPTIONS:MUTF8}
|
2006-12-01 05:22:13 +01:00
|
|
|
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
|
2000-12-06 23:10:07 +01:00
|
|
|
|
|
|
|
USE_RUBY= yes
|
2010-12-04 08:34:27 +01:00
|
|
|
USE_AUTOTOOLS= autoconf213 libtool
|
2000-12-06 23:53:32 +01:00
|
|
|
CONFIGURE_ARGS= --with-edict="${EDICT_FILE}" \
|
2006-12-01 05:22:13 +01:00
|
|
|
--with-ruby="${RUBY}"
|
2000-12-06 23:10:07 +01:00
|
|
|
|
|
|
|
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:
|
2013-05-26 02:33:54 +02:00
|
|
|
.if ${PORT_OPTIONS:MDOCS}
|
2006-12-01 05:22:13 +01:00
|
|
|
${MKDIR} ${DOCSDIR}
|
|
|
|
${MKDIR} ${DOCSDIR}/ja
|
2000-12-06 23:10:07 +01:00
|
|
|
.for f in ${DOCS_EN}
|
2006-12-01 05:22:13 +01:00
|
|
|
${INSTALL_DATA} ${WRKSRC}/${f} ${DOCSDIR}
|
2000-12-06 23:10:07 +01:00
|
|
|
.endfor
|
|
|
|
.for f in ${DOCS_JA}
|
2006-12-01 05:22:13 +01:00
|
|
|
${INSTALL_DATA} ${WRKSRC}/${f} ${DOCSDIR}/ja
|
2000-12-06 23:10:07 +01:00
|
|
|
.endfor
|
|
|
|
.endif
|
|
|
|
|
|
|
|
.include <bsd.port.mk>
|