From cba1dd73198be0721c05d6097d87a3879a63848e Mon Sep 17 00:00:00 2001 From: Akinori MUSHA Date: Mon, 7 Aug 2000 06:09:19 +0000 Subject: Add Ruby related ports. devel/ruby-property: Simple properties scheme for Ruby lang/ruby-python: Ruby extension library for embedding Python in Ruby math/ruby-bigfloat: Variable precision floating library for Ruby Whipped on by: ade :> --- devel/ruby-property/Makefile | 43 +++++++++++++++++++++++++++++++++++++++++++ 1 file changed, 43 insertions(+) create mode 100644 devel/ruby-property/Makefile (limited to 'devel/ruby-property/Makefile') diff --git a/devel/ruby-property/Makefile b/devel/ruby-property/Makefile new file mode 100644 index 000000000000..2390878e7a1a --- /dev/null +++ b/devel/ruby-property/Makefile @@ -0,0 +1,43 @@ +# New ports collection makefile for: Ruby-property +# Date created: 7 Aug 2000 +# Whom: Akinori MUSHA aka knu +# +# $FreeBSD$ +# + +PORTNAME= property +PORTVERSION= 19990308 +CATEGORIES= devel # ruby +MASTER_SITES= http://www.ueda.info.waseda.ac.jp/~igarashi/ruby/ +PKGNAMEPREFIX= ruby- +DISTNAME= ${PKGNAMEPREFIX}${PORTNAME}-${PORTVERSION} + +MAINTAINER= knu@FreeBSD.org + +RUN_DEPENDS= ruby:${PORTSDIR}/lang/ruby + +NO_BUILD= yes + +WRKSRC= ${WRKDIR}/${PORTNAME} +PLIST_SUB= RUBY_VER="${RUBY_VER}" RUBY_ARCH="${RUBY_ARCH}" + +RUBY= ${LOCALBASE}/bin/ruby +RUBY_VER= 1.4 +RUBY_ARCH= ${ARCH}-freebsd${OSREL} + +post-patch: + ${PERL} -i -pe 's|rubyapi.css|../rubyapi.css|g' ${WRKSRC}/Properties-ja.html + +do-install: + ${INSTALL_DATA} ${WRKSRC}/property.rb ${PREFIX}/lib/ruby/${RUBY_VER} +.if !defined(NOPORTDOCS) + ${MKDIR} ${PREFIX}/share/doc/ruby/property/ja +.for f in property-example.rb test.default property.README Properties.html rubyapi.css + ${INSTALL_DATA} ${WRKSRC}/${f} ${PREFIX}/share/doc/ruby/property +.endfor +.for f in property.README.ja Properties-ja.html + ${INSTALL_DATA} ${WRKSRC}/${f} ${PREFIX}/share/doc/ruby/property/ja +.endfor +.endif + +.include -- cgit v1.2.3