aboutsummaryrefslogtreecommitdiff
path: root/japanese/rskkserv
diff options
context:
space:
mode:
authorAkinori MUSHA <knu@FreeBSD.org>2000-09-07 07:44:38 +0000
committerAkinori MUSHA <knu@FreeBSD.org>2000-09-07 07:44:38 +0000
commit65ff91142eae892357ed74efdeeda4b9e192d834 (patch)
treef35923c34cade1490b49384542b065518c378507 /japanese/rskkserv
parentd5769b206fbb9de50356197d9530e02b1e17a5ed (diff)
downloadports-65ff91142eae892357ed74efdeeda4b9e192d834.tar.gz
ports-65ff91142eae892357ed74efdeeda4b9e192d834.zip
Update with bsd.ruby.mk.
Notes
Notes: svn path=/head/; revision=32373
Diffstat (limited to 'japanese/rskkserv')
-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>