Add ruby-format (FormatR), which provides Perl like formats for Ruby.

This commit is contained in:
Akinori MUSHA 2001-09-20 11:17:57 +00:00
parent 14a204b036
commit 7a0aafe69e
Notes: svn2git 2021-03-31 03:12:20 +00:00
svn path=/head/; revision=48011
6 changed files with 54 additions and 0 deletions

View File

@ -168,6 +168,7 @@
SUBDIR += rtf2htm
SUBDIR += ruby-csv
SUBDIR += ruby-erb
SUBDIR += ruby-format
SUBDIR += ruby-gdome
SUBDIR += ruby-html-parser
SUBDIR += ruby-htmlcompact

View File

@ -0,0 +1,39 @@
# New ports collection makefile for: FormatR
# Date created: 20 September 2001
# Whom: Akinori MUSHA aka knu <knu@idaemons.org>
#
# $FreeBSD$
#
PORTNAME= format
PORTVERSION= 0.9
CATEGORIES= textproc ruby
MASTER_SITES= http://www.crhc.uiuc.edu/~rubel/
PKGNAMEPREFIX= ${RUBY_PKGNAMEPREFIX}
DISTNAME= FormatR
DIST_SUBDIR= ruby
MAINTAINER= knu@FreeBSD.org
USE_RUBY= yes
.if !defined(NOPORTDOCS)
USE_RUBY_RD= yes
.endif
NO_WRKSUBDIR= yes
do-build:
.if !defined(NOPORTDOCS)
cd ${WRKSRC}; ${RUBY_RD} format.rb > format.html
.endif
do-install:
${INSTALL_DATA} ${WRKSRC}/format.rb ${RUBY_SITELIBDIR}/
.if !defined(NOPORTDOCS)
${MKDIR} ${RUBY_EXAMPLESDIR}/${PORTNAME}
${INSTALL_DATA} ${WRKSRC}/test_format.rb ${RUBY_EXAMPLESDIR}/${PORTNAME}/
${MKDIR} ${RUBY_DOCDIR}/${PORTNAME}
${INSTALL_DATA} ${WRKSRC}/format.html ${RUBY_DOCDIR}/${PORTNAME}/
.endif
.include <bsd.port.mk>

View File

@ -0,0 +1 @@
MD5 (ruby/FormatR.tar.gz) = 87becd78b1c4ccb3d47496c2b78915a8

View File

@ -0,0 +1 @@
Perl like formats for Ruby

View File

@ -0,0 +1,7 @@
Class Format in module FormatR provides Perl like formats for Ruby.
These are used to create output with a similar format but with
changing values.
Author: Paul Rubel <rubel@crhc.uiuc.edu>
WWW: http://www.crhc.uiuc.edu/~rubel/FormatR.html

View File

@ -0,0 +1,5 @@
%%RUBY_SITELIBDIR%%/format.rb
%%PORTDOCS%%%%RUBY_EXAMPLESDIR%%/format/test_format.rb
%%PORTDOCS%%@dirrm %%RUBY_EXAMPLESDIR%%/format
%%PORTDOCS%%%%RUBY_DOCDIR%%/format/format.html
%%PORTDOCS%%@dirrm %%RUBY_DOCDIR%%/format