Add ruby-format (FormatR), which provides Perl like formats for Ruby.
This commit is contained in:
parent
14a204b036
commit
7a0aafe69e
Notes:
svn2git
2021-03-31 03:12:20 +00:00
svn path=/head/; revision=48011
@ -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
|
||||
|
39
textproc/ruby-format/Makefile
Normal file
39
textproc/ruby-format/Makefile
Normal 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>
|
1
textproc/ruby-format/distinfo
Normal file
1
textproc/ruby-format/distinfo
Normal file
@ -0,0 +1 @@
|
||||
MD5 (ruby/FormatR.tar.gz) = 87becd78b1c4ccb3d47496c2b78915a8
|
1
textproc/ruby-format/pkg-comment
Normal file
1
textproc/ruby-format/pkg-comment
Normal file
@ -0,0 +1 @@
|
||||
Perl like formats for Ruby
|
7
textproc/ruby-format/pkg-descr
Normal file
7
textproc/ruby-format/pkg-descr
Normal 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
|
5
textproc/ruby-format/pkg-plist
Normal file
5
textproc/ruby-format/pkg-plist
Normal 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
|
Loading…
Reference in New Issue
Block a user