mirror of
https://git.FreeBSD.org/ports.git
synced 2024-11-23 00:43:28 +00:00
Add ruby-perl, a Ruby extension module to use the functions of Perl from Ruby.
This commit is contained in:
parent
b109c0ee3a
commit
eeef61ccb3
Notes:
svn2git
2021-03-31 03:12:20 +00:00
svn path=/head/; revision=31520
@ -96,6 +96,7 @@
|
||||
SUBDIR += python-doc-postscript-letter
|
||||
SUBDIR += rexx-imc
|
||||
SUBDIR += ruby
|
||||
SUBDIR += ruby-perl
|
||||
SUBDIR += ruby-python
|
||||
SUBDIR += scheme48
|
||||
SUBDIR += schemetoc
|
||||
|
56
lang/ruby-perl/Makefile
Normal file
56
lang/ruby-perl/Makefile
Normal file
@ -0,0 +1,56 @@
|
||||
# New ports collection makefile for: Ruby-perl
|
||||
# Date created: 11 Aug 2000
|
||||
# Whom: Akinori MUSHA aka knu <knu@idaemons.org>
|
||||
#
|
||||
# $FreeBSD$
|
||||
#
|
||||
|
||||
PORTNAME= perl
|
||||
PORTVERSION= 0.2.5
|
||||
CATEGORIES= lang # ruby
|
||||
MASTER_SITES= http://www.bekkoame.ne.jp/~yoshidam/
|
||||
PKGNAMEPREFIX= ruby-
|
||||
DIST_SUBDIR= ruby
|
||||
|
||||
MAINTAINER= knu@FreeBSD.org
|
||||
|
||||
BUILD_DEPENDS= ruby:${PORTSDIR}/lang/ruby
|
||||
RUN_DEPENDS= ruby:${PORTSDIR}/lang/ruby
|
||||
|
||||
INSTALL_TARGET= site-install
|
||||
|
||||
WRKSRC= ${WRKDIR}/${PORTNAME}
|
||||
PLIST_SUB= RUBY_VER="${RUBY_VER}" RUBY_ARCH="${RUBY_ARCH}"
|
||||
|
||||
USE_PERL5= yes
|
||||
|
||||
RUBY= ${LOCALBASE}/bin/ruby
|
||||
RUBY_VER= 1.4
|
||||
RUBY_ARCH= ${ARCH}-freebsd${OSREL}
|
||||
|
||||
EXAMPLES= htmlparse.rb http.rb perllib.rb ping.rb \
|
||||
test.rb xmlparser.rb
|
||||
|
||||
do-configure:
|
||||
@cd ${WRKSRC}; \
|
||||
${SETENV} ${CONFIGURE_ENV} ${RUBY} extconf.rb
|
||||
@cd ${WRKSRC}/Ruby; \
|
||||
${PERL} Makefile.PL
|
||||
|
||||
post-build:
|
||||
@cd ${WRKSRC}/Ruby; \
|
||||
${SETENV} ${MAKE_ENV} ${MAKE} ${MAKE_FLAGS} ${MAKEFILE}
|
||||
|
||||
post-install:
|
||||
@cd ${WRKSRC}/Ruby; \
|
||||
${SETENV} ${MAKE_ENV} ${MAKE} ${MAKE_FLAGS} ${MAKEFILE} install
|
||||
${MKDIR} ${PREFIX}/share/examples/ruby/perl
|
||||
.for f in ${EXAMPLES}
|
||||
${INSTALL_DATA} ${WRKSRC}/samples/${f} ${PREFIX}/share/examples/ruby/perl/
|
||||
.endfor
|
||||
.if !defined(NOPORTDOCS)
|
||||
${MKDIR} ${PREFIX}/share/doc/ruby/perl/ja
|
||||
${INSTALL_DATA} ${WRKSRC}/README.ja ${PREFIX}/share/doc/ruby/perl/ja/
|
||||
.endif
|
||||
|
||||
.include <bsd.port.mk>
|
1
lang/ruby-perl/distinfo
Normal file
1
lang/ruby-perl/distinfo
Normal file
@ -0,0 +1 @@
|
||||
MD5 (ruby/perl-0.2.5.tar.gz) = e559aefca3e8a24475351e4df0be6232
|
1
lang/ruby-perl/pkg-comment
Normal file
1
lang/ruby-perl/pkg-comment
Normal file
@ -0,0 +1 @@
|
||||
A Ruby extension module to use the functions of Perl from Ruby
|
5
lang/ruby-perl/pkg-descr
Normal file
5
lang/ruby-perl/pkg-descr
Normal file
@ -0,0 +1,5 @@
|
||||
This is a Ruby extension module to use the functions of Perl from Ruby.
|
||||
|
||||
You can also call Ruby functions back from within the Perl code.
|
||||
|
||||
WWW: http://www.bekkoame.ne.jp/~yoshidam/Ruby.html#perl
|
16
lang/ruby-perl/pkg-plist
Normal file
16
lang/ruby-perl/pkg-plist
Normal file
@ -0,0 +1,16 @@
|
||||
lib/ruby/site_ruby/%%RUBY_VER%%/%%RUBY_ARCH%%/perl.so
|
||||
share/examples/ruby/perl/htmlparse.rb
|
||||
share/examples/ruby/perl/http.rb
|
||||
share/examples/ruby/perl/perllib.rb
|
||||
share/examples/ruby/perl/ping.rb
|
||||
share/examples/ruby/perl/test.rb
|
||||
share/examples/ruby/perl/xmlparser.rb
|
||||
@dirrm share/examples/ruby/perl
|
||||
share/doc/ruby/perl/ja/README.ja
|
||||
@dirrm share/doc/ruby/perl/ja
|
||||
@dirrm share/doc/ruby/perl
|
||||
lib/perl5/site_perl/%%PERL_VER%%/%%PERL_ARCH%%/Ruby.pm
|
||||
lib/perl5/site_perl/%%PERL_VER%%/%%PERL_ARCH%%/auto/Ruby/.packlist
|
||||
lib/perl5/site_perl/%%PERL_VER%%/%%PERL_ARCH%%/auto/Ruby/Ruby.bs
|
||||
lib/perl5/site_perl/%%PERL_VER%%/%%PERL_ARCH%%/auto/Ruby/Ruby.so
|
||||
@dirrm lib/perl5/site_perl/%%PERL_VER%%/%%PERL_ARCH%%/auto/Ruby
|
Loading…
Reference in New Issue
Block a user