1
0
mirror of https://git.FreeBSD.org/ports.git synced 2024-11-05 22:43:24 +00:00
freebsd-ports/lang/ruby-python/Makefile
Akinori MUSHA cba1dd7319 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	:>
2000-08-07 06:09:19 +00:00

45 lines
1.3 KiB
Makefile

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