diff options
author | Akinori MUSHA <knu@FreeBSD.org> | 2001-09-20 11:17:57 +0000 |
---|---|---|
committer | Akinori MUSHA <knu@FreeBSD.org> | 2001-09-20 11:17:57 +0000 |
commit | 7a0aafe69ec9afff1b0b6debe9c3a10ed2ddbfde (patch) | |
tree | 82683badcfda42d6e08b20154955de586dcd238f /textproc/ruby-format/Makefile | |
parent | 14a204b036667121a907cbc5aee5465515e545a5 (diff) |
Add ruby-format (FormatR), which provides Perl like formats for Ruby.
Notes
Notes:
svn path=/head/; revision=48011
Diffstat (limited to 'textproc/ruby-format/Makefile')
-rw-r--r-- | textproc/ruby-format/Makefile | 39 |
1 files changed, 39 insertions, 0 deletions
diff --git a/textproc/ruby-format/Makefile b/textproc/ruby-format/Makefile new file mode 100644 index 000000000000..8c19cc3ab6b2 --- /dev/null +++ b/textproc/ruby-format/Makefile @@ -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> |