aboutsummaryrefslogtreecommitdiffstats
path: root/japanese/rskkserv/Makefile
diff options
context:
space:
mode:
authorknu <knu@FreeBSD.org>2000-09-07 15:44:38 +0800
committerknu <knu@FreeBSD.org>2000-09-07 15:44:38 +0800
commite911379d47fa39daa6cb9830741fed10b1aba05d (patch)
treee9c8a7c6f295c77312cf8f27078de702e8324bb4 /japanese/rskkserv/Makefile
parent57a36d42b96e563526258513aa4391b9faf810ba (diff)
downloadfreebsd-ports-gnome-e911379d47fa39daa6cb9830741fed10b1aba05d.tar.gz
freebsd-ports-gnome-e911379d47fa39daa6cb9830741fed10b1aba05d.tar.zst
freebsd-ports-gnome-e911379d47fa39daa6cb9830741fed10b1aba05d.zip
Update with bsd.ruby.mk.
Diffstat (limited to 'japanese/rskkserv/Makefile')
-rw-r--r--japanese/rskkserv/Makefile15
1 files changed, 6 insertions, 9 deletions
diff --git a/japanese/rskkserv/Makefile b/japanese/rskkserv/Makefile
index eca43f9d7ed6..fea21cea8a0d 100644
--- a/japanese/rskkserv/Makefile
+++ b/japanese/rskkserv/Makefile
@@ -13,20 +13,15 @@ DIST_SUBDIR= ruby
MAINTAINER= knu@FreeBSD.org
-BUILD_DEPENDS= ruby:${PORTSDIR}/lang/ruby
-RUN_DEPENDS= ruby:${PORTSDIR}/lang/ruby \
- ${RUBY_LIBDIR}/tcpwrap.so:${PORTSDIR}/security/ruby-tcpwrap \
+RUN_DEPENDS= ${RUBY_SITEARCHLIBDIR}/tcpwrap.so:${PORTSDIR}/security/ruby-tcpwrap \
${LOCALBASE}/share/skk/${SKKJISYO}:${SKK_MASTERDIR}
+USE_RUBY= yes
+
SKKJISYO_SIZE?= L
SKKJISYO?= SKK-JISYO.${SKKJISYO_SIZE}
SKK_MASTERDIR= ${PORTSDIR}/japanese/skk-jisyo
-RUBY?= ${LOCALBASE}/bin/ruby
-RUBY_VER?= 1.4
-RUBY_ARCH?= ${ARCH}-freebsd${OSREL}
-RUBY_LIBDIR= ${PREFIX}/lib/ruby/site_ruby/${RUBY_VER}/${RUBY_ARCH}
-
STARTUP_SCRIPT= ${PREFIX}/etc/rc.d/rskkserv.sh
MAKE_ARGS= prefix="${PREFIX}" \
dicfile="${LOCALBASE}/share/skk/${SKKJISYO}"
@@ -56,4 +51,6 @@ do-install:
${CHMOD} ${BINMODE} ${STARTUP_SCRIPT}; \
fi
-.include <bsd.port.mk>
+.include <bsd.port.pre.mk>
+.include "${PORTSDIR}/Mk/bsd.ruby.mk"
+.include <bsd.port.post.mk>