1
0
mirror of https://git.FreeBSD.org/ports.git synced 2024-10-29 21:39:24 +00:00
freebsd-ports/devel/ruby-unit/Makefile
Akinori MUSHA 216ce6086e Rename ruby-runit to ruby-unit after a repocopy.
It is called either RubyUnit or RUnit, so ruby-runit sounds somewhat
verbose.
2001-02-08 09:35:40 +00:00

53 lines
1.2 KiB
Makefile

# New ports collection makefile for: RubyUnit
# Date created: 22 Aug 2000
# Whom: Akinori MUSHA aka knu <knu@idaemons.org>
#
# $FreeBSD$
#
PORTNAME= unit
PORTVERSION= 0.3.3a
CATEGORIES= devel ruby
MASTER_SITES= http://homepage1.nifty.com/markey/ruby/rubyunit/
PKGNAMEPREFIX= ${RUBY_PKGNAMEPREFIX}
DISTNAME= ruby${PORTNAME}-${PORTVERSION}
DIST_SUBDIR= ruby
MAINTAINER= knu@FreeBSD.org
USE_RUBY= yes
.if !defined(NOPORTDOCS)
USE_RUBY_RD= yes
.endif
RUBY_SHEBANG_FILES= ${WRKSRC}/bin/c2t.rb \
${WRKSRC}/bin/runtest.rb
BINS= c2t runtest
DOCS= ChangeLog README ToDo
do-build:
.if !defined(NOPORTDOCS)
@cd ${WRKSRC}; \
${SETENV} ${MAKE_ENV} ${RUBY} makehtml.rb
.endif
do-install:
@cd ${WRKSRC}; \
${SETENV} ${MAKE_ENV} ${RUBY} install.rb
.for f in ${BINS}
${LN} -sf ${f}.rb ${PREFIX}/bin/${f}
.endfor
.if !defined(NOPORTDOCS)
${MKDIR} ${RUBY_EXAMPLESDIR}/runit
${CP} -R ${WRKSRC}/sample/ ${RUBY_EXAMPLESDIR}/runit/
${MKDIR} ${RUBY_DOCDIR}/runit/ja
.for f in ${DOCS}
${INSTALL_DATA} ${WRKSRC}/${f} ${RUBY_DOCDIR}/runit/
.endfor
${CP} -R ${WRKSRC}/doc_en/ ${RUBY_DOCDIR}/runit/
${CP} -R ${WRKSRC}/doc_ja/ ${RUBY_DOCDIR}/runit/ja/
.endif
.include <bsd.port.mk>