diff options
author | knu <knu@FreeBSD.org> | 2000-08-07 14:09:19 +0800 |
---|---|---|
committer | knu <knu@FreeBSD.org> | 2000-08-07 14:09:19 +0800 |
commit | 21e0aafdec2b797115e389ed834185e0d8487df0 (patch) | |
tree | f036d217a2f4d96f94856b2f2301d44e2634ad62 /lang/ruby-python/Makefile | |
parent | 864d97a9d80edf3860202b9b6ced170de074a024 (diff) | |
download | freebsd-ports-gnome-21e0aafdec2b797115e389ed834185e0d8487df0.tar.gz freebsd-ports-gnome-21e0aafdec2b797115e389ed834185e0d8487df0.tar.zst freebsd-ports-gnome-21e0aafdec2b797115e389ed834185e0d8487df0.zip |
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 :>
Diffstat (limited to 'lang/ruby-python/Makefile')
-rw-r--r-- | lang/ruby-python/Makefile | 44 |
1 files changed, 44 insertions, 0 deletions
diff --git a/lang/ruby-python/Makefile b/lang/ruby-python/Makefile new file mode 100644 index 000000000000..c758e43634bf --- /dev/null +++ b/lang/ruby-python/Makefile @@ -0,0 +1,44 @@ +# New ports collection makefile for: Ruby/Python +# Date created: 7 Aug 2000 +# Whom: Akinori MUSHA aka knu <knu@idaemons.org> +# +# $FreeBSD$ +# + +PORTNAME= python +PORTVERSION= 0.3.2 +CATEGORIES= lang # ruby +MASTER_SITES= http://www.goto.info.waseda.ac.jp/~fukusima/ruby/ +PKGNAMEPREFIX= ruby- +DISTNAME= ${PKGNAMEPREFIX}${PORTNAME}-${PORTVERSION} + +MAINTAINER= knu@FreeBSD.org + +BUILD_DEPENDS= ruby:${PORTSDIR}/lang/ruby \ + python:${PORTSDIR}/lang/python +RUN_DEPENDS= ruby:${PORTSDIR}/lang/ruby \ + python:${PORTSDIR}/lang/python + +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} + +do-configure: + @cd ${WRKSRC}; ${SETENV} ${CONFIGURE_ENV} ${RUBY} extconf.rb; \ + ${PERL} -i -pe 's/-lc\b/-lc_r/g' Makefile + +post-install: +.if !defined(NOPORTDOCS) + ${MKDIR} ${PREFIX}/share/doc/ruby/python/examples/Lib + ${MKDIR} ${PREFIX}/share/doc/ruby/python/ja + cd ${WRKSRC}; find examples -exec ${INSTALL_DATA} {} ${PREFIX}/share/doc/ruby/python/{} \; + ${INSTALL_DATA} ${WRKSRC}/ChangeLog ${WRKSRC}/README ${WRKSRC}/doc/* \ + ${PREFIX}/share/doc/ruby/python/ + ${INSTALL_DATA} ${WRKSRC}/README.ja ${WRKSRC}/doc-ja/* \ + ${PREFIX}/share/doc/ruby/python/ja/ +.endif + +.include <bsd.port.mk> |