1
0
mirror of https://git.FreeBSD.org/ports.git synced 2024-10-27 21:29:02 +00:00
freebsd-ports/devel/ruby-metaruby/Makefile
2001-03-19 07:14:17 +00:00

39 lines
867 B
Makefile

# New ports collection makefile for: MetaRuby
# Date created: 8 March 2001
# Whom: Akinori MUSHA aka knu <knu@idaemons.org>
#
# $FreeBSD$
#
PORTNAME= metaruby
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>