mirror of
https://git.FreeBSD.org/ports.git
synced 2024-11-27 00:57:50 +00:00
Add flex_rb, Ruby flex regular expression matching extension.
This commit is contained in:
parent
172b30f771
commit
867a6ea981
Notes:
svn2git
2021-03-31 03:12:20 +00:00
svn path=/head/; revision=45273
@ -452,6 +452,7 @@
|
||||
SUBDIR += ruby-dialogs
|
||||
SUBDIR += ruby-dl
|
||||
SUBDIR += ruby-filelock
|
||||
SUBDIR += ruby-flex_rb
|
||||
SUBDIR += ruby-fnmatch
|
||||
SUBDIR += ruby-gemfinder
|
||||
SUBDIR += ruby-intl
|
||||
|
40
devel/ruby-flex_rb/Makefile
Normal file
40
devel/ruby-flex_rb/Makefile
Normal file
@ -0,0 +1,40 @@
|
||||
# New ports collection makefile for: flex_rb
|
||||
# Date created: 20 July 2001
|
||||
# Whom: Akinori MUSHA aka knu <knu@idaemons.org>
|
||||
#
|
||||
# $FreeBSD$
|
||||
#
|
||||
|
||||
PORTNAME= flex_rb
|
||||
PORTVERSION= 0.10
|
||||
CATEGORIES= devel ruby
|
||||
MASTER_SITES= http://www.inf.bme.hu/~pts/
|
||||
PKGNAMEPREFIX= ${RUBY_PKGNAMEPREFIX}
|
||||
DIST_SUBDIR= ruby
|
||||
|
||||
MAINTAINER= knu@FreeBSD.org
|
||||
|
||||
USE_RUBY= yes
|
||||
USE_RUBY_EXTCONF= yes
|
||||
|
||||
INSTALL_TARGET= site-install
|
||||
|
||||
DOCS= README
|
||||
EXAMPLES= examples/*.rb test*.rb
|
||||
|
||||
post-patch:
|
||||
${RUBY} -i -pe 'gsub /-ansi\b/, ""' ${WRKSRC}/${RUBY_EXTCONF}
|
||||
|
||||
post-install:
|
||||
.if !defined(NOPORTDOCS)
|
||||
${MKDIR} ${RUBY_EXAMPLESDIR}/${PORTNAME}
|
||||
.for f in ${EXAMPLES}
|
||||
${INSTALL_DATA} ${WRKSRC}/${f} ${RUBY_EXAMPLESDIR}/${PORTNAME}/
|
||||
.endfor
|
||||
${MKDIR} ${RUBY_DOCDIR}/${PORTNAME}
|
||||
.for f in ${DOCS}
|
||||
${INSTALL_DATA} ${WRKSRC}/${f} ${RUBY_DOCDIR}/${PORTNAME}/
|
||||
.endfor
|
||||
.endif
|
||||
|
||||
.include <bsd.port.mk>
|
1
devel/ruby-flex_rb/distinfo
Normal file
1
devel/ruby-flex_rb/distinfo
Normal file
@ -0,0 +1 @@
|
||||
MD5 (ruby/flex_rb-0.10.tar.gz) = 54a5f2fcf59e2e1663d3f4e7e9b3248e
|
1
devel/ruby-flex_rb/pkg-comment
Normal file
1
devel/ruby-flex_rb/pkg-comment
Normal file
@ -0,0 +1 @@
|
||||
Ruby flex regular expression matching extension
|
4
devel/ruby-flex_rb/pkg-descr
Normal file
4
devel/ruby-flex_rb/pkg-descr
Normal file
@ -0,0 +1,4 @@
|
||||
flex_rb is Ruby flex regular expression matching extension.
|
||||
|
||||
Author: Szabo Peter <pts@fazekas.hu>
|
||||
WWW: http://www.inf.bme.hu/~pts/
|
13
devel/ruby-flex_rb/pkg-plist
Normal file
13
devel/ruby-flex_rb/pkg-plist
Normal file
@ -0,0 +1,13 @@
|
||||
%%RUBY_SITEARCHLIBDIR%%/flex.so
|
||||
%%RUBY_SITELIBDIR%%/flex2.rb
|
||||
%%PORTDOCS%%%%RUBY_EXAMPLESDIR%%/flex_rb/ex_fr.rb
|
||||
%%PORTDOCS%%%%RUBY_EXAMPLESDIR%%/flex_rb/ex_rr.rb
|
||||
%%PORTDOCS%%%%RUBY_EXAMPLESDIR%%/flex_rb/test01.rb
|
||||
%%PORTDOCS%%%%RUBY_EXAMPLESDIR%%/flex_rb/test02.rb
|
||||
%%PORTDOCS%%%%RUBY_EXAMPLESDIR%%/flex_rb/test03.rb
|
||||
%%PORTDOCS%%%%RUBY_EXAMPLESDIR%%/flex_rb/test04.rb
|
||||
%%PORTDOCS%%@dirrm %%RUBY_EXAMPLESDIR%%/flex_rb
|
||||
%%PORTDOCS%%@unexec rmdir %D/%%RUBY_EXAMPLESDIR%% 2>/dev/null || true
|
||||
%%PORTDOCS%%%%RUBY_DOCDIR%%/flex_rb/README
|
||||
%%PORTDOCS%%@dirrm %%RUBY_DOCDIR%%/flex_rb
|
||||
%%PORTDOCS%%@unexec rmdir %D/%%RUBY_DOCDIR%% 2>/dev/null || true
|
Loading…
Reference in New Issue
Block a user