diff options
author | knu <knu@FreeBSD.org> | 2000-09-07 22:39:47 +0800 |
---|---|---|
committer | knu <knu@FreeBSD.org> | 2000-09-07 22:39:47 +0800 |
commit | 96f951a2786bd495731135d2fc5fcb8749dee633 (patch) | |
tree | f2835ba67cd5363c99bf3d8b27d9d3019200754f /math | |
parent | 4ea073e1c6c57446d3193f6385a0d5ce1cc3e63f (diff) | |
download | freebsd-ports-gnome-96f951a2786bd495731135d2fc5fcb8749dee633.tar.gz freebsd-ports-gnome-96f951a2786bd495731135d2fc5fcb8749dee633.tar.zst freebsd-ports-gnome-96f951a2786bd495731135d2fc5fcb8749dee633.zip |
Update with bsd.ruby.mk. :>
Diffstat (limited to 'math')
-rw-r--r-- | math/ruby-bigfloat/Makefile | 29 | ||||
-rw-r--r-- | math/ruby-bigfloat/pkg-plist | 12 |
2 files changed, 17 insertions, 24 deletions
diff --git a/math/ruby-bigfloat/Makefile b/math/ruby-bigfloat/Makefile index 91501e08ca7b..bfa3ca740d2b 100644 --- a/math/ruby-bigfloat/Makefile +++ b/math/ruby-bigfloat/Makefile @@ -6,36 +6,29 @@ # PORTNAME= bigfloat -PORTVERSION= 1.1.3 +PORTVERSION= 1.1.3 CATEGORIES= math ruby MASTER_SITES= http://www.tinyforest.gr.jp/ruby/ -PKGNAMEPREFIX= ruby- +PKGNAMEPREFIX= ${RUBY_PKGNAMEPREFIX} DIST_SUBDIR= ruby MAINTAINER= knu@FreeBSD.org -BUILD_DEPENDS= ruby:${PORTSDIR}/lang/ruby -RUN_DEPENDS= ruby:${PORTSDIR}/lang/ruby - -INSTALL_TARGET= site-install +USE_RUBY= yes +USE_RUBY_EXTCONF= yes NO_WRKSUBDIR= yes -PLIST_SUB= RUBY_VER="${RUBY_VER}" RUBY_ARCH="${RUBY_ARCH}" - -RUBY?= ${LOCALBASE}/bin/ruby -RUBY_VER?= 1.4 -RUBY_ARCH?= ${ARCH}-freebsd${OSREL} - -do-configure: - @cd ${WRKSRC}; ${SETENV} ${CONFIGURE_ENV} ${RUBY} extconf.rb +INSTALL_TARGET= site-install post-install: .if !defined(NOPORTDOCS) - ${MKDIR} ${PREFIX}/share/doc/ruby/bigfloat/ja + ${MKDIR} ${RUBY_DOCDIR}/bigfloat/ja ${INSTALL_DATA} ${WRKSRC}/README ${WRKSRC}/bigfloat_en.html \ - ${PREFIX}/share/doc/ruby/bigfloat + ${RUBY_DOCDIR}/bigfloat ${INSTALL_DATA} ${WRKSRC}/bigfloat.html \ - ${PREFIX}/share/doc/ruby/bigfloat/ja + ${RUBY_DOCDIR}/bigfloat/ja .endif -.include <bsd.port.mk> +.include <bsd.port.pre.mk> +.include "${PORTSDIR}/Mk/bsd.ruby.mk" +.include <bsd.port.post.mk> diff --git a/math/ruby-bigfloat/pkg-plist b/math/ruby-bigfloat/pkg-plist index 95ea4b50eb9e..ed11dacc362b 100644 --- a/math/ruby-bigfloat/pkg-plist +++ b/math/ruby-bigfloat/pkg-plist @@ -1,6 +1,6 @@ -lib/ruby/site_ruby/%%RUBY_VER%%/%%RUBY_ARCH%%/BigFloat.so -share/doc/ruby/bigfloat/ja/bigfloat.html -share/doc/ruby/bigfloat/README -share/doc/ruby/bigfloat/bigfloat_en.html -@dirrm share/doc/ruby/bigfloat/ja -@dirrm share/doc/ruby/bigfloat +%%RUBY_SITEARCHLIBDIR%%/BigFloat.so +%%RUBY_DOCDIR%%/bigfloat/ja/bigfloat.html +%%RUBY_DOCDIR%%/bigfloat/README +%%RUBY_DOCDIR%%/bigfloat/bigfloat_en.html +@dirrm %%RUBY_DOCDIR%%/bigfloat/ja +@dirrm %%RUBY_DOCDIR%%/bigfloat |