diff options
author | knu <knu@FreeBSD.org> | 2003-08-23 07:27:47 +0800 |
---|---|---|
committer | knu <knu@FreeBSD.org> | 2003-08-23 07:27:47 +0800 |
commit | 501e3a40b01fd99d567816b87a34cd586cc13ac3 (patch) | |
tree | cb7794913a330b15e1e9ad351fc1c653a2c7ebbd /math/ruby-gmp/Makefile | |
parent | 3c8b35c29c053bb9fad518c75fce2fe941603fb6 (diff) | |
download | freebsd-ports-gnome-501e3a40b01fd99d567816b87a34cd586cc13ac3.tar.gz freebsd-ports-gnome-501e3a40b01fd99d567816b87a34cd586cc13ac3.tar.zst freebsd-ports-gnome-501e3a40b01fd99d567816b87a34cd586cc13ac3.zip |
Add ruby-gmp (libgmp-ruby), Ruby bindings to GNU Multiprecision
Library.
Diffstat (limited to 'math/ruby-gmp/Makefile')
-rw-r--r-- | math/ruby-gmp/Makefile | 37 |
1 files changed, 37 insertions, 0 deletions
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> |