aboutsummaryrefslogtreecommitdiff
path: root/japanese/xyaku/Makefile
diff options
context:
space:
mode:
Diffstat (limited to 'japanese/xyaku/Makefile')
-rw-r--r--japanese/xyaku/Makefile44
1 files changed, 44 insertions, 0 deletions
diff --git a/japanese/xyaku/Makefile b/japanese/xyaku/Makefile
new file mode 100644
index 000000000000..78f9b5696dc8
--- /dev/null
+++ b/japanese/xyaku/Makefile
@@ -0,0 +1,44 @@
+# New ports collection makefile for: xyaku
+# Date created: 7 Dec 2000
+# Whom: Akinori MUSHA aka knu <knu@idaemons.org>
+#
+# $FreeBSD$
+#
+
+PORTNAME= xyaku
+PORTVERSION= 1.3.0
+CATEGORIES= japanese textproc
+MASTER_SITES= http://www.ainet.or.jp/~inoue/software/xyaku/
+
+MAINTAINER= knu@idaemons.org
+
+RUN_DEPENDS= ${EDICT_FILE}:${PORTSDIR}/japanese/edict \
+ ${RUBY_SITEARCHLIBDIR}/eb.so:${PORTSDIR}/japanese/ruby-eb
+
+USE_XLIB= yes
+USE_RUBY= yes
+
+USE_AUTOCONF= yes
+USE_LIBTOOL= yes
+CONFIGURE_ARGS= --with-edict="${EDICT_FILE}"
+
+EDICT_FILE= ${PREFIX}/share/dict/edict/edict
+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 !defined(NOPORTDOCS)
+ ${MKDIR} ${PREFIX}/share/doc/xyaku/ja
+.for f in ${DOCS_EN}
+ ${INSTALL_DATA} ${WRKSRC}/${f} ${PREFIX}/share/doc/xyaku/
+.endfor
+.for f in ${DOCS_JA}
+ ${INSTALL_DATA} ${WRKSRC}/${f} ${PREFIX}/share/doc/xyaku/ja/
+.endfor
+.endif
+
+.include <bsd.port.mk>