diff options
author | Akinori MUSHA <knu@FreeBSD.org> | 2003-08-22 23:27:47 +0000 |
---|---|---|
committer | Akinori MUSHA <knu@FreeBSD.org> | 2003-08-22 23:27:47 +0000 |
commit | 0d64d8bed294f683b6d98958201a85c09f4306f9 (patch) | |
tree | 2b90e6933c9922f3a9e93d19cbbef0e5933e4a01 | |
parent | Update to 0.5.0. (diff) |
Add ruby-gmp (libgmp-ruby), Ruby bindings to GNU Multiprecision
Library.
Notes
Notes:
svn path=/head/; revision=87532
-rw-r--r-- | math/Makefile | 1 | ||||
-rw-r--r-- | math/ruby-gmp/Makefile | 37 | ||||
-rw-r--r-- | math/ruby-gmp/distinfo | 1 | ||||
-rw-r--r-- | math/ruby-gmp/pkg-descr | 4 | ||||
-rw-r--r-- | math/ruby-gmp/pkg-plist | 6 |
5 files changed, 49 insertions, 0 deletions
diff --git a/math/Makefile b/math/Makefile index bb01652f71fb..e3b1906290a7 100644 --- a/math/Makefile +++ b/math/Makefile @@ -150,6 +150,7 @@ SUBDIR += rpc SUBDIR += ruby-algebra SUBDIR += ruby-bitvector + SUBDIR += ruby-gmp SUBDIR += ruby-gnuplot SUBDIR += ruby-gsl SUBDIR += ruby-math3d diff --git a/math/ruby-gmp/Makefile b/math/ruby-gmp/Makefile new file mode 100644 index 000000000000..a48c3c73b4a1 --- /dev/null +++ b/math/ruby-gmp/Makefile @@ -0,0 +1,37 @@ +# New ports collection makefile for: libgmp-ruby +# Date created: 23 August 2003 +# Whom: Akinori MUSHA aka knu <knu@idaemons.org> +# +# $FreeBSD$ +# + +PORTNAME= gmp +PORTVERSION= 1.0 +CATEGORIES= math ruby +MASTER_SITES= http://synapsa.infoland.int.pl/~taw/libgmp-ruby/ +PKGNAMEPREFIX= ${RUBY_PKGNAMEPREFIX} +DISTNAME= lib${PORTNAME}-ruby_${PORTVERSION} +DIST_SUBDIR= ruby + +MAINTAINER= knu@FreeBSD.org +COMMENT= Ruby bindings to GNU Multiprecision Library + +LIB_DEPENDS= gmp.6:${PORTSDIR}/math/libgmp4 + +USE_RUBY= yes +USE_RUBY_EXTCONF= yes + +WRKSRC= ${WRKDIR}/${DISTNAME:S/_/-/} +INSTALL_TARGET= site-install + +DOCS= ChangeLog README doc/PRECISION doc/TODO + +post-install: +.if !defined(NOPORTDOCS) + ${MKDIR} ${RUBY_MODDOCDIR} +.for f in ${DOCS} + ${INSTALL_DATA} ${WRKSRC}/${f} ${RUBY_MODDOCDIR}/ +.endfor +.endif + +.include <bsd.port.mk> diff --git a/math/ruby-gmp/distinfo b/math/ruby-gmp/distinfo new file mode 100644 index 000000000000..ef43ad221cba --- /dev/null +++ b/math/ruby-gmp/distinfo @@ -0,0 +1 @@ +MD5 (ruby/libgmp-ruby_1.0.tar.gz) = 4595004696b12dcf6b4d87f92f542c59 diff --git a/math/ruby-gmp/pkg-descr b/math/ruby-gmp/pkg-descr new file mode 100644 index 000000000000..5a407a5e90d4 --- /dev/null +++ b/math/ruby-gmp/pkg-descr @@ -0,0 +1,4 @@ +This is Ruby bindings to GNU Multiprecision Library. + +Author: Tomasz Wegrzanowski <taw@users.sf.net> +WWW: http://synapsa.infoland.int.pl/~taw/libgmp-ruby/ diff --git a/math/ruby-gmp/pkg-plist b/math/ruby-gmp/pkg-plist new file mode 100644 index 000000000000..b50854fa3a9d --- /dev/null +++ b/math/ruby-gmp/pkg-plist @@ -0,0 +1,6 @@ +%%RUBY_SITEARCHLIBDIR%%/gmp.so +%%PORTDOCS%%%%RUBY_MODDOCDIR%%/ChangeLog +%%PORTDOCS%%%%RUBY_MODDOCDIR%%/PRECISION +%%PORTDOCS%%%%RUBY_MODDOCDIR%%/README +%%PORTDOCS%%%%RUBY_MODDOCDIR%%/TODO +%%PORTDOCS%%@dirrm %%RUBY_MODDOCDIR%% |