diff options
Diffstat (limited to 'devel/ruby-metaruby/Makefile')
-rw-r--r-- | devel/ruby-metaruby/Makefile | 38 |
1 files changed, 38 insertions, 0 deletions
diff --git a/devel/ruby-metaruby/Makefile b/devel/ruby-metaruby/Makefile new file mode 100644 index 000000000000..9dd575d4659c --- /dev/null +++ b/devel/ruby-metaruby/Makefile @@ -0,0 +1,38 @@ +# New ports collection makefile for: MetaRuby +# Date created: 8 March 2001 +# Whom: Akinori MUSHA aka knu <knu@idaemons.org> +# +# $FreeBSD$ +# + +PORTNAME= metaruby +PORTVERSION= 0.5 +CATEGORIES= devel ruby +MASTER_SITES= http://hostname.2y.net/~matju/MetaRuby/ +PKGNAMEPREFIX= ${RUBY_PKGNAMEPREFIX} +DISTNAME= MetaRuby-${PORTVERSION} +DIST_SUBDIR= ruby + +MAINTAINER= knu@FreeBSD.org + +USE_RUBY= yes + +NO_BUILD= yes + +DOCS= ChangeLog Overview TODO + +post-patch: + ${RUBY} -i -ne '%r|^\$$: <<| or print' ${WRKSRC}/samples/* + +do-install: + ${INSTALL_DATA} ${WRKSRC}/lib/* ${RUBY_SITELIBDIR}/ +.if !defined(NOPORTDOCS) + ${MKDIR} ${RUBY_EXAMPLESDIR}/${PORTNAME} + ${INSTALL_DATA} ${WRKSRC}/samples/* ${RUBY_EXAMPLESDIR}/${PORTNAME}/ + ${MKDIR} ${RUBY_DOCDIR}/${PORTNAME} +.for f in ${DOCS} + ${INSTALL_DATA} ${WRKSRC}/${f} ${RUBY_DOCDIR}/${PORTNAME}/ +.endfor +.endif + +.include <bsd.port.mk> |