freebsd-ports/www/ruby-div/Makefile

33 lines
713 B
Makefile

# New ports collection makefile for: Ruby-Div
# Date created: 10 February 2003
# Whom: Akinori MUSHA aka knu <knu@idaemons.org>
#
# $FreeBSD$
#
PORTNAME= div
PORTVERSION= 1.2.0
CATEGORIES= www ruby
MASTER_SITES= http://www2a.biglobe.ne.jp/~seki/ruby/
PKGNAMEPREFIX= ${RUBY_PKGNAMEPREFIX}
DIST_SUBDIR= ruby
MAINTAINER= knu@FreeBSD.org
COMMENT= A web application server using dRuby and ERB2
USE_RUBY= yes
USE_RUBY_FEATURES= drb erb
NO_BUILD= yes
do-install:
cd ${WRKSRC}; ${RUBY} install.rb
.if !defined(NOPORTDOCS)
${MKDIR} ${RUBY_MODEXAMPLESDIR}
${CP} -R ${WRKSRC}/sample/* ${RUBY_MODEXAMPLESDIR}/
${MKDIR} ${RUBY_MODDOCDIR}
${CP} -R ${WRKSRC}/doc/* ${RUBY_MODDOCDIR}/
.endif
.include <bsd.port.mk>