diff options
author | Akinori MUSHA <knu@FreeBSD.org> | 2000-09-07 07:44:38 +0000 |
---|---|---|
committer | Akinori MUSHA <knu@FreeBSD.org> | 2000-09-07 07:44:38 +0000 |
commit | 65ff91142eae892357ed74efdeeda4b9e192d834 (patch) | |
tree | f35923c34cade1490b49384542b065518c378507 /japanese/ruby-eb | |
parent | d5769b206fbb9de50356197d9530e02b1e17a5ed (diff) | |
download | ports-65ff91142eae892357ed74efdeeda4b9e192d834.tar.gz ports-65ff91142eae892357ed74efdeeda4b9e192d834.zip |
Update with bsd.ruby.mk.
Notes
Notes:
svn path=/head/; revision=32373
Diffstat (limited to 'japanese/ruby-eb')
-rw-r--r-- | japanese/ruby-eb/Makefile | 26 | ||||
-rw-r--r-- | japanese/ruby-eb/pkg-plist | 14 |
2 files changed, 16 insertions, 24 deletions
diff --git a/japanese/ruby-eb/Makefile b/japanese/ruby-eb/Makefile index 193c2a3b4391..014abf717b7c 100644 --- a/japanese/ruby-eb/Makefile +++ b/japanese/ruby-eb/Makefile @@ -14,33 +14,25 @@ DIST_SUBDIR= ruby MAINTAINER= knu@FreeBSD.org -BUILD_DEPENDS= ruby:${PORTSDIR}/lang/ruby LIB_DEPENDS= eb.3:${PORTSDIR}/japanese/eb -RUN_DEPENDS= ruby:${PORTSDIR}/lang/ruby + +USE_RUBY= yes +USE_RUBY_EXTCONF= yes NO_WRKSUBDIR= yes -CONFIGURE_ARGS= --with-opt-dir="${LOCALBASE}" INSTALL_TARGET= site-install -PLIST_SUB= RUBY_VER="${RUBY_VER}" RUBY_ARCH="${RUBY_ARCH}" - -RUBY?= ${LOCALBASE}/bin/ruby -RUBY_VER?= 1.4 -RUBY_ARCH?= ${ARCH}-freebsd${OSREL} .include <bsd.port.pre.mk> +.include "${PORTSDIR}/Mk/bsd.ruby.mk" -PKGNAMEPREFIX:= ${PKGNAMEPREFIX}ruby- - -do-configure: - @cd ${WRKSRC}; \ - ${SETENV} ${CONFIGURE_ENV} ${RUBY} extconf.rb ${CONFIGURE_ARGS} +PKGNAMEPREFIX:= ${PKGNAMEPREFIX}${RUBY_PKGNAMEPREFIX} post-install: .if !defined(NOPORTDOCS) - ${MKDIR} ${PREFIX}/share/examples/ruby/eb/ja/ - ${INSTALL_DATA} ${WRKSRC}/test.rb ${PREFIX}/share/examples/ruby/eb/ja/ - ${MKDIR} ${PREFIX}/share/doc/ruby/eb/ja - ${INSTALL_DATA} ${WRKSRC}/eb.html ${PREFIX}/share/doc/ruby/eb/ja/ + ${MKDIR} ${RUBY_EXAMPLESDIR}/eb/ja/ + ${INSTALL_DATA} ${WRKSRC}/test.rb ${RUBY_EXAMPLESDIR}/eb/ja/ + ${MKDIR} ${RUBY_DOCDIR}/eb/ja + ${INSTALL_DATA} ${WRKSRC}/eb.html ${RUBY_DOCDIR}/eb/ja/ .endif .include <bsd.port.post.mk> diff --git a/japanese/ruby-eb/pkg-plist b/japanese/ruby-eb/pkg-plist index 399d77563d1c..ae20ed631301 100644 --- a/japanese/ruby-eb/pkg-plist +++ b/japanese/ruby-eb/pkg-plist @@ -1,7 +1,7 @@ -lib/ruby/site_ruby/%%RUBY_VER%%/%%RUBY_ARCH%%/eb.so -share/examples/ruby/eb/ja/test.rb -@dirrm share/examples/ruby/eb/ja -@dirrm share/examples/ruby/eb -share/doc/ruby/eb/ja/eb.html -@dirrm share/doc/ruby/eb/ja -@dirrm share/doc/ruby/eb +%%RUBY_SITEARCHLIBDIR%%/eb.so +%%RUBY_EXAMPLESDIR%%/eb/ja/test.rb +@dirrm %%RUBY_EXAMPLESDIR%%/eb/ja +@dirrm %%RUBY_EXAMPLESDIR%%/eb +%%RUBY_DOCDIR%%/eb/ja/eb.html +@dirrm %%RUBY_DOCDIR%%/eb/ja +@dirrm %%RUBY_DOCDIR%%/eb |