freebsd-ports/devel/ruby-metaruby/Makefile

39 lines
867 B
Makefile
Raw Normal View History

# New ports collection makefile for: MetaRuby
# Date created: 8 March 2001
# Whom: Akinori MUSHA aka knu <knu@idaemons.org>
#
# $FreeBSD$
#
PORTNAME= metaruby
2001-03-19 02:14:17 -05:00
PORTVERSION= 0.6
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>