1
0
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:
Akinori MUSHA 2001-07-20 09:11:46 +00:00
parent 172b30f771
commit 867a6ea981
Notes: svn2git 2021-03-31 03:12:20 +00:00
svn path=/head/; revision=45273
6 changed files with 60 additions and 0 deletions

View File

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

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

View File

@ -0,0 +1 @@
MD5 (ruby/flex_rb-0.10.tar.gz) = 54a5f2fcf59e2e1663d3f4e7e9b3248e

View File

@ -0,0 +1 @@
Ruby flex regular expression matching extension

View 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/

View 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