mirror of
https://git.freebsd.org/ports.git
synced 2025-06-01 02:46:27 -04:00
erbscan is ERB::Compiler accelerator
8 times faster than erb.rb(Ruby1.8.0) require "erb" # slow require "erb_fast" # FAST!!!! Author: MoonWolf <moonwolf@moonwolf.com> WWW: http://raa.ruby-lang.org/project/erbscan/ PR: ports/15622 Submitted by: Shinsuke Matsui (<smatsui at karashi.org>)
This commit is contained in:
parent
5260088d31
commit
f2841be73a
Notes:
svn2git
2021-03-31 03:12:20 +00:00
svn path=/head/; revision=177542
5 changed files with 57 additions and 0 deletions
|
@ -785,6 +785,7 @@
|
|||
SUBDIR += ruby-amrita
|
||||
SUBDIR += ruby-csv
|
||||
SUBDIR += ruby-diff
|
||||
SUBDIR += ruby-erbscan
|
||||
SUBDIR += ruby-format
|
||||
SUBDIR += ruby-formvalidator
|
||||
SUBDIR += ruby-gdome
|
||||
|
|
40
textproc/ruby-erbscan/Makefile
Normal file
40
textproc/ruby-erbscan/Makefile
Normal file
|
@ -0,0 +1,40 @@
|
|||
# New ports collection makefile for: erbscan
|
||||
# Date created: 17 November 2006
|
||||
# Whom: Shinsuke Matsui (<smatsui@karashi.org>)
|
||||
#
|
||||
# $FreeBSD$
|
||||
#
|
||||
|
||||
PORTNAME= erbscan
|
||||
PORTVERSION= 0.0.20030723b
|
||||
CATEGORIES= textproc ruby
|
||||
MASTER_SITES= http://raa.ruby-lang.org/cache/erbscan/
|
||||
PKGNAMEPREFIX= ${RUBY_PKGNAMEPREFIX}
|
||||
DIST_SUBDIR= ruby
|
||||
|
||||
MAINTAINER= smatsui@karashi.org
|
||||
COMMENT= ERB compiler accelerator
|
||||
|
||||
USE_RUBY= yes
|
||||
USE_RUBY_EXTCONF= yes
|
||||
|
||||
INSTALL_TARGET= site-install
|
||||
|
||||
RUBY_REQUIRE= Ruby > 180
|
||||
|
||||
.include <bsd.port.pre.mk>
|
||||
|
||||
.if !defined(RUBY_PROVIDED)
|
||||
IGNORE= only works with Ruby 1.8.0 or later
|
||||
.endif
|
||||
|
||||
post-patch:
|
||||
@${RUBY} -i -pe 'sub(/malloc\.h/, "stdlib.h")' ${WRKSRC}/erbscan.c
|
||||
|
||||
post-install:
|
||||
.if !defined(NOPORTDOCS)
|
||||
@${MKDIR} ${RUBY_MODDOCDIR}/ja
|
||||
${INSTALL_DATA} ${WRKSRC}/README.ja ${RUBY_MODDOCDIR}/ja/
|
||||
.endif
|
||||
|
||||
.include <bsd.port.post.mk>
|
3
textproc/ruby-erbscan/distinfo
Normal file
3
textproc/ruby-erbscan/distinfo
Normal file
|
@ -0,0 +1,3 @@
|
|||
MD5 (ruby/erbscan-0.0.20030723b.tar.gz) = 4cb90f38ae22f603079921e124f85888
|
||||
SHA256 (ruby/erbscan-0.0.20030723b.tar.gz) = e9986735207357c634a4b85ba22722b7fb20f92f5f4a89d4e5318083d9854b37
|
||||
SIZE (ruby/erbscan-0.0.20030723b.tar.gz) = 3207
|
8
textproc/ruby-erbscan/pkg-descr
Normal file
8
textproc/ruby-erbscan/pkg-descr
Normal file
|
@ -0,0 +1,8 @@
|
|||
erbscan is ERB::Compiler accelerator
|
||||
8 times faster than erb.rb(Ruby1.8.0)
|
||||
|
||||
require "erb" # slow
|
||||
require "erb_fast" # FAST!!!!
|
||||
|
||||
Author: MoonWolf <moonwolf@moonwolf.com>
|
||||
WWW: http://raa.ruby-lang.org/project/erbscan/
|
5
textproc/ruby-erbscan/pkg-plist
Normal file
5
textproc/ruby-erbscan/pkg-plist
Normal file
|
@ -0,0 +1,5 @@
|
|||
%%RUBY_SITEARCHLIBDIR%%/erbscan.so
|
||||
%%RUBY_SITELIBDIR%%/erb_fast.rb
|
||||
%%PORTDOCS%%%%RUBY_MODDOCDIR%%/ja/README.ja
|
||||
%%PORTDOCS%%@dirrm %%RUBY_MODDOCDIR%%/ja
|
||||
%%PORTDOCS%%@dirrm %%RUBY_MODDOCDIR%%
|
Loading…
Add table
Reference in a new issue