mirror of
https://git.FreeBSD.org/ports.git
synced 2024-10-31 21:57:12 +00:00
51 lines
1.1 KiB
Makefile
51 lines
1.1 KiB
Makefile
# New ports collection makefile for: RubyUnit
|
|
# Date created: 22 Aug 2000
|
|
# Whom: Akinori MUSHA aka knu <knu@idaemons.org>
|
|
#
|
|
# $FreeBSD$
|
|
#
|
|
|
|
PORTNAME= runit
|
|
PORTVERSION= 0.2.5
|
|
CATEGORIES= devel ruby
|
|
MASTER_SITES= http://homepage1.nifty.com/markey/ruby/rubyunit/
|
|
PKGNAMEPREFIX= ${RUBY_PKGNAMEPREFIX}
|
|
DISTNAME= ${PORTNAME:S/^r/ruby/}-${PORTVERSION}
|
|
DIST_SUBDIR= ruby
|
|
|
|
MAINTAINER= knu@FreeBSD.org
|
|
|
|
USE_RUBY= yes
|
|
.if !defined(NOPORTDOCS)
|
|
USE_RUBY_RD= yes
|
|
.endif
|
|
|
|
BINS= c2t runtest
|
|
DOCS= HISTORY 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
|
|
.for f in ${DOCS}
|
|
${INSTALL_DATA} ${WRKSRC}/${f} ${RUBY_DOCDIR}/runit/
|
|
.endfor
|
|
${CP} -R ${WRKSRC}/doc_en/ ${RUBY_DOCDIR}/runit/
|
|
.endif
|
|
|
|
.include <bsd.port.pre.mk>
|
|
.include "${PORTSDIR}/Mk/bsd.ruby.mk"
|
|
.include <bsd.port.post.mk>
|