Add ruby-gmp (libgmp-ruby), Ruby bindings to GNU Multiprecision

Library.
This commit is contained in:
Akinori MUSHA 2003-08-22 23:27:47 +00:00
parent a0c8b8f46b
commit 0d64d8bed2
Notes: svn2git 2021-03-31 03:12:20 +00:00
svn path=/head/; revision=87532
5 changed files with 49 additions and 0 deletions

View file

@ -150,6 +150,7 @@
SUBDIR += rpc
SUBDIR += ruby-algebra
SUBDIR += ruby-bitvector
SUBDIR += ruby-gmp
SUBDIR += ruby-gnuplot
SUBDIR += ruby-gsl
SUBDIR += ruby-math3d

37
math/ruby-gmp/Makefile Normal file
View file

@ -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>

1
math/ruby-gmp/distinfo Normal file
View file

@ -0,0 +1 @@
MD5 (ruby/libgmp-ruby_1.0.tar.gz) = 4595004696b12dcf6b4d87f92f542c59

4
math/ruby-gmp/pkg-descr Normal file
View file

@ -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/

6
math/ruby-gmp/pkg-plist Normal file
View file

@ -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%%